Lines Matching refs:linux_file
83 struct linux_file { struct
116 #define file linux_file argument
138 ssize_t (*read)(struct linux_file *, char __user *, size_t, off_t *);
139 ssize_t (*write)(struct linux_file *, const char __user *, size_t, off_t *);
140 unsigned int (*poll) (struct linux_file *, struct poll_table_struct *);
141 long (*unlocked_ioctl)(struct linux_file *, unsigned int, unsigned long);
142 long (*compat_ioctl)(struct linux_file *, unsigned int, unsigned long);
143 int (*mmap)(struct linux_file *, struct vm_area_struct *);
145 int (*release)(struct inode *, struct linux_file *);
146 int (*fasync)(int, struct linux_file *, int);
152 off_t (*llseek)(struct linux_file *, off_t, int);
264 static inline struct linux_file *
265 get_file(struct linux_file *f) in get_file()
272 struct linux_file * linux_get_file_rcu(struct linux_file **f);
273 struct linux_file * get_file_active(struct linux_file **f);
276 get_file_rcu(struct linux_file *f) in get_file_rcu()
324 noop_llseek(struct linux_file *file, loff_t offset, int whence) in noop_llseek()
331 file_inode(const struct linux_file *file) in file_inode()
338 call_mmap(struct linux_file *file, struct vm_area_struct *vma) in call_mmap()