Searched refs:max_fds (Results 1 – 4 of 4) sorted by relevance
60 set = (nfdt->max_fds - count) / BITS_PER_BYTE; in copy_fd_bitmaps()67 set = BITBIT_SIZE(nfdt->max_fds) - cpy; in copy_fd_bitmaps()80 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable()82 cpy = ofdt->max_fds * sizeof(struct file *); in copy_fdtable()83 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable()87 copy_fd_bitmaps(nfdt, ofdt, ofdt->max_fds); in copy_fdtable()119 fdt->max_fds = nr; in alloc_fdtable()175 if (unlikely(new_fdt->max_fds <= nr)) { in expand_fdtable()180 BUG_ON(nr < cur_fdt->max_fds); in expand_fdtable()209 if (nr < fdt->max_fds) in expand_files()[all …]
605 int ret, max_fds; in core_sys_select() local618 max_fds = fdt->max_fds; in core_sys_select()620 if (n > max_fds) in core_sys_select()621 n = max_fds; in core_sys_select()1202 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local1212 max_fds = fdt->max_fds; in compat_core_sys_select()1214 if (n > max_fds) in compat_core_sys_select()1215 n = max_fds; in compat_core_sys_select()
167 unsigned int max_fds = 0; in task_state() local187 max_fds = files_fdtable(p->files)->max_fds; in task_state()206 seq_put_decimal_ull(m, "\nFDSize:\t", max_fds); in task_state()
237 fd < files_fdtable(files)->max_fds; in proc_readfd_common()