Lines Matching full:file
37 struct file ** fd; /* current fd array */
46 * Open file table structure
62 struct file * fd_array[NR_OPEN_DEFAULT];
67 extern void FASTCALL(__fput(struct file *));
68 extern void FASTCALL(fput(struct file *));
70 static inline void fput_light(struct file *file, int fput_needed)
73 fput(file);
76 extern struct file * FASTCALL(fget(unsigned int fd));
77 extern struct file * FASTCALL(fget_light(unsigned int fd, int *fput_needed));
79 extern void put_filp(struct file *);
84 extern struct file ** alloc_fd_array(int);
85 extern void free_fd_array(struct file **, int);
94 static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd)
96 struct file * file = NULL;
100 file = rcu_dereference(fdt->fd[fd]);
101 return file;
105 * Check whether the specified fd has an open file.
109 extern void FASTCALL(fd_install(unsigned int fd, struct file * file));