Lines Matching defs:file_operations
1589 struct file_operations { struct
1590 struct module *owner;
1591 loff_t (*llseek) (struct file *, loff_t, int);
1592 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
1593 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
1594 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
1595 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
1596 int (*iterate) (struct file *, struct dir_context *);
1597 unsigned int (*poll) (struct file *, struct poll_table_struct *);
1598 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
1599 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
1600 int (*mmap) (struct file *, struct vm_area_struct *);
1601 int (*mremap)(struct file *, struct vm_area_struct *);
1602 int (*open) (struct inode *, struct file *);
1603 int (*flush) (struct file *, fl_owner_t id);
1604 int (*release) (struct inode *, struct file *);
1605 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
1606 int (*aio_fsync) (struct kiocb *, int datasync);
1607 int (*fasync) (int, struct file *, int);
1608 int (*lock) (struct file *, int, struct file_lock *);
1609 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
1610 …ng (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
1611 int (*check_flags)(int);
1612 int (*flock) (struct file *, int, struct file_lock *);
1613 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1614 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1615 int (*setlease)(struct file *, long, struct file_lock **, void **);
1616 long (*fallocate)(struct file *file, int mode, loff_t offset,
1618 void (*show_fdinfo)(struct seq_file *m, struct file *f);
1620 unsigned (*mmap_capabilities)(struct file *);