/external/valgrind/main/none/tests/ |
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 | 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 | closeall.c | 13 for ( fd = 3; fd < lim.rlim_cur; fd++ ) in main()
|
/external/strace/ |
D | resource.c | 130 unsigned int rlim_cur; in print_rlimit32() member 138 sprintrlim(rlim.rlim_cur == -1 ? RLIM_INFINITY in print_rlimit32() 139 : rlim.rlim_cur)); in print_rlimit32() 166 tprintf("{rlim_cur=%s,", sprintrlim(rlim.rlim_cur)); in sys_getrlimit() 190 tprintf("{rlim_cur=%s,", sprintrlim(rlim.rlim_cur)); in sys_setrlimit() 228 tprintf("{rlim_cur=%s,", sprintrlim64(rlim.rlim_cur)); in sys_getrlimit64() 248 tprintf("{rlim_cur=%s,", sprintrlim64(rlim.rlim_cur)); in sys_setrlimit64()
|
/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/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 183 nocore.rlim_cur = 0; in DisableCoreDumper() 191 return (rlim.rlim_cur == (uptr)-1); in StackSizeIsUnlimited() 196 rlim.rlim_cur = limit; in SetStackSizeLimitInBytes()
|
/external/chromium/base/threading/ |
D | platform_thread_posix.cc | 95 stack_rlimit.rlim_cur != RLIM_INFINITY) { in CreateThread() 98 static_cast<size_t>(stack_rlimit.rlim_cur)); in CreateThread()
|
/external/valgrind/main/none/tests/darwin/ |
D | rlimit.c | 14 fprintf(stderr, "RLIMIT_NOFILE is %lld\n", (long long)rlp.rlim_cur); in main()
|
/external/kernel-headers/original/linux/ |
D | resource.h | 43 unsigned long rlim_cur; member
|
D | compat.h | 89 compat_ulong_t rlim_cur; member
|
/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 | ssh-keyscan.c | 116 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() 137 rlfd.rlim_cur = lim; in fdlim_set()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_mac.cc | 80 lim.rlim_cur = 0; in InitializePlatform()
|
D | tsan_platform_linux.cc | 244 return rlim.rlim_cur; in getlim() 250 rlim.rlim_cur = lim; in setlim()
|
/external/llvm/lib/Support/Unix/ |
D | Program.inc | 155 __typeof__ (r.rlim_cur) limit = (__typeof__ (r.rlim_cur)) (size) * 1048576; 159 r.rlim_cur = limit; 164 r.rlim_cur = limit; 173 r.rlim_cur = limit;
|
/external/elfutils/tests/ |
D | dwfl-bug-fd-leak.c | 99 struct rlimit fd_limit = { .rlim_cur = 32, .rlim_max = 32 }; in main()
|
/external/chromium/base/ |
D | process_linux.cc | 108 if ((20 - current_priority) > static_cast<int>(rlim.rlim_cur)) { in SetProcessBackgrounded()
|
D | process_util_unittest.cc | 387 if (rlim.rlim_cur > max_int) { in GetMaxFilesOpenInProcess() 391 return rlim.rlim_cur; in GetMaxFilesOpenInProcess()
|
/external/chromium/third_party/libevent/ |
D | devpoll.c | 141 rl.rlim_cur != RLIM_INFINITY) in devpoll_init() 142 nfiles = rl.rlim_cur; in devpoll_init()
|
/external/valgrind/main/coregrind/ |
D | m_main.c | 1363 rl.rlim_cur = 1024; in setup_file_descriptors() 1370 if (rl.rlim_cur >= 10240 && rl.rlim_max == 0x7fffffffffffffffULL) { in setup_file_descriptors() 1377 (UWord)rl.rlim_cur, (UWord)rl.rlim_max); in setup_file_descriptors() 1380 if (rl.rlim_cur + N_RESERVED_FDS <= rl.rlim_max) { in setup_file_descriptors() 1381 rl.rlim_cur = rl.rlim_cur + N_RESERVED_FDS; in setup_file_descriptors() 1383 rl.rlim_cur = rl.rlim_max; in setup_file_descriptors() 1387 VG_(fd_soft_limit) = rl.rlim_cur - N_RESERVED_FDS; in setup_file_descriptors() 1388 VG_(fd_hard_limit) = rl.rlim_cur - N_RESERVED_FDS; in setup_file_descriptors() 1395 (UWord)rl.rlim_cur, (UWord)rl.rlim_max); in setup_file_descriptors()
|
/external/chromium/third_party/libevent/test/ |
D | bench.c | 152 rl.rlim_cur = rl.rlim_max = num_pipes * 2 + 50;
|
/external/chromium/chrome/browser/ |
D | browser_main_posix.cc | 173 limits.rlim_cur = new_limit; in SetFileDescriptorLimit()
|
/external/e2fsprogs/lib/ext2fs/ |
D | unix_io.c | 550 rlim.rlim_cur = rlim.rlim_max = (unsigned long) RLIM_INFINITY; in unix_open() 553 if (((unsigned long) rlim.rlim_cur) < in unix_open() 555 rlim.rlim_cur = rlim.rlim_max; in unix_open()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-linux.c | 1349 ((struct vki_rlimit64 *)ARG3)->rlim_cur > ((struct vki_rlimit64 *)ARG3)->rlim_max) { in PRE() 1357 ((struct vki_rlimit64 *)ARG4)->rlim_cur = VG_(fd_soft_limit); in PRE() 1361 if (((struct vki_rlimit64 *)ARG3)->rlim_cur > VG_(fd_hard_limit) || in PRE() 1366 VG_(fd_soft_limit) = ((struct vki_rlimit64 *)ARG3)->rlim_cur; in PRE() 1374 ((struct vki_rlimit64 *)ARG4)->rlim_cur = VG_(client_rlimit_data).rlim_cur; in PRE() 1378 if (((struct vki_rlimit64 *)ARG3)->rlim_cur > VG_(client_rlimit_data).rlim_max || in PRE() 1383 VG_(client_rlimit_data).rlim_cur = ((struct vki_rlimit64 *)ARG3)->rlim_cur; in PRE() 1392 ((struct vki_rlimit64 *)ARG4)->rlim_cur = VG_(client_rlimit_stack).rlim_cur; in PRE() 1396 if (((struct vki_rlimit64 *)ARG3)->rlim_cur > VG_(client_rlimit_stack).rlim_max || in PRE() 1401 VG_(threads)[tid].client_stack_szB = ((struct vki_rlimit64 *)ARG3)->rlim_cur; in PRE() [all …]
|