/system/extras/tests/bionic/libc/common/ |
test_executable_destructor.c | 71 struct rlimit rlim; local 72 rlim.rlim_cur = 0; 73 rlim.rlim_max = RLIM_INFINITY; 74 setrlimit(RLIMIT_CORE, &rlim);
|
/external/blktrace/btt/ |
misc.c | 89 struct rlimit rlim; local 92 if (!getrlimit(resource, &rlim)) { 93 rlim.rlim_cur += increase; 94 if (rlim.rlim_cur >= rlim.rlim_max) 95 rlim.rlim_max = rlim.rlim_cur + increase; 97 if (!setrlimit(resource, &rlim))
|
/external/chromium/base/ |
process_linux.cc | 94 struct rlimit rlim; local 95 if (getrlimit(RLIMIT_NICE, &rlim) != 0) { 108 if ((20 - current_priority) > static_cast<int>(rlim.rlim_cur)) {
|
process_util_unittest.cc | 379 struct rlimit rlim; local 380 if (getrlimit(RLIMIT_NOFILE, &rlim) != 0) { 387 if (rlim.rlim_cur > max_int) { 391 return rlim.rlim_cur;
|
/external/strace/ |
resource.c | 135 struct rlimit rlim; local 144 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0) 147 tprintf("{rlim_cur=%s,", sprintrlim(rlim.rlim_cur)); 148 tprintf(" rlim_max=%s}", sprintrlim(rlim.rlim_max)); 158 struct rlimit rlim; local 165 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0) 168 tprintf("{rlim_cur=%s,", sprintrlim(rlim.rlim_cur)); 169 tprintf(" rlim_max=%s}", sprintrlim(rlim.rlim_max)); 197 struct rlimit64 rlim; local 206 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0 220 struct rlimit64 rlim; local [all...] |
/external/valgrind/main/include/ |
pub_tool_libcproc.h | 64 extern Int VG_(getrlimit) ( Int resource, struct vki_rlimit *rlim ); 65 extern Int VG_(setrlimit) ( Int resource, const struct vki_rlimit *rlim );
|
/dalvik/vm/native/ |
dalvik_system_Zygote.cpp | 193 struct rlimit rlim; local 199 memset (&rlim, 0, sizeof(rlim)); 213 rlim.rlim_cur = contents[1]; 214 rlim.rlim_max = contents[2]; 216 err = setrlimit(contents[0], &rlim);
|
/external/e2fsprogs/lib/ext2fs/ |
unix_io.c | 503 struct rlimit rlim; local 505 rlim.rlim_cur = rlim.rlim_max = (unsigned long) RLIM_INFINITY; 506 setrlimit(RLIMIT_FSIZE, &rlim); 507 getrlimit(RLIMIT_FSIZE, &rlim); 508 if (((unsigned long) rlim.rlim_cur) < 509 ((unsigned long) rlim.rlim_max)) { 510 rlim.rlim_cur = rlim.rlim_max; 511 setrlimit(RLIMIT_FSIZE, &rlim); [all...] |
/external/valgrind/main/coregrind/ |
m_libcproc.c | 399 Int VG_(getrlimit) (Int resource, struct vki_rlimit *rlim) 402 /* res = getrlimit( resource, rlim ); */ 404 res = VG_(do_syscall2)(__NR_ugetrlimit, resource, (UWord)rlim); 407 res = VG_(do_syscall2)(__NR_getrlimit, resource, (UWord)rlim); 413 Int VG_(setrlimit) (Int resource, const struct vki_rlimit *rlim) 416 /* res = setrlimit( resource, rlim ); */ 417 res = VG_(do_syscall2)(__NR_setrlimit, resource, (UWord)rlim);
|
/external/oprofile/daemon/ |
oprofiled.c | 501 struct rlimit rlim = { 2048, 2048 }; local 508 err = setrlimit(RLIMIT_NOFILE, &rlim);
|
/external/blktrace/ |
blktrace.c | 624 struct rlimit rlim; local 627 if (!getrlimit(resource, &rlim)) { 628 rlim.rlim_cur += increase; 629 if (rlim.rlim_cur >= rlim.rlim_max) 630 rlim.rlim_max = rlim.rlim_cur + increase; 632 if (!setrlimit(resource, &rlim)) [all...] |
/ndk/sources/host-tools/make-3.81/ |
main.c | 923 struct rlimit rlim; 926 if (getrlimit (RLIMIT_STACK, &rlim) == 0) 928 rlim.rlim_cur = rlim.rlim_max; 929 setrlimit (RLIMIT_STACK, &rlim); 919 struct rlimit rlim; local [all...] |
/external/pcre/ |
pcretest.c | [all...] |
/external/valgrind/main/memcheck/tests/x86-linux/ |
scalar.stderr.exp | 647 Syscall param setrlimit(rlim) contains uninitialised byte(s) 650 Syscall param setrlimit(rlim) points to unaddressable byte(s) 660 Syscall param old_getrlimit(rlim) contains uninitialised byte(s) 663 Syscall param old_getrlimit(rlim) points to unaddressable byte(s) [all...] |
/external/kernel-headers/original/linux/ |
mm.h | 692 if (current->signal->rlim[RLIMIT_MEMLOCK].rlim_cur != 0) [all...] |
sched.h | 453 struct rlimit rlim[RLIM_NLIMITS]; member in struct:signal_struct [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-generic.c | [all...] |