Lines Matching defs:file_operations
1814 struct file_operations { struct
1815 struct module *owner;
1816 loff_t (*llseek) (struct file *, loff_t, int);
1817 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
1818 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
1819 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
1820 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
1821 int (*iopoll)(struct kiocb *kiocb, bool spin);
1822 int (*iterate) (struct file *, struct dir_context *);
1823 int (*iterate_shared) (struct file *, struct dir_context *);
1824 __poll_t (*poll) (struct file *, struct poll_table_struct *);
1825 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
1826 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
1827 int (*mmap) (struct file *, struct vm_area_struct *);
1828 unsigned long mmap_supported_flags;
1829 int (*open) (struct inode *, struct file *);
1830 int (*flush) (struct file *, fl_owner_t id);
1831 int (*release) (struct inode *, struct file *);
1832 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
1833 int (*fasync) (int, struct file *, int);
1834 int (*lock) (struct file *, int, struct file_lock *);
1835 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
1836 …ng (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
1837 int (*check_flags)(int);
1838 int (*flock) (struct file *, int, struct file_lock *);
1839 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1840 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1841 int (*setlease)(struct file *, long, struct file_lock **, void **);
1842 long (*fallocate)(struct file *file, int mode, loff_t offset,
1844 void (*show_fdinfo)(struct seq_file *m, struct file *f);
1846 unsigned (*mmap_capabilities)(struct file *);
1848 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
1850 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
1853 int (*fadvise)(struct file *, loff_t, loff_t, int);