max_fds 55 fs/file.c set = (nfdt->max_fds - count) / BITS_PER_BYTE; max_fds 62 fs/file.c set = BITBIT_SIZE(nfdt->max_fds) - cpy; max_fds 75 fs/file.c BUG_ON(nfdt->max_fds < ofdt->max_fds); max_fds 77 fs/file.c cpy = ofdt->max_fds * sizeof(struct file *); max_fds 78 fs/file.c set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); max_fds 82 fs/file.c copy_fd_bitmaps(nfdt, ofdt, ofdt->max_fds); max_fds 114 fs/file.c fdt->max_fds = nr; max_fds 170 fs/file.c if (unlikely(new_fdt->max_fds <= nr)) { max_fds 175 fs/file.c BUG_ON(nr < cur_fdt->max_fds); max_fds 204 fs/file.c if (nr < fdt->max_fds) max_fds 255 fs/file.c unsigned int size = fdt->max_fds; max_fds 291 fs/file.c new_fdt->max_fds = NR_OPEN_DEFAULT; max_fds 304 fs/file.c while (unlikely(open_files > new_fdt->max_fds)) { max_fds 317 fs/file.c if (unlikely(new_fdt->max_fds < open_files)) { max_fds 356 fs/file.c memset(new_fds, 0, (new_fdt->max_fds - open_files) * sizeof(struct file *)); max_fds 381 fs/file.c if (i >= fdt->max_fds) max_fds 453 fs/file.c .max_fds = NR_OPEN_DEFAULT, max_fds 465 fs/file.c unsigned int maxfd = fdt->max_fds; max_fds 494 fs/file.c if (fd < fdt->max_fds) max_fds 628 fs/file.c if (fd >= fdt->max_fds) max_fds 655 fs/file.c if (fd >= fdt->max_fds) max_fds 684 fs/file.c if (fd >= fdt->max_fds) max_fds 1005 fs/file.c for (fdt = files_fdtable(files); n < fdt->max_fds; n++) { max_fds 161 fs/proc/array.c unsigned int max_fds = 0; max_fds 179 fs/proc/array.c max_fds = files_fdtable(p->files)->max_fds; max_fds 201 fs/proc/array.c seq_put_decimal_ull(m, "\nFDSize:\t", max_fds); max_fds 246 fs/proc/fd.c fd < files_fdtable(files)->max_fds; max_fds 626 fs/select.c int ret, max_fds; max_fds 639 fs/select.c max_fds = fdt->max_fds; max_fds 641 fs/select.c if (n > max_fds) max_fds 642 fs/select.c n = max_fds; max_fds 1180 fs/select.c int size, max_fds, ret = -EINVAL; max_fds 1190 fs/select.c max_fds = fdt->max_fds; max_fds 1192 fs/select.c if (n > max_fds) max_fds 1193 fs/select.c n = max_fds; max_fds 27 include/linux/fdtable.h unsigned int max_fds; max_fds 86 include/linux/fdtable.h if (fd < fdt->max_fds) { max_fds 87 include/linux/fdtable.h fd = array_index_nospec(fd, fdt->max_fds);