Lines Matching refs:files
30 struct files_struct *files = current->files; in set_close_on_exec() local
32 spin_lock(&files->file_lock); in set_close_on_exec()
33 fdt = files_fdtable(files); in set_close_on_exec()
38 spin_unlock(&files->file_lock); in set_close_on_exec()
43 struct files_struct *files = current->files; in get_close_on_exec() local
47 fdt = files_fdtable(files); in get_close_on_exec()
57 struct files_struct * files = current->files; in SYSCALL_DEFINE3() local
66 spin_lock(&files->file_lock); in SYSCALL_DEFINE3()
67 err = expand_files(files, newfd); in SYSCALL_DEFINE3()
91 fdt = files_fdtable(files); in SYSCALL_DEFINE3()
102 spin_unlock(&files->file_lock); in SYSCALL_DEFINE3()
105 filp_close(tofree, files); in SYSCALL_DEFINE3()
112 spin_unlock(&files->file_lock); in SYSCALL_DEFINE3()
119 struct files_struct *files = current->files; in SYSCALL_DEFINE2() local
121 if (!fcheck_files(files, oldfd)) in SYSCALL_DEFINE2()