Home
last modified time | relevance | path

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

12

/external/valgrind/none/tests/
Drlimit_nofile.c17 if (getrlimit(RLIMIT_NOFILE, &oldrlim) < 0) in main()
25 if (setrlimit(RLIMIT_NOFILE, &newrlim) == -1) in main()
40 if (setrlimit(RLIMIT_NOFILE, &newrlim) == -1) in main()
56 if (setrlimit(RLIMIT_NOFILE, &newrlim) < 0) in main()
62 if (getrlimit(RLIMIT_NOFILE, &newrlim) < 0) in main()
101 if (setrlimit(RLIMIT_NOFILE, NULL) != -1 || errno != EFAULT) in main()
Drlimit64_nofile.c20 if (getrlimit64(RLIMIT_NOFILE, &oldrlim) < 0) in main()
28 if (setrlimit64(RLIMIT_NOFILE, &newrlim) == -1) in main()
43 if (setrlimit64(RLIMIT_NOFILE, &newrlim) == -1) in main()
59 if (setrlimit64(RLIMIT_NOFILE, &newrlim) < 0) in main()
65 if (getrlimit64(RLIMIT_NOFILE, &newrlim) < 0) in main()
Dcloseall.c11 getrlimit(RLIMIT_NOFILE, &lim); in main()
/external/libchrome/base/process/
Dprocess_metrics_posix.cc45 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in GetMaxFds()
62 if (getrlimit(RLIMIT_NOFILE, &limits) == 0) { in SetFdLimit()
68 if (setrlimit(RLIMIT_NOFILE, &limits) != 0) { in SetFdLimit()
/external/kernel-headers/original/uapi/asm-generic/
Dresource.h29 #ifndef RLIMIT_NOFILE
30 # define RLIMIT_NOFILE 7 /* max number of open files */ macro
/external/strace/xlat/
Dresources.h38 #if defined(RLIMIT_NOFILE) || (defined(HAVE_DECL_RLIMIT_NOFILE) && HAVE_DECL_RLIMIT_NOFILE)
39 XLAT(RLIMIT_NOFILE),
Dresources.in10 RLIMIT_NOFILE
/external/curl/tests/libtest/
Dlib537.c124 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {
164 if (setrlimit(RLIMIT_NOFILE, &rl) != 0) {
175 if (setrlimit(RLIMIT_NOFILE, &rl) != 0) {
184 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {
Dlib518.c123 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) { in rlimit()
169 if (setrlimit(RLIMIT_NOFILE, &rl) != 0) { in rlimit()
180 if (setrlimit(RLIMIT_NOFILE, &rl) != 0) { in rlimit()
189 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) { in rlimit()
/external/mksh/src/
Drlimits.gen49 #ifdef RLIMIT_NOFILE
50 FN("nofiles(descriptors)", RLIMIT_NOFILE, 1, 'n')
143 #ifdef RLIMIT_NOFILE
Drlimits.opt53 >n|RLIMIT_NOFILE
54 FN("nofiles(descriptors)", RLIMIT_NOFILE, 1
/external/valgrind/none/tests/darwin/
Drlimit.stderr.exp1 RLIMIT_NOFILE is 256
Drlimit.c13 getrlimit(RLIMIT_NOFILE, &rlp); in main()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dresource.h17 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
/external/elfutils/tests/
Ddwfl-bug-fd-leak.c105 if (setrlimit (RLIMIT_NOFILE, &fd_limit) < 0) in main()
/external/toybox/toys/posix/
Dulimit.c64 RLIMIT_SIGPENDING, RLIMIT_MEMLOCK, RLIMIT_RSS, RLIMIT_NOFILE, 0, in ulimit_main()
/external/blktrace/btt/
Dmisc.c110 return increase_limit(RLIMIT_NOFILE, 16); in handle_open_failure()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c458 #elif defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE) in close_all_fds()
461 getrlimit(RLIMIT_NOFILE, &rl); in close_all_fds()
/external/libevent/
Ddevpoll.c127 if (getrlimit(RLIMIT_NOFILE, &rl) == 0 && in devpoll_init()
/external/dbus/dbus/
Ddbus-sysdeps-util-unix.c402 if (getrlimit (RLIMIT_NOFILE, &lim) < 0) in _dbus_request_file_descriptor_limit()
420 setrlimit (RLIMIT_NOFILE, &target_lim); in _dbus_request_file_descriptor_limit()
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dplatformsettings.py111 return resource.getrlimit(resource.RLIMIT_NOFILE)
117 resource.setrlimit(resource.RLIMIT_NOFILE, (new_soft_limit, new_hard_limit))
/external/libchrome/sandbox/linux/suid/
Dsandbox.c114 if (setrlimit(RLIMIT_NOFILE, &nofile)) in SpawnChrootHelper()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc523 SANDBOX_ASSERT(0 == getrlimit(RLIMIT_NOFILE, &rlim)); in SANDBOX_TEST_ALLOW_NOISE()
526 SANDBOX_ASSERT(0 == setrlimit(RLIMIT_NOFILE, &rlim)); in SANDBOX_TEST_ALLOW_NOISE()
/external/selinux/policycoreutils/mcstrans/src/
Dmcstransd.c524 setrlimit(RLIMIT_NOFILE, &rl); in initialize()
/external/libdaemon/libdaemon/
Ddfork.c566 if (getrlimit(RLIMIT_NOFILE, &rl) > 0) in daemon_close_allv()

12