Searched refs:RLIMIT_NOFILE (Results 1 - 16 of 16) sorted by relevance

/linux-4.4.14/include/asm-generic/
H A Dresource.h19 [RLIMIT_NOFILE] = { INR_OPEN_CUR, INR_OPEN_MAX }, \
/linux-4.4.14/arch/sparc/include/uapi/asm/
H A Dresource.h14 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
/linux-4.4.14/arch/alpha/include/uapi/asm/
H A Dresource.h8 #define RLIMIT_NOFILE 6 /* max number of open files */ macro
/linux-4.4.14/include/uapi/asm-generic/
H A Dresource.h29 #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 Dresource.h17 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
/linux-4.4.14/tools/perf/tests/
H A Ddso-data.c239 if (getrlimit(RLIMIT_NOFILE, &rlim)) set_fd_limit()
245 return setrlimit(RLIMIT_NOFILE, &rlim); set_fd_limit()
/linux-4.4.14/fs/
H A Dfile.c556 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 Dselect.c883 if (nfds > rlimit(RLIMIT_NOFILE)) do_sys_poll()
/linux-4.4.14/tools/perf/util/
H A Ddso.c428 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 Ddso.h294 * DSO data file is opened, the limit (RLIMIT_NOFILE/2) is checked. Once
H A Devsel.c1402 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 Dbuiltin-sched.c463 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 Dsys.c1371 if (resource == RLIMIT_NOFILE && do_prlimit()
/linux-4.4.14/drivers/android/
H A Dbinder.c389 rlim_cur = task_rlimit(proc->tsk, RLIMIT_NOFILE); task_get_unused_fd_flags()
/linux-4.4.14/net/unix/
H A Daf_unix.c1526 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) too_many_unix_fds()
/linux-4.4.14/fs/proc/
H A Dbase.c605 [RLIMIT_NOFILE] = {"Max open files", "files"},

Completed in 810 milliseconds