Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/asm-generic/
Dresource.h30 #ifndef RLIMIT_NOFILE
31 # define RLIMIT_NOFILE 7 /* max number of open files */ macro
/Linux-v4.19/arch/alpha/include/uapi/asm/
Dresource.h9 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
/Linux-v4.19/arch/sparc/include/uapi/asm/
Dresource.h15 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
/Linux-v4.19/arch/mips/include/uapi/asm/
Dresource.h18 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
/Linux-v4.19/include/asm-generic/
Dresource.h20 [RLIMIT_NOFILE] = { INR_OPEN_CUR, INR_OPEN_MAX }, \
/Linux-v4.19/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-v4.19/fs/
Dfile.c539 return __alloc_fd(current->files, start, rlimit(RLIMIT_NOFILE), flags); in alloc_fd()
544 return __alloc_fd(current->files, 0, rlimit(RLIMIT_NOFILE), flags); in get_unused_fd_flags()
860 if (fd >= rlimit(RLIMIT_NOFILE)) in replace_fd()
886 if (newfd >= rlimit(RLIMIT_NOFILE)) in ksys_dup3()
951 if (from >= rlimit(RLIMIT_NOFILE)) in f_dupfd()
Dselect.c939 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
/Linux-v4.19/tools/kvm/kvm_stat/
Dkvm_stat620 softlim_, hardlim = resource.getrlimit(resource.RLIMIT_NOFILE)
624 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, newlim))
627 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, hardlim))
/Linux-v4.19/tools/perf/pmu-events/
Djevents.c854 if (getrlimit(RLIMIT_NOFILE, &rlim) == 0) in get_maxfds()
/Linux-v4.19/Documentation/sysctl/
Dfs.txt120 enough for most machines. Actual limit depends on RLIMIT_NOFILE
/Linux-v4.19/tools/perf/util/
Ddso.c569 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in get_fd_limit()
Devsel.c1896 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in perf_evsel__open()
1903 if (setrlimit(RLIMIT_NOFILE, &l) == 0) { in perf_evsel__open()
/Linux-v4.19/tools/perf/
Dbuiltin-sched.c569 BUG_ON(getrlimit(RLIMIT_NOFILE, &limit) == -1); in self_open_counters()
575 if (setrlimit(RLIMIT_NOFILE, &limit) == -1) { in self_open_counters()
/Linux-v4.19/kernel/
Dsys.c1534 if (resource == RLIMIT_NOFILE && in do_prlimit()
/Linux-v4.19/net/unix/
Daf_unix.c1522 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
/Linux-v4.19/fs/proc/
Dbase.c556 [RLIMIT_NOFILE] = {"Max open files", "files"},
/Linux-v4.19/drivers/android/
Dbinder.c938 rlim_cur = task_rlimit(proc->tsk, RLIMIT_NOFILE); in task_get_unused_fd_flags()