Searched refs:fdt (Results 1 – 4 of 4) sorted by relevance
29 static void __free_fdtable(struct fdtable *fdt) in __free_fdtable() argument31 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() local111 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 …]
424 struct fdtable *fdt; in max_select_fd() local429 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() local638 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() local1189 fdt = files_fdtable(current->files); in compat_core_sys_select()1190 max_fds = fdt->max_fds; in compat_core_sys_select()
1789 if (close_on_exec(fd, rcu_dereference_raw(current->files->fdt))) in __do_execve_file()
40 struct fdtable *fdt = files_fdtable(files); in seq_show() local43 if (close_on_exec(fd, fdt)) in seq_show()