Home
last modified time | relevance | path

Searched refs:rlim_cur (Results 1 – 25 of 50) sorted by relevance

12

/external/valgrind/none/tests/
Drlimit64_nofile.c26 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()
Drlimit_nofile.c23 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()
Dcloseall.c13 for ( fd = 3; fd < lim.rlim_cur; fd++ ) in main()
/external/blktrace/btt/
Dmisc.c93 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/
Dresource.h43 __kernel_ulong_t rlim_cur; member
50 __u64 rlim_cur; member
/external/compiler-rt/test/asan/TestCases/Linux/
Dstack-overflow-sigbus.cc32 if (rlim.rlim_cur == RLIM_INFINITY) { in LimitStackAndReexec()
33 rlim.rlim_cur = 256 * 1024; in LimitStackAndReexec()
/external/strace/
Dresource.c57 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/
Dstack-overflow.cc94 if (rlim.rlim_cur == RLIM_INFINITY) { in LimitStackAndReexec()
95 rlim.rlim_cur = 256 * 1024; in LimitStackAndReexec()
/external/v8/src/base/
Dsys-info.cc120 return (rlim.rlim_cur == RLIM_INFINITY) ? 0 : rlim.rlim_cur; in AmountOfVirtualMemory()
/external/valgrind/none/tests/darwin/
Drlimit.c14 fprintf(stderr, "RLIMIT_NOFILE is %lld\n", (long long)rlp.rlim_cur); in main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc65 return rlim.rlim_cur; in getlim()
71 rlim.rlim_cur = lim; in setlim()
Dsanitizer_mac.cc173 if (rl.rlim_cur < kMaxThreadStackSize) { in GetThreadStackTopAndBottom()
174 stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom()
/external/openssh/
Dsandbox-rlimit.c65 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
Dsandbox-darwin.c73 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
Dsandbox-capsicum.c73 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
Dssh-keyscan.c121 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()
Dsandbox-seccomp-filter.c204 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
/external/libunwind/tests/
Dtest-mem.c96 rlim.rlim_cur = 0; in main()
DGperf-trace.c223 rlim.rlim_cur = RLIM_INFINITY; in main()
DGperf-simple.c237 rlim.rlim_cur = RLIM_INFINITY; in main()
/external/elfutils/src/tests/
Ddwfl-bug-fd-leak.c91 struct rlimit fd_limit = { .rlim_cur = 32, .rlim_max = 32 }; in main()
/external/llvm/lib/Support/Unix/
DProgram.inc153 __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/
Dm_main.c1529 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/
Drdma.c1028 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/
Dunix_io.c611 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()

12