Searched refs:max_fds (Results 1 – 6 of 6) sorted by relevance
76 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable()79 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable()131 fdt->max_fds = nr; in alloc_fdtable()221 if (nr < fdt->max_fds) in expand_files()288 if (last == fdt->max_fds) in sane_fdtable_size()411 if (i >= fdt->max_fds) in close_files()458 .max_fds = NR_OPEN_DEFAULT,499 if (fd < fdt->max_fds) in alloc_fd()635 if (fd >= fdt->max_fds) in file_close_fd_locked()672 return fdt->max_fds - 1; in last_fd()[all …]
627 int ret, max_fds; in core_sys_select() local640 max_fds = fdt->max_fds; in core_sys_select()642 if (n > max_fds) in core_sys_select()643 n = max_fds; in core_sys_select()1200 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local1210 max_fds = fdt->max_fds; in compat_core_sys_select()1212 if (n > max_fds) in compat_core_sys_select()1213 n = max_fds; in compat_core_sys_select()
27 unsigned int max_fds; member75 unsigned long mask = array_index_mask_nospec(fd, fdt->max_fds); in files_lookup_fd_raw()
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()
304 *count = bitmap_weight(fdt->open_fds, fdt->max_fds); in proc_readfd_count()
48 if (n <= fdt->max_fds)
Completed in 15 milliseconds