Searched refs:cur_fds (Results 1 – 1 of 1) sorted by relevance
689 static inline void __range_cloexec(struct files_struct *cur_fds, in __range_cloexec() argument695 spin_lock(&cur_fds->file_lock); in __range_cloexec()696 fdt = files_fdtable(cur_fds); in __range_cloexec()700 spin_unlock(&cur_fds->file_lock); in __range_cloexec()703 static inline void __range_close(struct files_struct *cur_fds, unsigned int fd, in __range_close() argument709 file = pick_file(cur_fds, fd++); in __range_close()712 filp_close(file, cur_fds); in __range_close()735 struct files_struct *cur_fds = me->files, *fds = NULL; in __close_range() local759 if (max_fd >= last_fd(files_fdtable(cur_fds))) in __close_range()773 swap(cur_fds, fds); in __close_range()[all …]