Searched refs:fdtable (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/Documentation/filesystems/ |
D | files.txt | 25 table are in a separate structure - struct fdtable. 26 files_struct contains a pointer to struct fdtable through 28 fdtable is embedded in files_struct itself. On a subsequent 29 expansion of fdtable, a new fdtable structure is allocated 30 and files->fdtab points to the new structure. The fdtable 32 see the old fdtable or the new fdtable making the update 34 the fdtable structure - 36 1. All references to the fdtable must be done through 39 struct fdtable *fdt; 52 The fdtable pointer must be read within the read-side [all …]
|
/linux-4.4.14/fs/ |
D | file.c | 47 static void __free_fdtable(struct fdtable *fdt) in __free_fdtable() 56 __free_fdtable(container_of(rcu, struct fdtable, rcu)); in free_fdtable_rcu() 67 static void copy_fd_bitmaps(struct fdtable *nfdt, struct fdtable *ofdt, in copy_fd_bitmaps() 89 static void copy_fdtable(struct fdtable *nfdt, struct fdtable *ofdt) in copy_fdtable() 103 static struct fdtable * alloc_fdtable(unsigned int nr) in alloc_fdtable() 105 struct fdtable *fdt; in alloc_fdtable() 129 fdt = kmalloc(sizeof(struct fdtable), GFP_KERNEL); in alloc_fdtable() 169 struct fdtable *new_fdt, *cur_fdt; in expand_fdtable() 214 struct fdtable *fdt; in expand_files() 245 static inline void __set_close_on_exec(int fd, struct fdtable *fdt) in __set_close_on_exec() [all …]
|
D | select.c | 347 struct fdtable *fdt; in max_select_fd() 554 struct fdtable *fdt; in core_sys_select()
|
D | compat.c | 1241 struct fdtable *fdt; in compat_core_sys_select()
|
/linux-4.4.14/include/linux/ |
D | fdtable.h | 24 struct fdtable { struct 33 static inline bool close_on_exec(int fd, const struct fdtable *fdt) in close_on_exec() argument 38 static inline bool fd_is_open(int fd, const struct fdtable *fdt) in fd_is_open() 54 struct fdtable __rcu *fdt; 55 struct fdtable fdtab; 82 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fcheck_files()
|
/linux-4.4.14/fs/proc/ |
D | fd.c | 39 struct fdtable *fdt = files_fdtable(files); in seq_show()
|