Home
last modified time | relevance | path

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

/fs/
Dfile.c51 if (fdt->max_fds <= (PAGE_SIZE / sizeof(struct file *))) in free_fdarr()
59 if (fdt->max_fds <= (PAGE_SIZE * BITS_PER_BYTE / 2)) in free_fdset()
91 if (fdt->max_fds <= NR_OPEN_DEFAULT) { in free_fdtable_rcu()
100 if (fdt->max_fds <= (PAGE_SIZE / sizeof(struct file *))) { in free_fdtable_rcu()
124 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable()
126 cpy = ofdt->max_fds * sizeof(struct file *); in copy_fdtable()
127 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable()
131 cpy = ofdt->max_fds / BITS_PER_BYTE; in copy_fdtable()
132 set = (nfdt->max_fds - ofdt->max_fds) / BITS_PER_BYTE; in copy_fdtable()
168 fdt->max_fds = nr; in alloc_fdtable()
[all …]
Dselect.c490 int ret, max_fds; in core_sys_select() local
503 max_fds = fdt->max_fds; in core_sys_select()
505 if (n > max_fds) in core_sys_select()
506 n = max_fds; in core_sys_select()
Dcompat.c1621 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local
1631 max_fds = fdt->max_fds; in compat_core_sys_select()
1633 if (n > max_fds) in compat_core_sys_select()
1634 n = max_fds; in compat_core_sys_select()
Dopen.c1127 if (fd >= fdt->max_fds) in SYSCALL_DEFINE1()
Dexec.c916 if (i >= fdt->max_fds) in flush_old_files()
/fs/proc/
Darray.c196 fdt ? fdt->max_fds : 0); in task_state()
Dbase.c1866 fd < files_fdtable(files)->max_fds; in proc_readfd_common()