Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A Dfile.c663 static inline void __range_cloexec(struct files_struct *cur_fds, in __range_cloexec() argument
669 spin_lock(&cur_fds->file_lock); in __range_cloexec()
670 fdt = files_fdtable(cur_fds); in __range_cloexec()
674 spin_unlock(&cur_fds->file_lock); in __range_cloexec()
716 struct files_struct *cur_fds = me->files, *fds = NULL; in __close_range() local
724 if ((flags & CLOSE_RANGE_UNSHARE) && atomic_read(&cur_fds->count) > 1) { in __close_range()
735 fds = dup_fd(cur_fds, punch_hole); in __close_range()
742 swap(cur_fds, fds); in __close_range()
746 __range_cloexec(cur_fds, fd, max_fd); in __close_range()
748 __range_close(cur_fds, fd, max_fd); in __close_range()
[all …]