| /src/external/ibm-public/postfix/dist/src/util/ |
| open_limit.c | 51 #ifndef RLIMIT_NOFILE 53 #define RLIMIT_NOFILE RLIMIT_OFILE 61 #ifdef RLIMIT_NOFILE 70 #ifdef RLIMIT_NOFILE 71 if (getrlimit(RLIMIT_NOFILE, &rl) < 0) 93 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) 99 #ifndef RLIMIT_NOFILE
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| getdtablesize.c | 73 #if defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE) 75 if (getrlimit(RLIMIT_NOFILE, &res) == 0)
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| getdtablesize.c | 103 /* Cygwin 1.7.25 auto-increases the RLIMIT_NOFILE soft limit until it 114 if (getrlimit (RLIMIT_NOFILE, &lim) == 0
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| getdtablesize.c | 103 /* Cygwin 1.7.25 auto-increases the RLIMIT_NOFILE soft limit until it 114 if (getrlimit (RLIMIT_NOFILE, &lim) == 0
|
| /src/external/mpl/bind/dist/tests/libtest/ |
| isc.c | 49 if (getrlimit(RLIMIT_NOFILE, &rl) == 0) { 52 setrlimit(RLIMIT_NOFILE, &rl);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| resource.d | 67 RLIMIT_NOFILE, 130 RLIMIT_NOFILE = 7, 172 RLIMIT_NOFILE = 8, 229 RLIMIT_NOFILE = 8, 286 RLIMIT_NOFILE = 8, 344 RLIMIT_NOFILE = 8, 402 RLIMIT_NOFILE = 8, 457 RLIMIT_NOFILE = 5,
|
| /src/bin/ksh/ |
| c_ulimit.c | 94 #ifdef RLIMIT_NOFILE 95 { "nofiles(descriptors)", RLIMIT, RLIMIT_NOFILE, RLIMIT_NOFILE, 1, 'n' }, 96 #else /* RLIMIT_NOFILE */ 100 #endif /* RLIMIT_NOFILE */
|
| /src/tests/lib/libc/sys/ |
| t_pipe2.c | 134 err = getrlimit(RLIMIT_NOFILE, &rl); 143 err = setrlimit(RLIMIT_NOFILE, &rl); 149 err = setrlimit(RLIMIT_NOFILE, &rl);
|
| t_dup.c | 173 (void)getrlimit(RLIMIT_NOFILE, &res); 239 (void)getrlimit(RLIMIT_NOFILE, &res); 304 if (setrlimit(RLIMIT_NOFILE, &res) != 0) 342 atf_tc_fail("dup(2) dupped more than RLIMIT_NOFILE");
|
| t_revoke.c | 62 (void)getrlimit(RLIMIT_NOFILE, &res);
|
| t_setrlimit.c | 63 RLIMIT_NOFILE, 299 atf_tc_set_md_var(tc, "descr", "Test setrlimit(2), RLIMIT_NOFILE, #1"); 317 * Close all descriptors, set RLIMIT_NOFILE 324 rv = setrlimit(RLIMIT_NOFILE, &res); 341 atf_tc_fail("RLIMIT_NOFILE not enforced"); 347 atf_tc_set_md_var(tc, "descr", "Test setrlimit(2), RLIMIT_NOFILE, #2"); 372 rv = setrlimit(RLIMIT_NOFILE, &res); 400 atf_tc_fail("RLIMIT_NOFILE not enforced");
|
| /src/sys/sys/ |
| resource.h | 96 #define RLIMIT_NOFILE 8 /* number of open files */
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/unix/ |
| resource.c | 58 #ifdef RLIMIT_NOFILE 59 *rlim_resource = RLIMIT_NOFILE; 60 #else /* ifdef RLIMIT_NOFILE */ 62 #endif /* ifdef RLIMIT_NOFILE */
|
| /src/sys/compat/linux/common/ |
| linux_limit.h | 91 return RLIMIT_NOFILE;
|
| /src/external/mit/libuv/dist/test/ |
| test-emfile.c | 56 if (setrlimit(RLIMIT_NOFILE, &limits)) { 58 RETURN_SKIP("setrlimit(RLIMIT_NOFILE) failed, running under valgrind?");
|
| /src/external/mpl/bind/dist/bin/tests/system/doth/ |
| stress_http_quota.py | 15 from resource import RLIMIT_NOFILE, getrlimit, setrlimit 30 rlimit_nofile = getrlimit(RLIMIT_NOFILE) variable 31 if rlimit_nofile[0] < 1024: 32 setrlimit(RLIMIT_NOFILE, (1024, rlimit_nofile[1]))
|
| /src/external/bsd/ntp/dist/sntp/libevent/test/ |
| bench_cascade.c | 169 if (setrlimit(RLIMIT_NOFILE, &rl) == -1) {
|
| /src/usr.bin/sort/ |
| sort.c | 132 /* bump RLIMIT_NOFILE to maximum our hard limit allows */ 133 if (getrlimit(RLIMIT_NOFILE, &rl) < 0) 136 if (setrlimit(RLIMIT_NOFILE, &rl) < 0)
|
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| filestuff.cc | 138 #if defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE) 141 if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && rlim.rlim_max != RLIM_INFINITY)
|
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| filestuff.cc | 138 #if defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE) 141 if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && rlim.rlim_max != RLIM_INFINITY)
|
| /src/bin/sh/ |
| miscbltin.c | 603 #ifdef RLIMIT_NOFILE 604 { "nofiles", "descriptors", 'n', RLIMIT_NOFILE, 1 }, 736 if (l->cmd == RLIMIT_NOFILE)
|
| /src/sys/miscfs/procfs/ |
| procfs_limit.c | 63 { "Max open files", "files", RLIMIT_NOFILE },
|
| /src/external/bsd/libevent/dist/test/ |
| bench.c | 194 if (setrlimit(RLIMIT_NOFILE, &rl) == -1) {
|
| bench_cascade.c | 170 if (setrlimit(RLIMIT_NOFILE, &rl) == -1) {
|
| test-fdleak.c | 233 if (setrlimit(RLIMIT_NOFILE, &rl) == -1) {
|