Home
last modified time | relevance | path

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

/linux-6.12.1/fs/
Dfile.c675 static inline void __range_cloexec(struct files_struct *cur_fds, in __range_cloexec() argument
681 spin_lock(&cur_fds->file_lock); in __range_cloexec()
682 fdt = files_fdtable(cur_fds); in __range_cloexec()
686 spin_unlock(&cur_fds->file_lock); in __range_cloexec()
728 struct files_struct *cur_fds = me->files, *fds = NULL; in __close_range() local
736 if ((flags & CLOSE_RANGE_UNSHARE) && atomic_read(&cur_fds->count) > 1) { in __close_range()
747 fds = dup_fd(cur_fds, punch_hole); in __close_range()
754 swap(cur_fds, fds); in __close_range()
758 __range_cloexec(cur_fds, fd, max_fd); in __close_range()
760 __range_close(cur_fds, fd, max_fd); in __close_range()
[all …]