Lines Matching defs:file_operations
285 struct file_operations { struct
286 struct module *owner;
287 loff_t (*llseek)(struct file *, loff_t, int);
288 ssize_t (*read)(struct file *, char *, size_t, loff_t *);
289 ssize_t (*write)(struct file *, const char *, size_t, loff_t *);
290 ssize_t (*read_iter)(struct kiocb *, struct iov_iter *);
291 ssize_t (*write_iter)(struct kiocb *, struct iov_iter *);
292 int (*iopoll)(struct kiocb *, bool);
293 int (*iterate)(struct file *, struct dir_context *);
294 int (*iterate_shared)(struct file *, struct dir_context *);
295 __poll_t (*poll)(struct file *, struct poll_table_struct *);
296 long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int);
297 long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int);
298 int (*mmap)(struct file *, struct vm_area_struct *);
299 long unsigned int mmap_supported_flags;
300 int (*open)(struct inode *, struct file *);
301 int (*flush)(struct file *, fl_owner_t);
302 int (*release)(struct inode *, struct file *);
303 int (*fsync)(struct file *, loff_t, loff_t, int);
304 int (*fasync)(int, struct file *, int);
305 int (*lock)(struct file *, int, struct file_lock *);
306 ssize_t (*sendpage)(struct file *, struct page *, int, size_t, loff_t *, int);
307 …d_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
308 int (*check_flags)(int);
309 int (*flock)(struct file *, int, struct file_lock *);
310 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
311 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
312 int (*setlease)(struct file *, long int, struct file_lock **, void **);
313 long int (*fallocate)(struct file *, int, loff_t, loff_t);
314 void (*show_fdinfo)(struct seq_file *, struct file *);
315 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int);
316 loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned int);
317 int (*fadvise)(struct file *, loff_t, loff_t, int);