Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/filesystems/
H A Dfiles.rst28 table are in a separate structure - struct fdtable.
29 files_struct contains a pointer to struct fdtable through
31 fdtable is embedded in files_struct itself. On a subsequent
32 expansion of fdtable, a new fdtable structure is allocated
33 and files->fdtab points to the new structure. The fdtable
35 see the old fdtable or the new fdtable making the update
37 the fdtable structure -
39 1. All references to the fdtable must be done through
42 struct fdtable *fdt;
55 The fdtable pointer must be read within the read-side
[all …]
/openbmc/linux/fs/
H A Dfile.c55 static inline void copy_fd_bitmaps(struct fdtable *nfdt, struct fdtable *ofdt, in copy_fd_bitmaps()
72 static void copy_fdtable(struct fdtable *nfdt, struct fdtable *ofdt) in copy_fdtable()
103 struct fdtable *fdt; in alloc_fdtable()
214 struct fdtable *fdt; in expand_files()
485 struct fdtable *fdt; in alloc_fd()
586 struct fdtable *fdt; in fd_install()
666 struct fdtable *fdt; in __range_cloexec()
792 struct fdtable *fdt; in do_close_on_exec()
1052 struct fdtable *fdt; in set_close_on_exec()
1065 struct fdtable *fdt; in get_close_on_exec()
[all …]
H A Dselect.c425 struct fdtable *fdt; in max_select_fd()
632 struct fdtable *fdt; in core_sys_select()
1201 struct fdtable *fdt; in compat_core_sys_select()
/openbmc/linux/include/linux/
H A Dfdtable.h26 struct fdtable { struct
35 static inline bool close_on_exec(unsigned int fd, const struct fdtable *fdt) in close_on_exec() argument
40 static inline bool fd_is_open(unsigned int fd, const struct fdtable *fdt) in fd_is_open()
56 struct fdtable __rcu *fdt;
57 struct fdtable fdtab;
84 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in files_lookup_fd_raw()
/openbmc/linux/fs/proc/
H A Dfd.c42 struct fdtable *fdt = files_fdtable(files); in seq_show()
293 struct fdtable *fdt; in proc_readfd_count()
/openbmc/linux/io_uring/
H A Dopenclose.c223 struct fdtable *fdt; in io_close()