Home
last modified time | relevance | path

Searched refs:RLIMIT_NOFILE (Results 1 – 25 of 34) 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/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.h31 #if defined(RLIMIT_NOFILE) || (defined(HAVE_DECL_RLIMIT_NOFILE) && HAVE_DECL_RLIMIT_NOFILE)
32 XLAT(RLIMIT_NOFILE),
Dresources.in10 RLIMIT_NOFILE
/external/mksh/src/
Drlimits.gen39 #ifdef RLIMIT_NOFILE
40 FN("nofiles(descriptors)", RLIMIT_NOFILE, 1, 'n')
133 #ifdef RLIMIT_NOFILE
Drlimits.opt44 >n|RLIMIT_NOFILE
45 FN("nofiles(descriptors)", RLIMIT_NOFILE, 1
/external/openssh/
Dssh-keyscan.c116 #if defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE) in fdlim_get()
119 if (getrlimit(RLIMIT_NOFILE, &rlfd) < 0) in fdlim_get()
133 #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE) in fdlim_set()
139 #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE) in fdlim_set()
140 if (getrlimit(RLIMIT_NOFILE, &rlfd) < 0) in fdlim_set()
143 if (setrlimit(RLIMIT_NOFILE, &rlfd) < 0) in fdlim_set()
Dsandbox-rlimit.c73 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-darwin.c77 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-capsicum.c79 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-seccomp-filter.c208 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()
/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/src/tests/
Ddwfl-bug-fd-leak.c92 if (setrlimit (RLIMIT_NOFILE, &fd_limit) < 0) in 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/lldb/test/pexpect-2.4/examples/
Dcgishell.cgi205 maxfd = resource.getrlimit(resource.RLIMIT_NOFILE)[1]
/external/selinux/policycoreutils/mcstrans/src/
Dmcstransd.c542 setrlimit(RLIMIT_NOFILE, &rl); in initialize()
/external/valgrind/include/vki/
Dvki-darwin.h645 #define VKI_RLIMIT_NOFILE RLIMIT_NOFILE
/external/linux-tools-perf/src/tools/perf/util/
Devsel.c1067 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in __perf_evsel__open()
1074 if (setrlimit(RLIMIT_NOFILE, &l) == 0) { in __perf_evsel__open()
/external/mdnsresponder/mDNSShared/
Duds_daemon.c4053 …if (getrlimit(RLIMIT_NOFILE, &maxfds) < 0) { my_perror("ERROR: Unable to get file descriptor limit… in udsserver_init()
4054 …if (setrlimit(RLIMIT_NOFILE, &maxfds) < 0) my_perror("ERROR: Unable to set maximum file descriptor… in udsserver_init()
4056 …if (getrlimit(RLIMIT_NOFILE, &maxfds) < 0) { my_perror("ERROR: Unable to get file descriptor limit… in udsserver_init()
4060 …if (setrlimit(RLIMIT_NOFILE, &newfds) < 0) my_perror("ERROR: Unable to set maximum file descriptor… in udsserver_init()
4062 …if (getrlimit(RLIMIT_NOFILE, &maxfds) < 0) { my_perror("ERROR: Unable to get file descriptor limit… in udsserver_init()
/external/lldb/test/pexpect-2.4/
Dpexpect.py545 max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0]

12