Home
last modified time | relevance | path

Searched refs:rlim_max (Results 1 – 25 of 48) sorted by relevance

12

/external/curl/tests/libtest/
Dlib537.c70 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 …]
Dlib518.c69 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/
Drlimit64_nofile.c26 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()
Drlimit_nofile.c23 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/
Dresource.c56 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/
Dprocess_metrics_posix.cc64 if (limits.rlim_max > 0 && limits.rlim_max < max_descriptors) { in SetFdLimit()
65 new_limit = limits.rlim_max; in SetFdLimit()
Dlaunch_posix.cc403 } else if (limit.rlim_cur < limit.rlim_max) { in LaunchProcess()
404 limit.rlim_cur = limit.rlim_max; in LaunchProcess()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-x86-solaris.c839 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/
Dresource.h44 __kernel_ulong_t rlim_max; member
51 __u64 rlim_max; member
/external/toybox/toys/posix/
Dulimit.c94 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/
Dmisc.c94 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/
Dcorelimit.cc13 assert(0 == lim_core.rlim_max); in main()
/external/libchrome/sandbox/linux/services/
Dresource_limits.cc21 std::min(old_rlimit.rlim_max, limit)}; in Lower()
/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()
Dsandbox-seccomp-filter.c275 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()
/external/libunwind/tests/
Dtest-mem.c97 rlim.rlim_max = RLIM_INFINITY; in main()
DGperf-simple.c238 rlim.rlim_max = RLIM_INFINITY; in main()
DGperf-trace.c224 rlim.rlim_max = RLIM_INFINITY; in main()
/external/elfutils/tests/
Ddwfl-bug-fd-leak.c104 struct rlimit fd_limit = { .rlim_cur = 32, .rlim_max = 32 }; in main()
/external/bison/m4/
Dprintf.m4999 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/
Dm_main.c1523 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/
Dunix_io.c611 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/
Dsanitizer_posix_libcdep.cc82 rlim.rlim_max = lim; in setlim()

12