Searched refs:cur_fds (Results 1 – 1 of 1) sorted by relevance
724 static inline void __range_cloexec(struct files_struct *cur_fds, in __range_cloexec() argument730 spin_lock(&cur_fds->file_lock); in __range_cloexec()731 fdt = files_fdtable(cur_fds); in __range_cloexec()735 spin_unlock(&cur_fds->file_lock); in __range_cloexec()779 struct files_struct *cur_fds = me->files, *fds = NULL; in SYSCALL_DEFINE3() local787 if ((flags & CLOSE_RANGE_UNSHARE) && atomic_read(&cur_fds->count) > 1) { in SYSCALL_DEFINE3()798 fds = dup_fd(cur_fds, punch_hole); in SYSCALL_DEFINE3()805 swap(cur_fds, fds); in SYSCALL_DEFINE3()809 __range_cloexec(cur_fds, fd, max_fd); in SYSCALL_DEFINE3()811 __range_close(cur_fds, fd, max_fd); in SYSCALL_DEFINE3()[all …]