Searched refs:max_fds (Results 1 – 14 of 14) sorted by relevance
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | file.c | 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() 135 fdt->max_fds = nr; in alloc_fdtable() 191 if (unlikely(new_fdt->max_fds <= nr)) { in expand_fdtable() 196 BUG_ON(nr < cur_fdt->max_fds); in expand_fdtable() 225 if (nr < fdt->max_fds) in expand_files() [all …]
|
| H A D | select.c | 629 int ret, max_fds; in core_sys_select() local 642 max_fds = fdt->max_fds; in core_sys_select() 644 if (n > max_fds) in core_sys_select() 645 n = max_fds; in core_sys_select() 1199 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local 1209 max_fds = fdt->max_fds; in compat_core_sys_select() 1211 if (n > max_fds) in compat_core_sys_select() 1212 n = max_fds; in compat_core_sys_select()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fdtable.h | 28 unsigned int max_fds; member 87 if (fd < fdt->max_fds) { in __fcheck_files() 88 fd = array_index_nospec(fd, fdt->max_fds); in __fcheck_files() 127 extern int unshare_fd(unsigned long unshare_flags, unsigned int max_fds,
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | task_iter.c | 142 u32 curr_tid = info->tid, max_fds; in task_file_seq_get_next() local 184 max_fds = files_fdtable(curr_files)->max_fds; in task_file_seq_get_next() 185 for (; curr_fd < max_fds; curr_fd++) { in task_file_seq_get_next()
|
| /OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/selinux/android-tools/android-tools/core-debian/ |
| H A D | fix-build-on-non-x86.patch | 18 size_t cmsg_space = CMSG_SPACE(sizeof(int) * max_fds);
|
| /OK3568_Linux_fs/kernel/fs/proc/ |
| H A D | array.c | 160 unsigned int max_fds = 0; in task_state() local 178 max_fds = files_fdtable(p->files)->max_fds; in task_state() 200 seq_put_decimal_ull(m, "\nFDSize:\t", max_fds); in task_state()
|
| H A D | fd.c | 270 fd < files_fdtable(files)->max_fds; in proc_readfd_common()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-support/gpgme/gpgme/ |
| H A D | 0001-use-closefrom-on-linux-and-glibc-2.34.patch | 26 max_fds = fd;
|
| /OK3568_Linux_fs/buildroot/package/libgpgme/ |
| H A D | 0001-core-Support-closefrom-also-for-glibc.patch | 32 max_fds = fd;
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/multipath-tools/files/ |
| H A D | multipath.conf.example | 35 # max_fds 8192
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | files.rst | 48 if (n <= fdt->max_fds)
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | fork.c | 2978 int unshare_fd(unsigned long unshare_flags, unsigned int max_fds, in unshare_fd() argument 2986 *new_fdp = dup_fd(fd, max_fds, &error); in unshare_fd()
|
| /OK3568_Linux_fs/kernel/drivers/net/usb/GobiNet/ |
| H A D | QMIDevice.c | 2800 for (count = 0; count < pFDT->max_fds; count++) 3554 for (count = 0; count < pFDT->max_fds; count++)
|
| /OK3568_Linux_fs/kernel/io_uring/ |
| H A D | io_uring.c | 4557 if (close->fd >= fdt->max_fds) { in io_close()
|