Lines Matching defs:file_operations
199 struct file_operations { struct
200 struct module *owner;
201 loff_t (*llseek)(struct file *, loff_t, int);
202 ssize_t (*read)(struct file *, char *, size_t, loff_t *);
203 ssize_t (*write)(struct file *, const char *, size_t, loff_t *);
204 ssize_t (*read_iter)(struct kiocb *, struct iov_iter *);
205 ssize_t (*write_iter)(struct kiocb *, struct iov_iter *);
206 int (*iopoll)(struct kiocb *, bool);
207 int (*iterate)(struct file *, struct dir_context *);
208 int (*iterate_shared)(struct file *, struct dir_context *);
209 __poll_t (*poll)(struct file *, struct poll_table_struct *);
210 long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int);
211 long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int);
212 int (*mmap)(struct file *, struct vm_area_struct *);
213 long unsigned int mmap_supported_flags;
214 int (*open)(struct inode *, struct file *);
215 int (*flush)(struct file *, fl_owner_t);
216 int (*release)(struct inode *, struct file *);
217 int (*fsync)(struct file *, loff_t, loff_t, int);
218 int (*fasync)(int, struct file *, int);
219 int (*lock)(struct file *, int, struct file_lock *);
220 ssize_t (*sendpage)(struct file *, struct page *, int, size_t, loff_t *, int);
221 …d_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
222 int (*check_flags)(int);
223 int (*flock)(struct file *, int, struct file_lock *);
224 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
225 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
226 int (*setlease)(struct file *, long int, struct file_lock **, void **);
227 long int (*fallocate)(struct file *, int, loff_t, loff_t);
228 void (*show_fdinfo)(struct seq_file *, struct file *);
229 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int);
230 loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned int);
231 int (*fadvise)(struct file *, loff_t, loff_t, int);