/external/valgrind/none/tests/ |
D | rlimit64_nofile.c | 26 newrlim.rlim_cur = oldrlim.rlim_max+1; in main() 41 newrlim.rlim_cur = oldrlim.rlim_max; in main() 56 newrlim.rlim_cur = oldrlim.rlim_cur / 2; in main() 71 if (newrlim.rlim_cur != oldrlim.rlim_cur / 2) in main() 74 (unsigned long long)newrlim.rlim_cur, in main() 75 (unsigned long long)oldrlim.rlim_cur / 2); in main() 85 newrlim.rlim_cur -= 3; /* allow for stdin, stdout and stderr */ in main() 87 while (newrlim.rlim_cur-- > 0) in main()
|
D | rlimit_nofile.c | 23 newrlim.rlim_cur = oldrlim.rlim_max+1; in main() 38 newrlim.rlim_cur = oldrlim.rlim_max; in main() 53 newrlim.rlim_cur = oldrlim.rlim_cur / 2; in main() 68 if (newrlim.rlim_cur != oldrlim.rlim_cur / 2) in main() 71 (unsigned long long)newrlim.rlim_cur, in main() 72 (unsigned long long)oldrlim.rlim_cur / 2); in main() 82 newrlim.rlim_cur -= 3; /* allow for stdin, stdout and stderr */ in main() 84 while (newrlim.rlim_cur-- > 0) in main()
|
D | closeall.c | 13 for ( fd = 3; fd < lim.rlim_cur; fd++ ) in main()
|
/external/blktrace/btt/ |
D | misc.c | 93 rlim.rlim_cur += increase; in increase_limit() 94 if (rlim.rlim_cur >= rlim.rlim_max) in increase_limit() 95 rlim.rlim_max = rlim.rlim_cur + increase; in increase_limit()
|
/external/kernel-headers/original/uapi/linux/ |
D | resource.h | 43 __kernel_ulong_t rlim_cur; member 50 __u64 rlim_cur; member
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | stack-overflow-sigbus.cc | 32 if (rlim.rlim_cur == RLIM_INFINITY) { in LimitStackAndReexec() 33 rlim.rlim_cur = 256 * 1024; in LimitStackAndReexec()
|
/external/strace/ |
D | resource.c | 57 uint64_t rlim_cur; in print_rlimit64() member 64 tprintf("{rlim_cur=%s,", sprint_rlim64(rlim.rlim_cur)); in print_rlimit64() 102 uint32_t rlim_cur; in print_rlimit32() member 109 tprintf("{rlim_cur=%s,", sprint_rlim32(rlim.rlim_cur)); in print_rlimit32()
|
/external/compiler-rt/test/asan/TestCases/ |
D | stack-overflow.cc | 94 if (rlim.rlim_cur == RLIM_INFINITY) { in LimitStackAndReexec() 95 rlim.rlim_cur = 256 * 1024; in LimitStackAndReexec()
|
/external/v8/src/base/ |
D | sys-info.cc | 120 return (rlim.rlim_cur == RLIM_INFINITY) ? 0 : rlim.rlim_cur; in AmountOfVirtualMemory()
|
/external/valgrind/none/tests/darwin/ |
D | rlimit.c | 14 fprintf(stderr, "RLIMIT_NOFILE is %lld\n", (long long)rlp.rlim_cur); in main()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix_libcdep.cc | 65 return rlim.rlim_cur; in getlim() 71 rlim.rlim_cur = lim; in setlim()
|
D | sanitizer_mac.cc | 173 if (rl.rlim_cur < kMaxThreadStackSize) { in GetThreadStackTopAndBottom() 174 stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom()
|
/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 | ssh-keyscan.c | 121 if ((hard ? rlfd.rlim_max : rlfd.rlim_cur) == RLIM_INFINITY) in fdlim_get() 124 return hard ? rlfd.rlim_max : rlfd.rlim_cur; in fdlim_get() 142 rlfd.rlim_cur = lim; in fdlim_set()
|
D | sandbox-seccomp-filter.c | 204 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
|
/external/libunwind/tests/ |
D | test-mem.c | 96 rlim.rlim_cur = 0; in main()
|
D | Gperf-trace.c | 223 rlim.rlim_cur = RLIM_INFINITY; in main()
|
D | Gperf-simple.c | 237 rlim.rlim_cur = RLIM_INFINITY; in main()
|
/external/elfutils/src/tests/ |
D | dwfl-bug-fd-leak.c | 91 struct rlimit fd_limit = { .rlim_cur = 32, .rlim_max = 32 }; in main()
|
/external/llvm/lib/Support/Unix/ |
D | Program.inc | 153 __typeof__ (r.rlim_cur) limit = (__typeof__ (r.rlim_cur)) (size) * 1048576; 157 r.rlim_cur = limit; 162 r.rlim_cur = limit; 171 r.rlim_cur = limit;
|
/external/valgrind/coregrind/ |
D | m_main.c | 1529 rl.rlim_cur = 1024; in setup_file_descriptors() 1536 if (rl.rlim_cur >= 10240 && rl.rlim_max == 0x7fffffffffffffffULL) { in setup_file_descriptors() 1543 (UWord)rl.rlim_cur, (UWord)rl.rlim_max); in setup_file_descriptors() 1546 if (rl.rlim_cur + N_RESERVED_FDS <= rl.rlim_max) { in setup_file_descriptors() 1547 rl.rlim_cur = rl.rlim_cur + N_RESERVED_FDS; in setup_file_descriptors() 1549 rl.rlim_cur = rl.rlim_max; in setup_file_descriptors() 1553 VG_(fd_soft_limit) = rl.rlim_cur - N_RESERVED_FDS; in setup_file_descriptors() 1554 VG_(fd_hard_limit) = rl.rlim_cur - N_RESERVED_FDS; in setup_file_descriptors() 1561 (UWord)rl.rlim_cur, (UWord)rl.rlim_max); in setup_file_descriptors()
|
/external/fio/engines/ |
D | rdma.c | 1028 if ((rl.rlim_cur != RLIM_INFINITY) in check_set_rlimits() 1029 && (rl.rlim_cur < td->orig_buffer_size)) { in check_set_rlimits() 1031 rl.rlim_cur); in check_set_rlimits() 1035 rl.rlim_cur = rl.rlim_max; in check_set_rlimits()
|
/external/e2fsprogs/lib/ext2fs/ |
D | unix_io.c | 611 rlim.rlim_cur = rlim.rlim_max = (unsigned long) RLIM_INFINITY; in unix_open() 614 if (((unsigned long) rlim.rlim_cur) < in unix_open() 616 rlim.rlim_cur = rlim.rlim_max; in unix_open()
|