Searched refs:max_fds (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/fs/ |
H A D | file.c | 50 #define fdt_words(fdt) ((fdt)->max_fds / BITS_PER_LONG) // words in ->open_fds 77 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable() 79 cpy = ofdt->max_fds * sizeof(struct file *); in copy_fdtable() 80 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable() 132 fdt->max_fds = nr; in alloc_fdtable() 188 if (unlikely(new_fdt->max_fds <= nr)) { in expand_fdtable() 193 BUG_ON(nr < cur_fdt->max_fds); in expand_fdtable() 222 if (nr < fdt->max_fds) in expand_files() 282 unsigned int last = find_last_bit(fdt->open_fds, fdt->max_fds); in sane_fdtable_size() 284 if (last == fdt->max_fds) in sane_fdtable_size() [all …]
|
H A D | select.c | 627 int ret, max_fds; in core_sys_select() 637 /* max_fds can increase, so grab it once to avoid race */ in core_sys_select() 640 max_fds = fdt->max_fds; in core_sys_select() 642 if (n > max_fds) in core_sys_select() 643 n = max_fds; in core_sys_select() 1197 int size, max_fds, ret = -EINVAL; in compat_core_sys_select() 1204 /* max_fds can increase, so grab it once to avoid race */ in compat_core_sys_select() 1207 max_fds = fdt->max_fds; in compat_core_sys_select() 630 int ret, max_fds; core_sys_select() local 1200 int size, max_fds, ret = -EINVAL; compat_core_sys_select() local [all...] |
/openbmc/linux/include/linux/ |
H A D | fdtable.h | 27 unsigned int max_fds; member 86 if (fd < fdt->max_fds) { in files_lookup_fd_raw() 87 fd = array_index_nospec(fd, fdt->max_fds); in files_lookup_fd_raw()
|
/openbmc/qemu/util/ |
H A D | vhost-user-server.c | 119 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/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/ |
H A D | fix-build-on-non-x86.patch | 20 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 D | fix-build-on-non-x86.patch | 20 size_t cmsg_space = CMSG_SPACE(sizeof(int) * max_fds);
|
/openbmc/openbmc/poky/meta/recipes-support/gpgme/gpgme/ |
H A D | 0001-use-closefrom-on-linux-and-glibc-2.34.patch | 26 max_fds = fd;
|
/openbmc/linux/fs/proc/ |
H A D | array.c | 157 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 D | fd.c | 303 *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 D | multipath.conf.example | 35 # max_fds 8192
|
/openbmc/linux/io_uring/ |
H A D | openclose.c | 234 if (close->fd >= fdt->max_fds) { in io_close()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | files.rst | 48 if (n <= fdt->max_fds)
|