Lines Matching defs:file_operations
1878 struct file_operations { struct
1879 struct module *owner;
1880 loff_t (*llseek) (struct file *, loff_t, int);
1881 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
1882 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
1883 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
1884 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
1885 int (*iopoll)(struct kiocb *kiocb, bool spin);
1886 int (*iterate) (struct file *, struct dir_context *);
1887 int (*iterate_shared) (struct file *, struct dir_context *);
1888 __poll_t (*poll) (struct file *, struct poll_table_struct *);
1889 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
1890 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
1891 int (*mmap) (struct file *, struct vm_area_struct *);
1892 unsigned long mmap_supported_flags;
1893 int (*open) (struct inode *, struct file *);
1894 int (*flush) (struct file *, fl_owner_t id);
1895 int (*release) (struct inode *, struct file *);
1896 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
1897 int (*fasync) (int, struct file *, int);
1898 int (*lock) (struct file *, int, struct file_lock *);
1899 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
1900 …ng (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
1901 int (*check_flags)(int);
1902 int (*flock) (struct file *, int, struct file_lock *);
1903 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1904 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1905 int (*setlease)(struct file *, long, struct file_lock **, void **);
1906 long (*fallocate)(struct file *file, int mode, loff_t offset,
1908 void (*show_fdinfo)(struct seq_file *m, struct file *f);
1910 unsigned (*mmap_capabilities)(struct file *);
1912 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
1914 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
1917 int (*fadvise)(struct file *, loff_t, loff_t, int);