Searched refs:max_fds (Results 1 – 4 of 4) sorted by relevance
145 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable()148 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable()218 fdt->max_fds = nr; in alloc_fdtable()271 BUG_ON(nr < cur_fdt->max_fds); in expand_fdtable()299 if (nr < fdt->max_fds) in expand_files()368 if (last == fdt->max_fds) in sane_fdtable_size()487 if (i >= fdt->max_fds) in close_files()534 .max_fds = NR_OPEN_DEFAULT,699 if (fd >= fdt->max_fds) in file_close_fd_locked()736 return fdt->max_fds - 1; in last_fd()[all …]
626 int ret, max_fds; in core_sys_select() local639 max_fds = fdt->max_fds; in core_sys_select()641 if (n > max_fds) in core_sys_select()642 n = max_fds; in core_sys_select()1194 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local1204 max_fds = fdt->max_fds; in compat_core_sys_select()1206 if (n > max_fds) in compat_core_sys_select()1207 n = max_fds; in compat_core_sys_select()
157 unsigned int max_fds = 0; in task_state() local175 max_fds = files_fdtable(p->files)->max_fds; in task_state()197 seq_put_decimal_ull(m, "\nFDSize:\t", max_fds); in task_state()
299 *count = bitmap_weight(fdt->open_fds, fdt->max_fds); in proc_readfd_count()
Completed in 734 milliseconds