Lines Matching refs:file_lock
166 __releases(files->file_lock) in expand_fdtable()
167 __acquires(files->file_lock) in expand_fdtable()
171 spin_unlock(&files->file_lock); in expand_fdtable()
180 spin_lock(&files->file_lock); in expand_fdtable()
211 __releases(files->file_lock) in expand_files()
212 __acquires(files->file_lock) in expand_files()
229 spin_unlock(&files->file_lock); in expand_files()
232 spin_lock(&files->file_lock); in expand_files()
303 spin_lock_init(&newf->file_lock); in dup_fd()
314 spin_lock(&oldf->file_lock); in dup_fd()
322 spin_unlock(&oldf->file_lock); in dup_fd()
345 spin_lock(&oldf->file_lock); in dup_fd()
370 spin_unlock(&oldf->file_lock); in dup_fd()
476 .file_lock = __SPIN_LOCK_UNLOCKED(init_files.file_lock),
503 spin_lock(&files->file_lock); in __alloc_fd()
550 spin_unlock(&files->file_lock); in __alloc_fd()
576 spin_lock(&files->file_lock); in put_unused_fd()
578 spin_unlock(&files->file_lock); in put_unused_fd()
639 spin_lock(&files->file_lock); in __close_fd()
649 spin_unlock(&files->file_lock); in __close_fd()
653 spin_unlock(&files->file_lock); in __close_fd()
663 spin_lock(&files->file_lock); in do_close_on_exec()
683 spin_unlock(&files->file_lock); in do_close_on_exec()
686 spin_lock(&files->file_lock); in do_close_on_exec()
690 spin_unlock(&files->file_lock); in do_close_on_exec()
796 spin_lock(&files->file_lock); in set_close_on_exec()
802 spin_unlock(&files->file_lock); in set_close_on_exec()
819 __releases(&files->file_lock) in do_dup2()
849 spin_unlock(&files->file_lock); in do_dup2()
857 spin_unlock(&files->file_lock); in do_dup2()
872 spin_lock(&files->file_lock); in replace_fd()
879 spin_unlock(&files->file_lock); in replace_fd()
898 spin_lock(&files->file_lock); in SYSCALL_DEFINE3()
913 spin_unlock(&files->file_lock); in SYSCALL_DEFINE3()
968 spin_lock(&files->file_lock); in iterate_fd()
978 spin_unlock(&files->file_lock); in iterate_fd()