Home
last modified time | relevance | path

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

/Linux-v6.1/fs/
Dfile.c681 static inline void __range_cloexec(struct files_struct *cur_fds, in __range_cloexec() argument
687 spin_lock(&cur_fds->file_lock); in __range_cloexec()
688 fdt = files_fdtable(cur_fds); in __range_cloexec()
692 spin_unlock(&cur_fds->file_lock); in __range_cloexec()
695 static inline void __range_close(struct files_struct *cur_fds, unsigned int fd, in __range_close() argument
701 n = last_fd(files_fdtable(cur_fds)); in __range_close()
708 spin_lock(&cur_fds->file_lock); in __range_close()
709 file = pick_file(cur_fds, fd++); in __range_close()
710 spin_unlock(&cur_fds->file_lock); in __range_close()
714 filp_close(file, cur_fds); in __range_close()
[all …]