Home
last modified time | relevance | path

Searched refs:RLIMIT_AS (Results 1 – 24 of 24) sorted by relevance

/external/kernel-headers/original/uapi/asm-generic/
Dresource.h37 #ifndef RLIMIT_AS
38 # define RLIMIT_AS 9 /* address space limit */ macro
/external/strace/xlat/
Dresources.h11 #if defined(RLIMIT_AS) || (defined(HAVE_DECL_RLIMIT_AS) && HAVE_DECL_RLIMIT_AS)
12 XLAT(RLIMIT_AS),
Dresources.in1 RLIMIT_AS
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions_unittests.cc198 BPF_ASSERT_EQ(0, sys_prlimit64(0, RLIMIT_AS, NULL, NULL)); in BPF_TEST_C()
199 BPF_ASSERT_EQ(0, sys_prlimit64(getpid(), RLIMIT_AS, NULL, NULL)); in BPF_TEST_C()
208 sys_prlimit64(kInitPID, RLIMIT_AS, NULL, NULL); in BPF_DEATH_TEST_C()
/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c167 SAFE_GETRLIMIT(NULL, RLIMIT_AS, &lim); in setup()
175 SAFE_SETRLIMIT(NULL, RLIMIT_AS, &lim); in setup()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dresource.h18 #define RLIMIT_AS 6 /* address space limit */ macro
/external/compiler-rt/test/asan/TestCases/Linux/
Drlimit_mmap_test.cc12 assert(0 == setrlimit(RLIMIT_AS, &mmap_resource_limit)); in main()
/external/ltp/testcases/kernel/syscalls/getrlimit/
Dgetrlimit01.c48 {RLIMIT_AS, "RLIMIT_AS"},
/external/libunwind/tests/
Dtest-mem.c99 setrlimit (RLIMIT_AS, &rlim); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/
D4-1.c73 rc |= setrlimit(RLIMIT_AS, &rl); in child()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D24-2.c64 if (getrlimit(RLIMIT_AS, &rlim) == -1) { in main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc111 rlim_t as_size = getlim(RLIMIT_AS); in AddressSpaceIsUnlimited()
116 setlim(RLIMIT_AS, RLIM_INFINITY); in SetAddressSpaceUnlimited()
/external/toybox/toys/posix/
Dulimit.c67 RLIMIT_CPU, RLIMIT_NPROC, RLIMIT_AS}; in ulimit_main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
D5-1.c159 if ((ret = setrlimit(RLIMIT_AS, &rl))) { in main()
/external/ltp/testcases/kernel/syscalls/mincore/
Dmincore01.c143 if (getrlimit(RLIMIT_AS, &as_lim) == -1) { in setup4()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DProgram.inc171 #ifdef RLIMIT_AS // e.g. NetBSD doesn't have it.
173 getrlimit (RLIMIT_AS, &r);
175 setrlimit (RLIMIT_AS, &r);
/external/mksh/src/
Dfuncs.c3544 #ifdef RLIMIT_AS
3545 #if !defined(RLIMIT_VMEM) || (RLIMIT_VMEM == RLIMIT_AS) || \
3549 #if !defined(RLIMIT_RSS) || (RLIMIT_RSS == RLIMIT_AS)
3565 #if defined(ULIMIT_M_IS_RSS) && defined(RLIMIT_AS) && (RLIMIT_RSS == RLIMIT_AS)
3570 #if !defined(RLIMIT_AS) && !defined(ULIMIT_M_IS_VMEM) && defined(RLIMIT_VMEM)
3575 (!defined(RLIMIT_RSS) || (defined(RLIMIT_AS) && (RLIMIT_RSS == RLIMIT_AS)))
3579 #if defined(ULIMIT_M_IS_VMEM) && defined(RLIMIT_AS) && \
3580 (RLIMIT_VMEM == RLIMIT_AS)
Drlimits.opt103 FN("address-space(KiB)", RLIMIT_AS, 1024
Drlimits.gen101 FN("address-space(KiB)", RLIMIT_AS, 1024, 'v')
/external/llvm/lib/Support/Unix/
DProgram.inc166 #ifdef RLIMIT_AS // e.g. NetBSD doesn't have it.
171 getrlimit (RLIMIT_AS, &r);
173 setrlimit (RLIMIT_AS, &r);
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/
Ds-c.c118 if ((ret = setrlimit(RLIMIT_AS, &rl))) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/
Ds-c.c118 if ((ret = setrlimit(RLIMIT_AS, &rl))) { in main()
/external/bison/m4/
Dprintf.m41005 /* On Linux systems, malloc() is limited by RLIMIT_AS. */
1006 #ifdef RLIMIT_AS
1007 if (getrlimit (RLIMIT_AS, &limit) < 0)
1012 if (setrlimit (RLIMIT_AS, &limit) < 0)
/external/valgrind/include/vki/
Dvki-darwin.h655 #define VKI_RLIMIT_RSS RLIMIT_AS