Lines Matching full:file
16 struct file;
18 extern void fput(struct file *);
26 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
28 extern struct file *alloc_file_pseudo_noaccount(struct inode *, struct vfsmount *,
30 extern struct file *alloc_file_clone(struct file *, int flags,
33 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument
36 fput(file); in fput_light()
39 /* either a reference to struct file + flags
50 #define fd_file(f) ((struct file *)((f).word & ~(FDPUT_FPUT|FDPUT_POS_UNLOCK)))
57 static inline struct fd BORROWED_FD(struct file *f) in BORROWED_FD()
61 static inline struct fd CLONED_FD(struct file *f) in CLONED_FD()
72 extern struct file *fget(unsigned int fd);
73 extern struct file *fget_raw(unsigned int fd);
74 extern struct file *fget_task(struct task_struct *task, unsigned int fd);
75 extern void __f_unlock_pos(struct file *);
91 extern int f_dupfd(unsigned int from, struct file *file, unsigned flags);
92 extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
101 DEFINE_FREE(fput, struct file *, if (!IS_ERR_OR_NULL(_T)) fput(_T))
108 * struct file *f;
123 extern void fd_install(unsigned int fd, struct file *file);
125 int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags);
127 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags);
130 extern void __fput_sync(struct file *);