Searched refs:RLIMIT_NOFILE (Results 1 – 18 of 18) sorted by relevance
/Linux-v4.19/include/uapi/asm-generic/ |
D | resource.h | 30 #ifndef RLIMIT_NOFILE 31 # define RLIMIT_NOFILE 7 /* max number of open files */ macro
|
/Linux-v4.19/arch/alpha/include/uapi/asm/ |
D | resource.h | 9 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
|
/Linux-v4.19/arch/sparc/include/uapi/asm/ |
D | resource.h | 15 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
|
/Linux-v4.19/arch/mips/include/uapi/asm/ |
D | resource.h | 18 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
|
/Linux-v4.19/include/asm-generic/ |
D | resource.h | 20 [RLIMIT_NOFILE] = { INR_OPEN_CUR, INR_OPEN_MAX }, \
|
/Linux-v4.19/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-v4.19/fs/ |
D | file.c | 539 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()
|
D | select.c | 939 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
|
/Linux-v4.19/tools/kvm/kvm_stat/ |
D | kvm_stat | 620 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/ |
D | jevents.c | 854 if (getrlimit(RLIMIT_NOFILE, &rlim) == 0) in get_maxfds()
|
/Linux-v4.19/Documentation/sysctl/ |
D | fs.txt | 120 enough for most machines. Actual limit depends on RLIMIT_NOFILE
|
/Linux-v4.19/tools/perf/util/ |
D | dso.c | 569 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in get_fd_limit()
|
D | evsel.c | 1896 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/ |
D | builtin-sched.c | 569 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/ |
D | sys.c | 1534 if (resource == RLIMIT_NOFILE && in do_prlimit()
|
/Linux-v4.19/net/unix/ |
D | af_unix.c | 1522 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
|
/Linux-v4.19/fs/proc/ |
D | base.c | 556 [RLIMIT_NOFILE] = {"Max open files", "files"},
|
/Linux-v4.19/drivers/android/ |
D | binder.c | 938 rlim_cur = task_rlimit(proc->tsk, RLIMIT_NOFILE); in task_get_unused_fd_flags()
|