Home
last modified time | relevance | path

Searched refs:max_fds (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/fs/
Dfile.c73 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 …]
Dselect.c552 int ret, max_fds; in core_sys_select() local
565 max_fds = fdt->max_fds; in core_sys_select()
567 if (n > max_fds) in core_sys_select()
568 n = max_fds; in core_sys_select()
Dcompat.c1240 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local
1250 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()
/linux-4.4.14/include/linux/
Dfdtable.h25 unsigned int max_fds; member
84 if (fd < fdt->max_fds) in __fcheck_files()
/linux-4.4.14/fs/proc/
Darray.c151 unsigned int max_fds = 0; in task_state() local
167 max_fds = files_fdtable(p->files)->max_fds; in task_state()
191 max_fds); in task_state()
Dfd.c247 fd < files_fdtable(files)->max_fds; in proc_readfd_common()
/linux-4.4.14/Documentation/filesystems/
Dfiles.txt45 if (n <= fdt->max_fds)