Lines Matching refs:file_lock
154 __releases(files->file_lock) in expand_fdtable()
155 __acquires(files->file_lock) in expand_fdtable()
159 spin_unlock(&files->file_lock); in expand_fdtable()
168 spin_lock(&files->file_lock); in expand_fdtable()
199 __releases(files->file_lock) in expand_files()
200 __acquires(files->file_lock) in expand_files()
217 spin_unlock(&files->file_lock); in expand_files()
220 spin_lock(&files->file_lock); in expand_files()
301 spin_lock_init(&newf->file_lock); in dup_fd()
312 spin_lock(&oldf->file_lock); in dup_fd()
320 spin_unlock(&oldf->file_lock); in dup_fd()
343 spin_lock(&oldf->file_lock); in dup_fd()
368 spin_unlock(&oldf->file_lock); in dup_fd()
449 .file_lock = __SPIN_LOCK_UNLOCKED(init_files.file_lock),
477 spin_lock(&files->file_lock); in alloc_fd()
524 spin_unlock(&files->file_lock); in alloc_fd()
550 spin_lock(&files->file_lock); in put_unused_fd()
552 spin_unlock(&files->file_lock); in put_unused_fd()
582 spin_lock(&files->file_lock); in fd_install()
586 spin_unlock(&files->file_lock); in fd_install()
614 spin_lock(&files->file_lock); in pick_file()
629 spin_unlock(&files->file_lock); in pick_file()
665 spin_lock(&cur_fds->file_lock); in __range_cloexec()
670 spin_unlock(&cur_fds->file_lock); in __range_cloexec()
801 spin_lock(&files->file_lock); in close_fd_get_file()
803 spin_unlock(&files->file_lock); in close_fd_get_file()
814 spin_lock(&files->file_lock); in do_close_on_exec()
834 spin_unlock(&files->file_lock); in do_close_on_exec()
837 spin_lock(&files->file_lock); in do_close_on_exec()
841 spin_unlock(&files->file_lock); in do_close_on_exec()
1011 spin_lock(&files->file_lock); in set_close_on_exec()
1017 spin_unlock(&files->file_lock); in set_close_on_exec()
1034 __releases(&files->file_lock) in do_dup2()
1064 spin_unlock(&files->file_lock); in do_dup2()
1072 spin_unlock(&files->file_lock); in do_dup2()
1087 spin_lock(&files->file_lock); in replace_fd()
1094 spin_unlock(&files->file_lock); in replace_fd()
1174 spin_lock(&files->file_lock); in ksys_dup3()
1189 spin_unlock(&files->file_lock); in ksys_dup3()
1250 spin_lock(&files->file_lock); in iterate_fd()
1260 spin_unlock(&files->file_lock); in iterate_fd()