Searched refs:max_fds (Results 1 – 5 of 5) sorted by relevance
118 #define fdt_words(fdt) ((fdt)->max_fds / BITS_PER_LONG) // words in ->open_fds145 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable() 147 cpy = ofdt->max_fds * sizeof(struct file *); 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() 366 unsigned int last = find_last_bit(fdt->open_fds, fdt->max_fds); in sane_fdtable_size() [all...]
626 int ret, max_fds; in core_sys_select() local 636 /* max_fds can increase, so grab it once to avoid race */ in core_sys_select() 639 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() 1180 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() 1187 /* max_fds can increase, so grab it once to avoid race */ in compat_core_sys_select() 1190 max_fds = fdt->max_fds; in compat_core_sys_select() 1185 int size, max_fds, ret = -EINVAL; compat_core_sys_select() local [all...]
53 int max_fds; in FIXTURE() local84 self->max_fds = 500; in FIXTURE_SETUP()122 for (int i = 0; i < self->max_fds; i++) {
299 *count = bitmap_weight(fdt->open_fds, fdt->max_fds); in proc_readfd_count()
48 if (n <= fdt->max_fds)