• Home
  • Raw
  • Download

Lines Matching defs:file_operations

331 struct file_operations {  struct
332 struct module *owner;
333 loff_t (*llseek)(struct file *, loff_t, int);
334 ssize_t (*read)(struct file *, char *, size_t, loff_t *);
335 ssize_t (*write)(struct file *, const char *, size_t, loff_t *);
336 ssize_t (*read_iter)(struct kiocb *, struct iov_iter *);
337 ssize_t (*write_iter)(struct kiocb *, struct iov_iter *);
338 int (*iopoll)(struct kiocb *, struct io_comp_batch *, unsigned int);
339 int (*iterate)(struct file *, struct dir_context *);
340 int (*iterate_shared)(struct file *, struct dir_context *);
341 __poll_t (*poll)(struct file *, struct poll_table_struct *);
342 long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int);
343 long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int);
344 int (*mmap)(struct file *, struct vm_area_struct *);
345 long unsigned int mmap_supported_flags;
346 int (*open)(struct inode *, struct file *);
347 int (*flush)(struct file *, fl_owner_t);
348 int (*release)(struct inode *, struct file *);
349 int (*fsync)(struct file *, loff_t, loff_t, int);
350 int (*fasync)(int, struct file *, int);
351 int (*lock)(struct file *, int, struct file_lock *);
352 ssize_t (*sendpage)(struct file *, struct page *, int, size_t, loff_t *, int);
353 …d_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
354 int (*check_flags)(int);
355 int (*flock)(struct file *, int, struct file_lock *);
356 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
357 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
358 int (*setlease)(struct file *, long int, struct file_lock **, void **);
359 long int (*fallocate)(struct file *, int, loff_t, loff_t);
360 void (*show_fdinfo)(struct seq_file *, struct file *);
361 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int);
362 loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned int);
363 int (*fadvise)(struct file *, loff_t, loff_t, int);