Home
last modified time | relevance | path

Searched refs:max_fds (Results 1 – 7 of 7) sorted by relevance

/fs/
Dfile.c94 if (fdt->max_fds <= NR_OPEN_DEFAULT) { in free_fdtable_rcu()
127 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable()
129 cpy = ofdt->max_fds * sizeof(struct file *); in copy_fdtable()
130 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable()
134 cpy = ofdt->max_fds / BITS_PER_BYTE; in copy_fdtable()
135 set = (nfdt->max_fds - ofdt->max_fds) / BITS_PER_BYTE; in copy_fdtable()
171 fdt->max_fds = nr; in alloc_fdtable()
218 if (unlikely(new_fdt->max_fds <= nr)) { in expand_fdtable()
227 if (nr >= cur_fdt->max_fds) { in expand_fdtable()
231 if (cur_fdt->max_fds > NR_OPEN_DEFAULT) in expand_fdtable()
[all …]
Dselect.c525 int ret, max_fds; in core_sys_select() local
538 max_fds = fdt->max_fds; in core_sys_select()
540 if (n > max_fds) in core_sys_select()
541 n = max_fds; in core_sys_select()
Dcompat.c1447 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local
1457 max_fds = fdt->max_fds; in compat_core_sys_select()
1459 if (n > max_fds) in compat_core_sys_select()
1460 n = max_fds; in compat_core_sys_select()
Dopen.c1078 if (fd >= fdt->max_fds) in SYSCALL_DEFINE1()
Dexec.c1032 if (i >= fdt->max_fds) in flush_old_files()
/fs/proc/
Darray.c201 fdt ? fdt->max_fds : 0); in task_state()
Dbase.c1930 fd < files_fdtable(files)->max_fds; in proc_readfd_common()