Home
last modified time | relevance | path

Searched refs:cur_fds (Results 1 – 1 of 1) sorted by relevance

/linux/fs/
H A Dfile.c835 static inline void __range_cloexec(struct files_struct *cur_fds, in __range_cloexec() argument
841 spin_lock(&cur_fds->file_lock); in __range_cloexec()
842 fdt = files_fdtable(cur_fds); in __range_cloexec()
857 spin_unlock(&cur_fds->file_lock); in __range_cloexec()
958 struct files_struct *cur_fds = me->files, *fds = NULL; in SYSCALL_DEFINE3() local
978 if ((flags & CLOSE_RANGE_UNSHARE) && atomic_read(&cur_fds->count) > 1) { in SYSCALL_DEFINE3()
989 fds = dup_fd(cur_fds, drop); in SYSCALL_DEFINE3()
996 swap(cur_fds, fds); in SYSCALL_DEFINE3()
1000 __range_cloexec(cur_fds, &range); in SYSCALL_DEFINE3()
1003 __range_close(cur_fds, &range); in SYSCALL_DEFINE3()
[all …]