/external/valgrind/none/tests/ |
D | rlimit_nofile.c | 17 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()
|
D | rlimit64_nofile.c | 20 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()
|
D | closeall.c | 11 getrlimit(RLIMIT_NOFILE, &lim); in main()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | resource.h | 29 #ifndef RLIMIT_NOFILE 30 # define RLIMIT_NOFILE 7 /* max number of open files */ macro
|
/external/strace/xlat/ |
D | resources.h | 31 #if defined(RLIMIT_NOFILE) || (defined(HAVE_DECL_RLIMIT_NOFILE) && HAVE_DECL_RLIMIT_NOFILE) 32 XLAT(RLIMIT_NOFILE),
|
D | resources.in | 10 RLIMIT_NOFILE
|
/external/mksh/src/ |
D | rlimits.gen | 39 #ifdef RLIMIT_NOFILE 40 FN("nofiles(descriptors)", RLIMIT_NOFILE, 1, 'n') 133 #ifdef RLIMIT_NOFILE
|
D | rlimits.opt | 44 >n|RLIMIT_NOFILE 45 FN("nofiles(descriptors)", RLIMIT_NOFILE, 1
|
/external/openssh/ |
D | ssh-keyscan.c | 116 #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()
|
D | sandbox-rlimit.c | 73 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()
|
D | sandbox-darwin.c | 77 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()
|
D | sandbox-capsicum.c | 79 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()
|
D | sandbox-seccomp-filter.c | 208 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()
|
/external/valgrind/none/tests/darwin/ |
D | rlimit.stderr.exp | 1 RLIMIT_NOFILE is 256
|
D | rlimit.c | 13 getrlimit(RLIMIT_NOFILE, &rlp); in main()
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | resource.h | 17 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
|
/external/elfutils/src/tests/ |
D | dwfl-bug-fd-leak.c | 92 if (setrlimit (RLIMIT_NOFILE, &fd_limit) < 0) in main()
|
/external/blktrace/btt/ |
D | misc.c | 110 return increase_limit(RLIMIT_NOFILE, 16); in handle_open_failure()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 458 #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/ |
D | cgishell.cgi | 205 maxfd = resource.getrlimit(resource.RLIMIT_NOFILE)[1]
|
/external/selinux/policycoreutils/mcstrans/src/ |
D | mcstransd.c | 542 setrlimit(RLIMIT_NOFILE, &rl); in initialize()
|
/external/valgrind/include/vki/ |
D | vki-darwin.h | 645 #define VKI_RLIMIT_NOFILE RLIMIT_NOFILE
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | evsel.c | 1067 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in __perf_evsel__open() 1074 if (setrlimit(RLIMIT_NOFILE, &l) == 0) { in __perf_evsel__open()
|
/external/mdnsresponder/mDNSShared/ |
D | uds_daemon.c | 4053 …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/ |
D | pexpect.py | 545 max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0]
|