Lines Matching refs:file
12 struct file;
14 extern void fput(struct file *);
20 extern struct file *alloc_file(struct path *, fmode_t mode,
23 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument
26 fput(file); in fput_light()
30 struct file *file; member
39 fput(fd.file); in fdput()
42 extern struct file *fget(unsigned int fd);
43 extern struct file *fget_raw(unsigned int fd);
50 return (struct fd){(struct file *)(v & ~3),v & 3}; in __to_fd()
63 extern int f_dupfd(unsigned int from, struct file *file, unsigned flags);
64 extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
67 extern void put_filp(struct file *);
71 extern void fd_install(unsigned int fd, struct file *file);
74 extern void __fput_sync(struct file *);