Home
last modified time | relevance | path

Searched refs:RLIMIT_NOFILE (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.4/include/uapi/asm-generic/
Dresource.h30 #ifndef RLIMIT_NOFILE
31 # define RLIMIT_NOFILE 7 /* max number of open files */ macro
/Linux-v5.4/arch/sparc/include/uapi/asm/
Dresource.h15 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
/Linux-v5.4/arch/alpha/include/uapi/asm/
Dresource.h9 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
/Linux-v5.4/arch/mips/include/uapi/asm/
Dresource.h18 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
/Linux-v5.4/include/asm-generic/
Dresource.h20 [RLIMIT_NOFILE] = { INR_OPEN_CUR, INR_OPEN_MAX }, \
/Linux-v5.4/tools/perf/tests/
Ddso-data.c242 if (getrlimit(RLIMIT_NOFILE, &rlim)) in set_fd_limit()
248 return setrlimit(RLIMIT_NOFILE, &rlim); in set_fd_limit()
/Linux-v5.4/fs/
Dfile.c540 return __alloc_fd(current->files, start, rlimit(RLIMIT_NOFILE), flags); in alloc_fd()
545 return __alloc_fd(current->files, 0, rlimit(RLIMIT_NOFILE), flags); in get_unused_fd_flags()
895 if (fd >= rlimit(RLIMIT_NOFILE)) in replace_fd()
921 if (newfd >= rlimit(RLIMIT_NOFILE)) in ksys_dup3()
986 if (from >= rlimit(RLIMIT_NOFILE)) in f_dupfd()
Dselect.c973 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
Dio_uring.c3026 if (inflight > task_rlimit(current, RLIMIT_NOFILE)) in __io_sqe_files_scm()
/Linux-v5.4/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c405 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.4/tools/perf/bench/
Depoll-ctl.c343 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_ctl()
348 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_ctl()
Depoll-wait.c463 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_wait()
468 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_wait()
/Linux-v5.4/net/unix/
Dscm.c98 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
/Linux-v5.4/Documentation/media/uapi/cec/
Dcec-func-poll.rst84 The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
/Linux-v5.4/Documentation/media/uapi/mediactl/
Drequest-func-poll.rst100 The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
/Linux-v5.4/Documentation/admin-guide/
Dperf-security.rst177 accountable resource governed by the RLIMIT_NOFILE [11]_ limit
181 configuration. RLIMIT_NOFILE limit can be increased on per-user basis
/Linux-v5.4/tools/kvm/kvm_stat/
Dkvm_stat623 softlim_, hardlim = resource.getrlimit(resource.RLIMIT_NOFILE)
627 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, newlim))
630 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, hardlim))
/Linux-v5.4/Documentation/media/uapi/v4l/
Dfunc-poll.rst123 The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
/Linux-v5.4/tools/perf/pmu-events/
Djevents.c859 if (getrlimit(RLIMIT_NOFILE, &rlim) == 0) in get_maxfds()
/Linux-v5.4/tools/perf/util/
Ddso.c579 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in get_fd_limit()
Devsel.c1732 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in evsel__open()
1739 if (setrlimit(RLIMIT_NOFILE, &l) == 0) { in evsel__open()
/Linux-v5.4/Documentation/admin-guide/sysctl/
Dfs.rst135 enough for most machines. Actual limit depends on RLIMIT_NOFILE
/Linux-v5.4/tools/perf/
Dbuiltin-sched.c576 BUG_ON(getrlimit(RLIMIT_NOFILE, &limit) == -1); in self_open_counters()
582 if (setrlimit(RLIMIT_NOFILE, &limit) == -1) { in self_open_counters()
/Linux-v5.4/kernel/
Dsys.c1538 if (resource == RLIMIT_NOFILE && in do_prlimit()
/Linux-v5.4/fs/proc/
Dbase.c572 [RLIMIT_NOFILE] = {"Max open files", "files"},