• Home
  • Raw
  • Download

Lines Matching defs:file_operations

1582 struct file_operations {  struct
1583 struct module *owner;
1584 loff_t (*llseek)(struct file *, loff_t, int);
1585 ssize_t (*read)(struct file *, char *, size_t, loff_t *);
1586 ssize_t (*write)(struct file *, const char *, size_t, loff_t *);
1587 ssize_t (*read_iter)(struct kiocb *, struct iov_iter *);
1588 ssize_t (*write_iter)(struct kiocb *, struct iov_iter *);
1589 int (*iopoll)(struct kiocb *, struct io_comp_batch *, unsigned int);
1590 int (*iterate_shared)(struct file *, struct dir_context *);
1591 __poll_t (*poll)(struct file *, struct poll_table_struct *);
1592 long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int);
1593 long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int);
1594 int (*mmap)(struct file *, struct vm_area_struct *);
1595 long unsigned int mmap_supported_flags;
1596 int (*open)(struct inode *, struct file *);
1597 int (*flush)(struct file *, fl_owner_t);
1598 int (*release)(struct inode *, struct file *);
1599 int (*fsync)(struct file *, loff_t, loff_t, int);
1600 int (*fasync)(int, struct file *, int);
1601 int (*lock)(struct file *, int, struct file_lock *);
1602 …d_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1603 int (*check_flags)(int);
1604 int (*flock)(struct file *, int, struct file_lock *);
1605 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1606 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1607 void (*splice_eof)(struct file *);
1608 int (*setlease)(struct file *, int, struct file_lease **, void **);
1609 long int (*fallocate)(struct file *, int, loff_t, loff_t);
1610 void (*show_fdinfo)(struct seq_file *, struct file *);
1611 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int);
1612 loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned int);
1613 int (*fadvise)(struct file *, loff_t, loff_t, int);
1614 int (*uring_cmd)(struct io_uring_cmd *, unsigned int);
1615 int (*uring_cmd_iopoll)(struct io_uring_cmd *, struct io_comp_batch *, unsigned int);