Lines Matching defs:file_operations
1598 struct file_operations { struct
1599 struct module *owner;
1600 loff_t (*llseek) (struct file *, loff_t, int);
1601 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
1602 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
1603 ssize_t (*aio_read) (struct kiocb *, const struct iovec *, unsigned long, loff_t);
1604 ssize_t (*aio_write) (struct kiocb *, const struct iovec *, unsigned long, loff_t);
1605 int (*readdir) (struct file *, void *, filldir_t);
1606 unsigned int (*poll) (struct file *, struct poll_table_struct *);
1607 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
1608 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
1609 int (*mmap) (struct file *, struct vm_area_struct *);
1610 int (*open) (struct inode *, struct file *);
1611 int (*flush) (struct file *, fl_owner_t id);
1612 int (*release) (struct inode *, struct file *);
1613 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
1614 int (*aio_fsync) (struct kiocb *, int datasync);
1615 int (*fasync) (int, struct file *, int);
1616 int (*lock) (struct file *, int, struct file_lock *);
1617 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
1618 …ng (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
1619 int (*check_flags)(int);
1620 int (*flock) (struct file *, int, struct file_lock *);
1621 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1622 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1623 int (*setlease)(struct file *, long, struct file_lock **);
1624 long (*fallocate)(struct file *file, int mode, loff_t offset,