Lines Matching defs:fd
228 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt) in __set_close_on_exec()
233 static inline void __clear_close_on_exec(unsigned int fd, struct fdtable *fdt) in __clear_close_on_exec()
239 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt) in __set_open_fd()
247 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd()
483 unsigned int fd; in __alloc_fd() local
549 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
557 void put_unused_fd(unsigned int fd) in put_unused_fd()
587 void __fd_install(struct files_struct *files, unsigned int fd, in __fd_install()
611 void fd_install(unsigned int fd, struct file *file) in fd_install()
621 int __close_fd(struct files_struct *files, unsigned fd) in __close_fd()
647 int __close_fd_get_file(unsigned int fd, struct file **res) in __close_fd_get_file()
682 unsigned fd = i * BITS_PER_LONG; in do_close_on_exec() local
709 static struct file *__fget(unsigned int fd, fmode_t mask, unsigned int refs) in __fget()
732 struct file *fget_many(unsigned int fd, unsigned int refs) in fget_many()
737 struct file *fget(unsigned int fd) in fget()
743 struct file *fget_raw(unsigned int fd) in fget_raw()
765 static unsigned long __fget_light(unsigned int fd, fmode_t mask) in __fget_light()
782 unsigned long __fdget(unsigned int fd) in __fdget()
788 unsigned long __fdget_raw(unsigned int fd) in __fdget_raw()
793 unsigned long __fdget_pos(unsigned int fd) in __fdget_pos()
818 void set_close_on_exec(unsigned int fd, int flag) in set_close_on_exec()
831 bool get_close_on_exec(unsigned int fd) in get_close_on_exec()
844 struct file *file, unsigned fd, unsigned flags) in do_dup2()
887 int replace_fd(unsigned fd, struct file *file, unsigned flags) in replace_fd()