| /Linux-v5.15/include/uapi/asm-generic/ |
| D | resource.h | 30 #ifndef RLIMIT_NOFILE 31 # define RLIMIT_NOFILE 7 /* max number of open files */ macro
|
| /Linux-v5.15/arch/alpha/include/uapi/asm/ |
| D | resource.h | 9 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
|
| /Linux-v5.15/arch/sparc/include/uapi/asm/ |
| D | resource.h | 15 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
|
| /Linux-v5.15/arch/mips/include/uapi/asm/ |
| D | resource.h | 18 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
|
| /Linux-v5.15/include/asm-generic/ |
| D | resource.h | 20 [RLIMIT_NOFILE] = { INR_OPEN_CUR, INR_OPEN_MAX }, \
|
| /Linux-v5.15/tools/testing/selftests/core/ |
| D | close_range_test.c | 275 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST() 277 ASSERT_EQ(0, setrlimit(RLIMIT_NOFILE, &rlimit)); in TEST() 343 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST() 345 ASSERT_EQ(0, setrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/tools/perf/bench/ |
| D | epoll-ctl.c | 342 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_ctl() 347 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_ctl()
|
| D | epoll-wait.c | 462 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_wait() 467 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_wait()
|
| /Linux-v5.15/net/unix/ |
| D | scm.c | 99 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
|
| /Linux-v5.15/Documentation/userspace-api/media/mediactl/ |
| D | request-func-poll.rst | 72 The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
|
| /Linux-v5.15/fs/ |
| D | file.c | 535 return __get_unused_fd_flags(flags, rlimit(RLIMIT_NOFILE)); in get_unused_fd_flags() 1084 if (fd >= rlimit(RLIMIT_NOFILE)) in replace_fd() 1171 if (newfd >= rlimit(RLIMIT_NOFILE)) in ksys_dup3() 1230 unsigned long nofile = rlimit(RLIMIT_NOFILE); in f_dupfd()
|
| D | select.c | 983 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
|
| /Linux-v5.15/Documentation/userspace-api/media/cec/ |
| D | cec-func-poll.rst | 73 The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
|
| /Linux-v5.15/Documentation/userspace-api/media/v4l/ |
| D | func-poll.rst | 112 The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
|
| /Linux-v5.15/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))
|
| /Linux-v5.15/Documentation/admin-guide/ |
| D | perf-security.rst | 269 accountable resource governed by the RLIMIT_NOFILE [11]_ limit 273 configuration. RLIMIT_NOFILE limit can be increased on per-user basis
|
| /Linux-v5.15/kernel/ |
| D | watch_queue.c | 457 task_rlimit(current, RLIMIT_NOFILE)) { in add_watch_to_object()
|
| D | sys.c | 1573 if (resource == RLIMIT_NOFILE && in do_prlimit()
|
| /Linux-v5.15/tools/perf/pmu-events/ |
| D | jevents.c | 963 if (getrlimit(RLIMIT_NOFILE, &rlim) == 0) in get_maxfds()
|
| /Linux-v5.15/Documentation/admin-guide/sysctl/ |
| D | fs.rst | 135 enough for most machines. Actual limit depends on RLIMIT_NOFILE
|
| /Linux-v5.15/tools/perf/util/ |
| D | dso.c | 604 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in get_fd_limit()
|
| D | evsel.c | 1939 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in evsel__increase_rlimit() 1946 if (setrlimit(RLIMIT_NOFILE, &l) == 0) { in evsel__increase_rlimit()
|
| /Linux-v5.15/tools/perf/ |
| D | builtin-sched.c | 580 BUG_ON(getrlimit(RLIMIT_NOFILE, &limit) == -1); in self_open_counters() 586 if (setrlimit(RLIMIT_NOFILE, &limit) == -1) { in self_open_counters()
|