Lines Matching refs:file
13 struct file;
15 extern void fput(struct file *);
16 extern void fput_many(struct file *, unsigned int);
23 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
25 extern struct file *alloc_file_clone(struct file *, int flags,
28 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument
31 fput(file); in fput_light()
35 struct file *file; member
44 fput(fd.file); in fdput()
47 extern struct file *fget(unsigned int fd);
48 extern struct file *fget_many(unsigned int fd, unsigned int refs);
49 extern struct file *fget_raw(unsigned int fd);
53 extern void __f_unlock_pos(struct file *);
57 return (struct fd){(struct file *)(v & ~3),v & 3}; in __to_fd()
78 __f_unlock_pos(f.file); in fdput_pos()
82 extern int f_dupfd(unsigned int from, struct file *file, unsigned flags);
83 extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
89 extern void fd_install(unsigned int fd, struct file *file);
92 extern void __fput_sync(struct file *);