Lines Matching refs:file
14 struct file;
16 extern void fput(struct file *);
24 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
26 extern struct file *alloc_file_clone(struct file *, int flags,
29 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument
32 fput(file); in fput_light()
36 struct file *file; member
45 fput(fd.file); in fdput()
48 extern struct file *fget(unsigned int fd);
49 extern struct file *fget_raw(unsigned int fd);
50 extern struct file *fget_task(struct task_struct *task, unsigned int fd);
54 extern void __f_unlock_pos(struct file *);
58 return (struct fd){(struct file *)(v & ~3),v & 3}; in __to_fd()
79 __f_unlock_pos(f.file); in fdput_pos()
83 extern int f_dupfd(unsigned int from, struct file *file, unsigned flags);
84 extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
91 extern void fd_install(unsigned int fd, struct file *file);
93 extern int __receive_fd(struct file *file, int __user *ufd,
96 extern int receive_fd(struct file *file, unsigned int o_flags);
98 static inline int receive_fd_user(struct file *file, int __user *ufd, in receive_fd_user() argument
103 return __receive_fd(file, ufd, o_flags); in receive_fd_user()
105 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags);
108 extern void __fput_sync(struct file *);