Searched refs:max_fds (Results 1 – 15 of 15) sorted by relevance
94 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 …]
523 int ret, max_fds; in core_sys_select() local536 max_fds = fdt->max_fds; in core_sys_select()538 if (n > max_fds) in core_sys_select()539 n = max_fds; in core_sys_select()
1447 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local1457 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()
1078 if (fd >= fdt->max_fds) in SYSCALL_DEFINE1()
1032 if (i >= fdt->max_fds) in flush_old_files()
25 unsigned int max_fds; member110 if (fd < fdt->max_fds) in fcheck_files()
124 for (; *fd < fdt->max_fds; (*fd)++) { in coredump_next_context()
327 if (i >= fdt->max_fds) in sp_cleanup()
45 if (n <= fdt->max_fds)
201 fdt ? fdt->max_fds : 0); in task_state()
1930 fd < files_fdtable(files)->max_fds; in proc_readfd_common()
475 if (i >= fdt->max_fds) in close_files()
384 fd = find_next_zero_bit(fdt->open_fds, fdt->max_fds, files->next_fd); in task_get_unused_fd_flags()477 if (fd >= fdt->max_fds) in task_close_fd()
2864 for (i = 0; i < fdt->max_fds; i++) { in __do_SAK()
2202 if (i >= fdt->max_fds) in flush_unauthorized_files()