/kernel/linux/linux-5.10/tools/testing/selftests/kvm/ |
D | kvm_create_max_vcpus.c | 58 TEST_ASSERT(!getrlimit(RLIMIT_NOFILE, &rl), "getrlimit() failed!"); in main() 66 int r = setrlimit(RLIMIT_NOFILE, &rl); in main() 73 TEST_ASSERT(!setrlimit(RLIMIT_NOFILE, &rl), "setrlimit() failed!"); in main()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | resource.h | 32 #ifndef RLIMIT_NOFILE 33 #define RLIMIT_NOFILE 7 macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
D | resource.h | 19 #ifndef RLIMIT_NOFILE 20 # define RLIMIT_NOFILE 7 macro
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | resource.h | 30 #ifndef RLIMIT_NOFILE 31 # define RLIMIT_NOFILE 7 /* max number of open files */ macro
|
/kernel/liteos_a/testsuites/unittest/libc/misc/full/ |
D | misc_test_012.cpp | 40 ret = setrlimit(RLIMIT_NOFILE, &rlim2); in TestCase() 42 ret = getrlimit(RLIMIT_NOFILE, &rlim1); in TestCase()
|
D | misc_test_011.cpp | 40 ret = getrlimit(RLIMIT_NOFILE, &rlim); in TestCase()
|
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/ |
D | resource.h | 9 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
|
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
D | resource.h | 15 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
D | resource.h | 21 #define RLIMIT_NOFILE 5 macro
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | resource.h | 18 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | resource.h | 20 [RLIMIT_NOFILE] = { INR_OPEN_CUR, INR_OPEN_MAX }, \
|
/kernel/liteos_a/compat/posix/src/ |
D | misc.c | 169 case RLIMIT_NOFILE: in getrlimit() 205 case RLIMIT_NOFILE: in setrlimit()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | dso-data.c | 242 if (getrlimit(RLIMIT_NOFILE, &rlim)) in set_fd_limit() 248 return setrlimit(RLIMIT_NOFILE, &rlim); in set_fd_limit()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 405 getrlimit(RLIMIT_NOFILE, &rlim_old); in test_sk_storage_map_stress_free() 417 err = setrlimit(RLIMIT_NOFILE, &rlim_new); in test_sk_storage_map_stress_free() 432 setrlimit(RLIMIT_NOFILE, &rlim_old); in test_sk_storage_map_stress_free()
|
/kernel/linux/linux-5.10/fs/ |
D | file.c | 584 return __alloc_fd(current->files, start, rlimit(RLIMIT_NOFILE), flags); in alloc_fd() 594 return __get_unused_fd_flags(flags, rlimit(RLIMIT_NOFILE)); in get_unused_fd_flags() 1111 if (fd >= rlimit(RLIMIT_NOFILE)) in replace_fd() 1193 if (newfd >= rlimit(RLIMIT_NOFILE)) in ksys_dup3() 1253 if (from >= rlimit(RLIMIT_NOFILE)) in f_dupfd()
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
D | epoll-ctl.c | 343 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_ctl() 348 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_ctl()
|
D | epoll-wait.c | 463 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_wait() 468 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_wait()
|
/kernel/linux/linux-5.10/net/unix/ |
D | scm.c | 101 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/ |
D | request-func-poll.rst | 72 The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/ |
D | cec-func-poll.rst | 73 The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
D | func-poll.rst | 112 The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | perf-security.rst | 212 accountable resource governed by the RLIMIT_NOFILE [11]_ limit 216 configuration. RLIMIT_NOFILE limit can be increased on per-user basis
|
/kernel/linux/linux-5.10/tools/kvm/kvm_stat/ |
D | kvm_stat | 632 softlim_, hardlim = resource.getrlimit(resource.RLIMIT_NOFILE) 636 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, newlim)) 639 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, hardlim))
|
/kernel/linux/linux-5.10/kernel/ |
D | watch_queue.c | 472 if (atomic_inc_return(&cred->user->nr_watches) > task_rlimit(current, RLIMIT_NOFILE)) { in add_one_watch()
|
/kernel/linux/linux-5.10/tools/perf/pmu-events/ |
D | jevents.c | 896 if (getrlimit(RLIMIT_NOFILE, &rlim) == 0) in get_maxfds()
|