Searched refs:max_fds (Results 1 – 5 of 5) sorted by relevance
73 set = (nfdt->max_fds - count) / BITS_PER_BYTE; in copy_fd_bitmaps()80 set = BITBIT_SIZE(nfdt->max_fds) - cpy; in copy_fd_bitmaps()93 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable()95 cpy = ofdt->max_fds * sizeof(struct file *); in copy_fdtable()96 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable()100 copy_fd_bitmaps(nfdt, ofdt, ofdt->max_fds); in copy_fdtable()132 fdt->max_fds = nr; in alloc_fdtable()187 if (unlikely(new_fdt->max_fds <= nr)) { in expand_fdtable()192 BUG_ON(nr < cur_fdt->max_fds); in expand_fdtable()221 if (nr < fdt->max_fds) in expand_files()[all …]
553 int ret, max_fds; in core_sys_select() local566 max_fds = fdt->max_fds; in core_sys_select()568 if (n > max_fds) in core_sys_select()569 n = max_fds; in core_sys_select()
1240 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local1250 max_fds = fdt->max_fds; in compat_core_sys_select()1252 if (n > max_fds) in compat_core_sys_select()1253 n = max_fds; in compat_core_sys_select()
152 unsigned int max_fds = 0; in task_state() local168 max_fds = files_fdtable(p->files)->max_fds; in task_state()192 max_fds); in task_state()
247 fd < files_fdtable(files)->max_fds; in proc_readfd_common()