Lines Matching refs:files
22 struct files_struct *files = NULL;
31 files = get_files_struct(task);
34 if (files) {
37 spin_lock(&files->file_lock);
38 file = files_lookup_fd_locked(files, fd);
40 struct fdtable *fdt = files_fdtable(files);
49 spin_unlock(&files->file_lock);
50 put_files_struct(files);
60 show_fd_locks(m, file, files);
86 struct files_struct *files = get_files_struct(task);
89 if (!files)
93 file = fcheck_files(files, fd);
97 put_files_struct(files);
149 struct files_struct *files = NULL;
155 files = get_files_struct(task);
159 if (files) {
163 spin_lock(&files->file_lock);
164 fd_file = fcheck_files(files, fd);
170 spin_unlock(&files->file_lock);
171 put_files_struct(files);
232 struct files_struct *files;
240 files = get_files_struct(p);
241 if (!files)
246 fd < files_fdtable(files)->max_fds;
253 f = fcheck_files(files, fd);
270 put_files_struct(files);