Home
last modified time | relevance | path

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

/external/valgrind/main/none/tests/
Drlimit_nofile.c24 newrlim.rlim_max = oldrlim.rlim_max; in main()
45 if (newrlim.rlim_max != oldrlim.rlim_max) in main()
48 (unsigned long long)newrlim.rlim_max, in main()
49 (unsigned long long)oldrlim.rlim_max); in main()
/external/strace/
Dresource.c131 unsigned int rlim_max; in print_rlimit32() member
141 sprintrlim(rlim.rlim_max == -1 ? RLIM_INFINITY in print_rlimit32()
142 : rlim.rlim_max)); in print_rlimit32()
167 tprintf(" rlim_max=%s}", sprintrlim(rlim.rlim_max)); in sys_getrlimit()
191 tprintf(" rlim_max=%s}", sprintrlim(rlim.rlim_max)); in sys_setrlimit()
229 tprintf(" rlim_max=%s}", sprintrlim64(rlim.rlim_max)); in sys_getrlimit64()
249 tprintf(" rlim_max=%s}", sprintrlim64(rlim.rlim_max)); in sys_setrlimit64()
/external/chromium/chrome/browser/
Dbrowser_main_posix.cc170 if (limits.rlim_max > 0 && limits.rlim_max < max_descriptors) { in SetFileDescriptorLimit()
171 new_limit = limits.rlim_max; in SetFileDescriptorLimit()
/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/kernel-headers/original/linux/
Dresource.h44 unsigned long rlim_max; member
Dcompat.h90 compat_ulong_t rlim_max; member
/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()
Dssh-keyscan.c116 if ((hard ? rlfd.rlim_max : rlfd.rlim_cur) == RLIM_INFINITY) in fdlim_get()
119 return hard ? rlfd.rlim_max : rlfd.rlim_cur; in fdlim_get()
Dssh.c294 rlim.rlim_cur = rlim.rlim_max = 0; in main()
Dssh-agent.c1335 rlim.rlim_cur = rlim.rlim_max = 0; in main()
/external/elfutils/tests/
Ddwfl-bug-fd-leak.c99 struct rlimit fd_limit = { .rlim_cur = 32, .rlim_max = 32 }; in main()
/external/chromium/third_party/libevent/test/
Dbench.c152 rl.rlim_cur = rl.rlim_max = num_pipes * 2 + 50;
/external/valgrind/main/coregrind/
Dm_main.c1258 rl.rlim_max = 1024; in setup_file_descriptors()
1264 if (rl.rlim_cur >= 10240 && rl.rlim_max == 0x7fffffffffffffffULL) { in setup_file_descriptors()
1265 rl.rlim_max = 10240; in setup_file_descriptors()
1271 (UWord)rl.rlim_cur, (UWord)rl.rlim_max); in setup_file_descriptors()
1278 if (rl.rlim_cur + N_RESERVED_FDS <= rl.rlim_max) { in setup_file_descriptors()
1281 rl.rlim_cur = rl.rlim_max; in setup_file_descriptors()
1293 (UWord)rl.rlim_cur, (UWord)rl.rlim_max); in setup_file_descriptors()
1586 zero.rlim_max = VG_(client_rlimit_data).rlim_max; in valgrind_main()
/external/compiler-rt/lib/asan/
Dasan_posix.cc110 nocore.rlim_max = 0; in AsanDisableCoreDumper()
/external/e2fsprogs/lib/ext2fs/
Dunix_io.c505 rlim.rlim_cur = rlim.rlim_max = (unsigned long) RLIM_INFINITY; in unix_open()
509 ((unsigned long) rlim.rlim_max)) { in unix_open()
510 rlim.rlim_cur = rlim.rlim_max; in unix_open()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-generic.c3220 ((struct vki_rlimit *)a2)->rlim_max = VG_(fd_hard_limit); in common_post_getrlimit()
3940 ((struct vki_rlimit *)ARG2)->rlim_max != VG_(fd_hard_limit)) { in PRE()
3949 if (((struct vki_rlimit *)ARG2)->rlim_cur > VG_(client_rlimit_data).rlim_max || in PRE()
3950 ((struct vki_rlimit *)ARG2)->rlim_max > VG_(client_rlimit_data).rlim_max) { in PRE()
3959 if (((struct vki_rlimit *)ARG2)->rlim_cur > VG_(client_rlimit_stack).rlim_max || in PRE()
3960 ((struct vki_rlimit *)ARG2)->rlim_max > VG_(client_rlimit_stack).rlim_max) { in PRE()
Dsyswrap-linux.c1298 ((struct vki_rlimit64 *)ARG4)->rlim_max = VG_(fd_hard_limit); in POST()
1303 ((struct vki_rlimit64 *)ARG4)->rlim_max = VG_(client_rlimit_data).rlim_max; in POST()
1308 ((struct vki_rlimit64 *)ARG4)->rlim_max = VG_(client_rlimit_stack).rlim_max; in POST()
/external/dropbear/
Ddbutil.c699 lim.rlim_cur = lim.rlim_max = 0; in disallow_core()
/external/llvm/lib/Support/Unix/
DProcess.inc149 rlim.rlim_cur = rlim.rlim_max = 0;
/external/valgrind/main/include/vki/
Dvki-linux.h923 unsigned long rlim_max; member
928 __vki_u64 rlim_max; member
/external/mksh/src/
Dfuncs.c3451 limit.rlim_max = RLIM_INFINITY; in set_ulimit()
3456 limit.rlim_max = val; in set_ulimit()
3479 val = limit.rlim_max; in print_ulimit()
/external/blktrace/
Dblktrace.c629 if (rlim.rlim_cur >= rlim.rlim_max) in increase_limit()
630 rlim.rlim_max = rlim.rlim_cur + increase; in increase_limit()
/external/mdnsresponder/mDNSShared/
Duds_daemon.c4061 newfds.rlim_max = (maxfds.rlim_max > MIN_OPENFILES) ? maxfds.rlim_max : MIN_OPENFILES; in udsserver_init()
4063 if (newfds.rlim_max != maxfds.rlim_max || newfds.rlim_cur != maxfds.rlim_cur) in udsserver_init()
4067 debugf("maxfds.rlim_max %d", (long)maxfds.rlim_max); in udsserver_init()
Ddnsextd.c3054 rlim.rlim_max = RLIM_INFINITY; in main()