Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A Dfile.c76 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable()
79 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable()
131 fdt->max_fds = nr; in alloc_fdtable()
221 if (nr < fdt->max_fds) in expand_files()
303 max_fds = NR_OPEN_DEFAULT; in sane_fdtable_size()
421 if (i >= fdt->max_fds) in close_files()
468 .max_fds = NR_OPEN_DEFAULT,
509 if (fd < fdt->max_fds) in alloc_fd()
638 if (fd >= fdt->max_fds) in pick_file()
675 return fdt->max_fds - 1; in last_fd()
[all …]
H A Dselect.c630 int ret, max_fds; in core_sys_select() local
643 max_fds = fdt->max_fds; in core_sys_select()
645 if (n > max_fds) in core_sys_select()
646 n = max_fds; in core_sys_select()
1200 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() local
1210 max_fds = fdt->max_fds; in compat_core_sys_select()
1212 if (n > max_fds) in compat_core_sys_select()
1213 n = max_fds; in compat_core_sys_select()
/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/
H A D0001-debuginfod-Remove-unused-variable.patch6 Recent commit acd9525e9 has removed all references to max_fds
9 | ../../elfutils-0.191/debuginfod/debuginfod.cxx:1448:8: error: private field 'max_fds' is not used…
10 | 1448 | long max_fds;
28 - long max_fds;
/openbmc/linux/include/linux/
H A Dfdtable.h28 unsigned int max_fds; member
87 if (fd < fdt->max_fds) { in files_lookup_fd_raw()
88 fd = array_index_nospec(fd, fdt->max_fds); in files_lookup_fd_raw()
129 extern int unshare_fd(unsigned long unshare_flags, unsigned int max_fds,
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/
H A Dfix-build-on-non-x86.patch20 size_t cmsg_space = CMSG_SPACE(sizeof(int) * max_fds);
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/
H A Dfix-build-on-non-x86.patch20 size_t cmsg_space = CMSG_SPACE(sizeof(int) * max_fds);
/openbmc/qemu/util/
H A Dvhost-user-server.c119 const size_t max_fds = G_N_ELEMENTS(vmsg->fds); in vu_message_read() local
157 if (vmsg->fd_num + nfds > max_fds) { in vu_message_read()
160 max_fds, vmsg->fd_num + nfds); in vu_message_read()
/openbmc/openbmc/poky/meta/recipes-support/gpgme/gpgme/
H A D0001-use-closefrom-on-linux-and-glibc-2.34.patch27 max_fds = fd;
/openbmc/linux/fs/proc/
H A Darray.c157 unsigned int max_fds = 0; in task_state() local
175 max_fds = files_fdtable(p->files)->max_fds; in task_state()
197 seq_put_decimal_ull(m, "\nFDSize:\t", max_fds); in task_state()
H A Dfd.c303 *count = bitmap_weight(fdt->open_fds, fdt->max_fds); in proc_readfd_count()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/multipath-tools/files/
H A Dmultipath.conf.example35 # max_fds 8192
/openbmc/linux/io_uring/
H A Dopenclose.c234 if (close->fd >= fdt->max_fds) { in io_close()
/openbmc/linux/Documentation/filesystems/
H A Dfiles.rst48 if (n <= fdt->max_fds)
/openbmc/linux/kernel/
H A Dfork.c3361 int unshare_fd(unsigned long unshare_flags, unsigned int max_fds, in unshare_fd() argument
3369 *new_fdp = dup_fd(fd, max_fds, &error); in unshare_fd()