Home
last modified time | relevance | path

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

/Linux-v6.6/fs/
Dfile.c682 static inline void __range_cloexec(struct files_struct *cur_fds, in __range_cloexec() argument
688 spin_lock(&cur_fds->file_lock); in __range_cloexec()
689 fdt = files_fdtable(cur_fds); in __range_cloexec()
693 spin_unlock(&cur_fds->file_lock); in __range_cloexec()
735 struct files_struct *cur_fds = me->files, *fds = NULL; in __close_range() local
759 if (max_fd >= last_fd(files_fdtable(cur_fds))) in __close_range()
773 swap(cur_fds, fds); in __close_range()
777 __range_cloexec(cur_fds, fd, max_fd); in __close_range()
779 __range_close(cur_fds, fd, max_fd); in __close_range()
787 me->files = cur_fds; in __close_range()