Lines Matching refs:filep
127 int (*open)(struct file *filep);
134 int (*close)(struct file *filep);
135 ssize_t (*read)(struct file *filep, char *buffer, size_t buflen);
136 ssize_t (*write)(struct file *filep, const char *buffer, size_t buflen);
137 off_t (*seek)(struct file *filep, off_t offset, int whence);
138 int (*ioctl)(struct file *filep, int cmd, unsigned long arg);
139 int (*mmap)(struct file* filep, struct VmMapRegion *region);
142 int (*poll)(struct file *filep, poll_table *fds);
143 int (*stat)(struct file *filep, struct stat* st);
144 int (*fallocate)(struct file* filep, int mode, off_t offset, off_t len);
145 int (*fallocate64)(struct file *filep, int mode, off64_t offset, off64_t len);
146 int (*fsync)(struct file *filep);
147 ssize_t (*readpage)(struct file *filep, char *buffer, size_t buflen);
151 void file_hold(struct file *filep);
152 void file_release(struct file *filep);
237 int file_dup(struct file *filep, int minfd);
316 * filep - The location to return the struct file instance
325 int fs_getfilep(int fd, struct file **filep);
341 * filep - File structure instance
352 ssize_t file_read(struct file *filep, void *buf, size_t nbytes);
366 ssize_t file_write(struct file *filep, const void *buf, size_t nbytes);
380 ssize_t file_pread(struct file *filep, void *buf, size_t nbytes,
395 ssize_t file_pwrite(struct file *filep, const void *buf,
410 off_t file_seek(struct file *filep, off_t offset, int whence);
424 int file_fsync(struct file *filep);
435 * filep - Instance for struct file for the opened file.
447 int file_vfcntl(struct file *filep, int cmd, va_list ap);
461 off64_t file_seek64(struct file *filep, off64_t offset, int whence);