Searched refs:RLIMIT_NOFILE (Results 1 - 16 of 16) sorted by relevance
/linux-4.4.14/include/asm-generic/ |
H A D | resource.h | 19 [RLIMIT_NOFILE] = { INR_OPEN_CUR, INR_OPEN_MAX }, \
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
H A D | resource.h | 14 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
H A D | resource.h | 8 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
|
/linux-4.4.14/include/uapi/asm-generic/ |
H A D | resource.h | 29 #ifndef RLIMIT_NOFILE 30 # define RLIMIT_NOFILE 7 /* max number of open files */ macro
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
H A D | resource.h | 17 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
|
/linux-4.4.14/tools/perf/tests/ |
H A D | dso-data.c | 239 if (getrlimit(RLIMIT_NOFILE, &rlim)) set_fd_limit() 245 return setrlimit(RLIMIT_NOFILE, &rlim); set_fd_limit()
|
/linux-4.4.14/fs/ |
H A D | file.c | 556 return __alloc_fd(current->files, start, rlimit(RLIMIT_NOFILE), flags); alloc_fd() 561 return __alloc_fd(current->files, 0, rlimit(RLIMIT_NOFILE), flags); get_unused_fd_flags() 869 if (fd >= rlimit(RLIMIT_NOFILE)) replace_fd() 895 if (newfd >= rlimit(RLIMIT_NOFILE)) SYSCALL_DEFINE3() 950 if (from >= rlimit(RLIMIT_NOFILE)) f_dupfd()
|
H A D | select.c | 883 if (nfds > rlimit(RLIMIT_NOFILE)) do_sys_poll()
|
/linux-4.4.14/tools/perf/util/ |
H A D | dso.c | 428 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { get_fd_limit() 457 * of the RLIMIT_NOFILE files opened. 661 * file (dso) due to open file limit (RLIMIT_NOFILE). dso_cache__read() 762 * file (dso) due to open file limit (RLIMIT_NOFILE). data_file_size()
|
H A D | dso.h | 294 * DSO data file is opened, the limit (RLIMIT_NOFILE/2) is checked. Once
|
H A D | evsel.c | 1402 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { __perf_evsel__open() 1409 if (setrlimit(RLIMIT_NOFILE, &l) == 0) { __perf_evsel__open()
|
/linux-4.4.14/tools/perf/ |
H A D | builtin-sched.c | 463 BUG_ON(getrlimit(RLIMIT_NOFILE, &limit) == -1); self_open_counters() 469 if (setrlimit(RLIMIT_NOFILE, &limit) == -1) { self_open_counters()
|
/linux-4.4.14/kernel/ |
H A D | sys.c | 1371 if (resource == RLIMIT_NOFILE && do_prlimit()
|
/linux-4.4.14/drivers/android/ |
H A D | binder.c | 389 rlim_cur = task_rlimit(proc->tsk, RLIMIT_NOFILE); task_get_unused_fd_flags()
|
/linux-4.4.14/net/unix/ |
H A D | af_unix.c | 1526 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) too_many_unix_fds()
|
/linux-4.4.14/fs/proc/ |
H A D | base.c | 605 [RLIMIT_NOFILE] = {"Max open files", "files"},
|
Completed in 345 milliseconds