Lines Matching defs:fd

302 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt,  in __set_close_on_exec()
313 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt, bool set) in __set_open_fd()
322 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd()
330 static inline bool fd_is_open(unsigned int fd, const struct fdtable *fdt) in fd_is_open()
553 unsigned int fd; in alloc_fd() local
605 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
613 void put_unused_fd(unsigned int fd) in put_unused_fd()
639 void fd_install(unsigned int fd, struct file *file) in fd_install()
679 struct file *file_close_fd_locked(struct files_struct *files, unsigned fd) in file_close_fd_locked()
698 int close_fd(unsigned fd) in close_fd()
727 unsigned int fd, unsigned int max_fd) in __range_cloexec()
740 static inline void __range_close(struct files_struct *files, unsigned int fd, in __range_close()
777 SYSCALL_DEFINE3(close_range, unsigned int, fd, unsigned int, max_fd, in SYSCALL_DEFINE3() argument
837 struct file *file_close_fd(unsigned int fd) in file_close_fd()
858 unsigned fd = i * BITS_PER_LONG; in do_close_on_exec() local
977 unsigned int fd, fmode_t mask) in __fget_files_rcu()
1052 static struct file *__fget_files(struct files_struct *files, unsigned int fd, in __fget_files()
1064 static inline struct file *__fget(unsigned int fd, fmode_t mask) in __fget()
1069 struct file *fget(unsigned int fd) in fget()
1075 struct file *fget_raw(unsigned int fd) in fget_raw()
1081 struct file *fget_task(struct task_struct *task, unsigned int fd) in fget_task()
1097 unsigned int fd = *ret_fd; in fget_task_next() local
1140 static inline struct fd __fget_light(unsigned int fd, fmode_t mask) in __fget_light()
1166 struct fd fdget(unsigned int fd) in fdget()
1172 struct fd fdget_raw(unsigned int fd) in fdget_raw()
1193 struct fd fdget_pos(unsigned int fd) in fdget_pos()
1216 void set_close_on_exec(unsigned int fd, int flag) in set_close_on_exec()
1224 bool get_close_on_exec(unsigned int fd) in get_close_on_exec()
1234 struct file *file, unsigned fd, unsigned flags) in do_dup2()
1266 int replace_fd(unsigned fd, struct file *file, unsigned flags) in replace_fd()