Home
last modified time | relevance | path

Searched refs:fdt (Results 1 – 4 of 4) sorted by relevance

/fs/
Dfile.c29 static void __free_fdtable(struct fdtable *fdt) in __free_fdtable() argument
31 kvfree(fdt->fd); in __free_fdtable()
32 kvfree(fdt->open_fds); in __free_fdtable()
33 kfree(fdt); in __free_fdtable()
87 struct fdtable *fdt; in alloc_fdtable() local
111 fdt = kmalloc(sizeof(struct fdtable), GFP_KERNEL_ACCOUNT); in alloc_fdtable()
112 if (!fdt) in alloc_fdtable()
114 fdt->max_fds = nr; in alloc_fdtable()
118 fdt->fd = data; in alloc_fdtable()
125 fdt->open_fds = data; in alloc_fdtable()
[all …]
Dselect.c424 struct fdtable *fdt; in max_select_fd() local
429 fdt = files_fdtable(current->files); in max_select_fd()
430 open_fds = fdt->open_fds + n; in max_select_fd()
628 struct fdtable *fdt; in core_sys_select() local
638 fdt = files_fdtable(current->files); in core_sys_select()
639 max_fds = fdt->max_fds; in core_sys_select()
1181 struct fdtable *fdt; in compat_core_sys_select() local
1189 fdt = files_fdtable(current->files); in compat_core_sys_select()
1190 max_fds = fdt->max_fds; in compat_core_sys_select()
Dexec.c1789 if (close_on_exec(fd, rcu_dereference_raw(current->files->fdt))) in __do_execve_file()
/fs/proc/
Dfd.c40 struct fdtable *fdt = files_fdtable(files); in seq_show() local
43 if (close_on_exec(fd, fdt)) in seq_show()