Searched refs:cur_fds (Results 1 – 1 of 1) sorted by relevance
739 static inline void __range_cloexec(struct files_struct *cur_fds, in __range_cloexec() argument745 spin_lock(&cur_fds->file_lock); in __range_cloexec()746 fdt = files_fdtable(cur_fds); in __range_cloexec()750 spin_unlock(&cur_fds->file_lock); in __range_cloexec()794 struct files_struct *cur_fds = me->files, *fds = NULL; in SYSCALL_DEFINE3() local802 if ((flags & CLOSE_RANGE_UNSHARE) && atomic_read(&cur_fds->count) > 1) { in SYSCALL_DEFINE3()813 fds = dup_fd(cur_fds, punch_hole); in SYSCALL_DEFINE3()820 swap(cur_fds, fds); in SYSCALL_DEFINE3()824 __range_cloexec(cur_fds, fd, max_fd); in SYSCALL_DEFINE3()826 __range_close(cur_fds, fd, max_fd); in SYSCALL_DEFINE3()[all …]