Lines Matching refs:file
13 struct file;
15 extern void fput(struct file *);
22 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
24 extern struct file *alloc_file_clone(struct file *, int flags,
27 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument
30 fput(file); in fput_light()
34 struct file *file; member
43 fput(fd.file); in fdput()
46 extern struct file *fget(unsigned int fd);
47 extern struct file *fget_raw(unsigned int fd);
51 extern void __f_unlock_pos(struct file *);
55 return (struct fd){(struct file *)(v & ~3),v & 3}; in __to_fd()
76 __f_unlock_pos(f.file); in fdput_pos()
80 extern int f_dupfd(unsigned int from, struct file *file, unsigned flags);
81 extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
87 extern void fd_install(unsigned int fd, struct file *file);
90 extern void __fput_sync(struct file *);