/external/curl/tests/libtest/ |
D | lib537.c | 70 num_open.rlim_cur < num_open.rlim_max; in close_file_descriptors() 117 if(sizeof(rl.rlim_max) > sizeof(long)) 121 fmt = (sizeof(rl.rlim_max) < sizeof(long))?fmt_u:fmt_lu; 142 if(rl.rlim_max == RLIM_INFINITY) 146 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); 158 if(rl.rlim_cur != rl.rlim_max) { 175 rl.rlim_cur = rl.rlim_max; 202 if(rl.rlim_max == RLIM_INFINITY) 206 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); 235 num_open.rlim_max = sizeof(*memchunk) * (size_t)nitems; [all …]
|
D | lib518.c | 69 num_open.rlim_cur < num_open.rlim_max; in close_file_descriptors() 116 if(sizeof(rl.rlim_max) > sizeof(long)) in rlimit() 120 fmt = (sizeof(rl.rlim_max) < sizeof(long))?fmt_u:fmt_lu; in rlimit() 141 if(rl.rlim_max == RLIM_INFINITY) in rlimit() 145 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit() 163 if(rl.rlim_cur != rl.rlim_max) { in rlimit() 180 rl.rlim_cur = rl.rlim_max; in rlimit() 207 if(rl.rlim_max == RLIM_INFINITY) in rlimit() 211 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit() 261 num_open.rlim_max = sizeof(*memchunk) * (size_t)nitems; in rlimit() [all …]
|
/external/valgrind/none/tests/ |
D | rlimit64_nofile.c | 26 newrlim.rlim_cur = oldrlim.rlim_max+1; in main() 27 newrlim.rlim_max = oldrlim.rlim_max; in main() 41 newrlim.rlim_cur = oldrlim.rlim_max; in main() 42 newrlim.rlim_max = oldrlim.rlim_max+1; in main() 57 newrlim.rlim_max = oldrlim.rlim_max; in main() 78 if (newrlim.rlim_max != oldrlim.rlim_max) in main() 81 (unsigned long long)newrlim.rlim_max, in main() 82 (unsigned long long)oldrlim.rlim_max); in main()
|
D | rlimit_nofile.c | 23 newrlim.rlim_cur = oldrlim.rlim_max+1; in main() 24 newrlim.rlim_max = oldrlim.rlim_max; in main() 38 newrlim.rlim_cur = oldrlim.rlim_max; in main() 39 newrlim.rlim_max = oldrlim.rlim_max+1; in main() 54 newrlim.rlim_max = oldrlim.rlim_max; in main() 75 if (newrlim.rlim_max != oldrlim.rlim_max) in main() 78 (unsigned long long)newrlim.rlim_max, in main() 79 (unsigned long long)oldrlim.rlim_max); in main()
|
/external/strace/ |
D | resource.c | 56 uint64_t rlim_max; in print_rlimit64() member 61 tprintf(" rlim_max=%s}", sprint_rlim64(rlim.rlim_max)); in print_rlimit64() 87 uint32_t rlim_max; in print_rlimit32() member 92 tprintf(" rlim_max=%s}", sprint_rlim32(rlim.rlim_max)); in print_rlimit32()
|
/external/libchrome/base/process/ |
D | process_metrics_posix.cc | 64 if (limits.rlim_max > 0 && limits.rlim_max < max_descriptors) { in SetFdLimit() 65 new_limit = limits.rlim_max; in SetFdLimit()
|
D | launch_posix.cc | 403 } else if (limit.rlim_cur < limit.rlim_max) { in LaunchProcess() 404 limit.rlim_cur = limit.rlim_max; in LaunchProcess()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-x86-solaris.c | 839 if (limit && limit->rlim_cur > limit->rlim_max) in PRE() 843 limit->rlim_max != VG_(fd_hard_limit)) { in PRE() 852 if (limit->rlim_cur > VG_(client_rlimit_data).rlim_max || in PRE() 853 limit->rlim_max > VG_(client_rlimit_data).rlim_max) { in PRE() 857 VG_(client_rlimit_data).rlim_max = limit->rlim_max; in PRE() 863 if (limit->rlim_cur > VG_(client_rlimit_stack).rlim_max || in PRE() 864 limit->rlim_max > VG_(client_rlimit_stack).rlim_max) { in PRE() 874 VG_(client_rlimit_stack).rlim_max = limit->rlim_max; in PRE() 900 rlim->rlim_max = VG_(fd_hard_limit); in POST() 904 rlim->rlim_max = VG_(client_rlimit_data).rlim_max; in POST() [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | resource.h | 44 __kernel_ulong_t rlim_max; member 51 __u64 rlim_max; member
|
/external/toybox/toys/posix/ |
D | ulimit.c | 94 rlim_t rl = (toys.optflags&FLAG_H) ? rr.rlim_max : rr.rlim_cur; in ulimit_main() 112 if (toys.optflags&FLAG_H) rr.rlim_max = val; in ulimit_main()
|
/external/blktrace/btt/ |
D | misc.c | 94 if (rlim.rlim_cur >= rlim.rlim_max) in increase_limit() 95 rlim.rlim_max = rlim.rlim_cur + increase; in increase_limit()
|
/external/compiler-rt/test/sanitizer_common/TestCases/ |
D | corelimit.cc | 13 assert(0 == lim_core.rlim_max); in main()
|
/external/libchrome/sandbox/linux/services/ |
D | resource_limits.cc | 21 std::min(old_rlimit.rlim_max, limit)}; in Lower()
|
/external/openssh/ |
D | sandbox-rlimit.c | 65 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
|
D | sandbox-darwin.c | 73 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
|
D | sandbox-capsicum.c | 73 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
|
D | sandbox-seccomp-filter.c | 275 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
|
/external/libunwind/tests/ |
D | test-mem.c | 97 rlim.rlim_max = RLIM_INFINITY; in main()
|
D | Gperf-simple.c | 238 rlim.rlim_max = RLIM_INFINITY; in main()
|
D | Gperf-trace.c | 224 rlim.rlim_max = RLIM_INFINITY; in main()
|
/external/elfutils/tests/ |
D | dwfl-bug-fd-leak.c | 104 struct rlimit fd_limit = { .rlim_cur = 32, .rlim_max = 32 }; in main()
|
/external/bison/m4/ |
D | printf.m4 | 999 if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) 1000 limit.rlim_max = 5000000; 1001 limit.rlim_cur = limit.rlim_max; 1009 if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) 1010 limit.rlim_max = 5000000; 1011 limit.rlim_cur = limit.rlim_max; 1019 if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) 1020 limit.rlim_max = 5000000; 1021 limit.rlim_cur = limit.rlim_max;
|
/external/valgrind/coregrind/ |
D | m_main.c | 1523 rl.rlim_max = 1024; in setup_file_descriptors() 1529 if (rl.rlim_cur >= 10240 && rl.rlim_max == 0x7fffffffffffffffULL) { in setup_file_descriptors() 1530 rl.rlim_max = 10240; in setup_file_descriptors() 1536 (ULong)rl.rlim_cur, (ULong)rl.rlim_max); in setup_file_descriptors() 1539 if (rl.rlim_cur + N_RESERVED_FDS <= rl.rlim_max) { in setup_file_descriptors() 1542 rl.rlim_cur = rl.rlim_max; in setup_file_descriptors() 1554 (UWord)rl.rlim_cur, (UWord)rl.rlim_max); in setup_file_descriptors() 1808 zero.rlim_max = VG_(client_rlimit_data).rlim_max; in valgrind_main()
|
/external/e2fsprogs/lib/ext2fs/ |
D | unix_io.c | 611 rlim.rlim_cur = rlim.rlim_max = (unsigned long) RLIM_INFINITY; in unix_open() 615 ((unsigned long) rlim.rlim_max)) { in unix_open() 616 rlim.rlim_cur = rlim.rlim_max; in unix_open()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix_libcdep.cc | 82 rlim.rlim_max = lim; in setlim()
|