Lines Matching defs:file_operations

2071 struct file_operations {  struct
2072 struct module *owner;
2073 loff_t (*llseek) (struct file *, loff_t, int);
2074 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
2075 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
2076 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
2077 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
2078 int (*iopoll)(struct kiocb *kiocb, bool spin);
2079 int (*iterate) (struct file *, struct dir_context *);
2080 int (*iterate_shared) (struct file *, struct dir_context *);
2081 __poll_t (*poll) (struct file *, struct poll_table_struct *);
2082 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
2083 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
2084 int (*mmap) (struct file *, struct vm_area_struct *);
2085 unsigned long mmap_supported_flags;
2086 int (*open) (struct inode *, struct file *);
2087 int (*flush) (struct file *, fl_owner_t id);
2088 int (*release) (struct inode *, struct file *);
2089 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
2090 int (*fasync) (int, struct file *, int);
2091 int (*lock) (struct file *, int, struct file_lock *);
2092 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
2093 …ng (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
2094 int (*check_flags)(int);
2095 int (*flock) (struct file *, int, struct file_lock *);
2096 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
2097 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
2098 int (*setlease)(struct file *, long, struct file_lock **, void **);
2099 long (*fallocate)(struct file *file, int mode, loff_t offset,
2101 void (*show_fdinfo)(struct seq_file *m, struct file *f);
2103 unsigned (*mmap_capabilities)(struct file *);
2105 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
2107 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
2110 int (*fadvise)(struct file *, loff_t, loff_t, int);