Searched refs:nofile (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/ |
H A D | os-posix.c | 262 struct rlimit nofile; in os_setup_limits() local 264 if (getrlimit(RLIMIT_NOFILE, &nofile) < 0) { in os_setup_limits() 269 if (nofile.rlim_cur == nofile.rlim_max) { in os_setup_limits() 274 nofile.rlim_cur = OPEN_MAX < nofile.rlim_max ? OPEN_MAX : nofile.rlim_max; in os_setup_limits() 276 nofile.rlim_cur = nofile.rlim_max; in os_setup_limits() 279 if (setrlimit(RLIMIT_NOFILE, &nofile) < 0) { in os_setup_limits()
|
/openbmc/linux/io_uring/ |
H A D | openclose.c | 25 unsigned long nofile; member 73 open->nofile = rlimit(RLIMIT_NOFILE); in __io_openat_prep() 130 ret = __get_unused_fd_flags(open->how.flags, open->nofile); in io_openat2()
|
H A D | net.c | 32 unsigned long nofile; member 42 unsigned long nofile; member 1363 accept->nofile = rlimit(RLIMIT_NOFILE); in io_accept_prep() 1398 fd = __get_unused_fd_flags(accept->flags, accept->nofile); in io_accept() 1455 sock->nofile = rlimit(RLIMIT_NOFILE); in io_socket_prep() 1473 fd = __get_unused_fd_flags(sock->flags, sock->nofile); in io_socket()
|
/openbmc/linux/fs/ |
H A D | file.c | 539 int __get_unused_fd_flags(unsigned flags, unsigned long nofile) in __get_unused_fd_flags() argument 541 return alloc_fd(0, nofile, flags); in __get_unused_fd_flags() 1274 unsigned long nofile = rlimit(RLIMIT_NOFILE); in f_dupfd() local 1276 if (from >= nofile) in f_dupfd() 1278 err = alloc_fd(from, nofile, flags); in f_dupfd()
|
/openbmc/linux/include/linux/ |
H A D | file.h | 90 extern int __get_unused_fd_flags(unsigned flags, unsigned long nofile);
|
/openbmc/linux/tools/testing/selftests/firmware/ |
H A D | fw_filesystem.sh | 484 do_tests nofile _nofile
|