/external/strace/xlat/ |
D | resources.h | 70 #if defined(RLIMIT_MEMLOCK) || (defined(HAVE_DECL_RLIMIT_MEMLOCK) && HAVE_DECL_RLIMIT_MEMLOCK) 72 static_assert((RLIMIT_MEMLOCK) == (9), "RLIMIT_MEMLOCK != 9"); 75 # define RLIMIT_MEMLOCK 9 106 #if defined(RLIMIT_MEMLOCK) || (defined(HAVE_DECL_RLIMIT_MEMLOCK) && HAVE_DECL_RLIMIT_MEMLOCK) 108 static_assert((RLIMIT_MEMLOCK) == (9), "RLIMIT_MEMLOCK != 9"); 111 # define RLIMIT_MEMLOCK 9 135 #if defined(RLIMIT_MEMLOCK) || (defined(HAVE_DECL_RLIMIT_MEMLOCK) && HAVE_DECL_RLIMIT_MEMLOCK) 137 static_assert((RLIMIT_MEMLOCK) == (8), "RLIMIT_MEMLOCK != 8"); 140 # define RLIMIT_MEMLOCK 8 171 #if defined(RLIMIT_MEMLOCK) || (defined(HAVE_DECL_RLIMIT_MEMLOCK) && HAVE_DECL_RLIMIT_MEMLOCK) [all …]
|
D | resources.in | 13 RLIMIT_MEMLOCK 9 19 RLIMIT_MEMLOCK 9 24 RLIMIT_MEMLOCK 8 30 RLIMIT_MEMLOCK 8
|
/external/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock02.c | 93 SAFE_GETRLIMIT(cleanup, RLIMIT_MEMLOCK, &original); in setup() 116 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &rl); in test_enomem1() 141 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &rl); in test_enomem2() 154 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &original); in test_enomem2() 170 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &rl); in test_eperm() 183 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &original); in test_eperm()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | bpf_rlimit.h | 11 getrlimit(RLIMIT_MEMLOCK, &rlim_old); in bpf_rlimit_ctor() 19 if (setrlimit(RLIMIT_MEMLOCK, &rlim_new) < 0) { in bpf_rlimit_ctor() 26 setrlimit(RLIMIT_MEMLOCK, &rlim_new); in bpf_rlimit_ctor()
|
/external/ltp/testcases/kernel/syscalls/mlock2/ |
D | mlock202.c | 56 SAFE_GETRLIMIT(RLIMIT_MEMLOCK, &orig_limit); in verify_mlock2() 59 SAFE_SETRLIMIT(RLIMIT_MEMLOCK, &new_limit); in verify_mlock2() 81 SAFE_SETRLIMIT(RLIMIT_MEMLOCK, &orig_limit); in verify_mlock2()
|
/external/ltp/testcases/kernel/syscalls/mlockall/ |
D | mlockall02.c | 188 if (setrlimit(RLIMIT_MEMLOCK, &rl) != 0) { in setup_test() 210 if (setrlimit(RLIMIT_MEMLOCK, &rl) != 0) { in setup_test() 243 if (setrlimit(RLIMIT_MEMLOCK, &rl) != 0) { in cleanup_test()
|
D | mlockall03.c | 233 if (setrlimit(RLIMIT_MEMLOCK, &rl) != 0) { in setup_test() 244 if (setrlimit(RLIMIT_MEMLOCK, &rl) != 0) { in setup_test() 276 if (setrlimit(RLIMIT_MEMLOCK, &rl) != 0) { in cleanup_test()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | resource.h | 34 #ifndef RLIMIT_MEMLOCK 35 # define RLIMIT_MEMLOCK 8 /* max locked-in-memory address space */ macro
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | mlock-random-test.c | 32 if (setrlimit(RLIMIT_MEMLOCK, &new)) { in set_cap_limits() 146 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_within_limit() 222 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_outof_limit()
|
D | on-fault-limit.c | 19 if (getrlimit(RLIMIT_MEMLOCK, &lims)) { in test_limit()
|
/external/mksh/src/ |
D | rlimits.gen | 46 #ifdef RLIMIT_MEMLOCK 47 FN("lockedmem(KiB)", RLIMIT_MEMLOCK, 1024, 'l') 131 #ifdef RLIMIT_MEMLOCK
|
D | rlimits.opt | 50 >l|RLIMIT_MEMLOCK 51 FN("lockedmem(KiB)", RLIMIT_MEMLOCK, 1024
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | resource.h | 22 #define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */ macro
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/ |
D | 15-1.c | 46 if ((ret = setrlimit(RLIMIT_MEMLOCK, &rlim)) != 0) in set_nonroot()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/ |
D | 15-1.c | 46 if ((ret = setrlimit(RLIMIT_MEMLOCK, &rlim)) != 0) in set_nonroot()
|
/external/python/cpython2/Modules/ |
D | resource.c | 314 #ifdef RLIMIT_MEMLOCK in initresource() 315 PyModule_AddIntConstant(m, "RLIMIT_MEMLOCK", RLIMIT_MEMLOCK); in initresource()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/ |
D | 12-1.c | 56 if ((ret = setrlimit(RLIMIT_MEMLOCK, &rlim)) != 0) in set_nonroot()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/speculative/ |
D | 12-1.c | 57 if ((ret = setrlimit(RLIMIT_MEMLOCK, &rlim)) != 0) in set_nonroot()
|
/external/ltp/testcases/kernel/syscalls/getrlimit/ |
D | getrlimit01.c | 47 {RLIMIT_MEMLOCK, "RLIMIT_MEMLOCK"},
|
/external/python/cpython3/Modules/ |
D | resource.c | 416 #ifdef RLIMIT_MEMLOCK in PyInit_resource() 417 PyModule_AddIntMacro(m, RLIMIT_MEMLOCK); in PyInit_resource()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 18-1.c | 95 if (setrlimit(RLIMIT_MEMLOCK, &rlim) == -1) { in main()
|
/external/toybox/toys/posix/ |
D | ulimit.c | 66 RLIMIT_SIGPENDING, RLIMIT_MEMLOCK, RLIMIT_RSS, RLIMIT_NOFILE, 0, in ulimit_main()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | reuseport_bpf.c | 444 getrlimit(RLIMIT_MEMLOCK, &rlim_old); in main_ctor() 451 setrlimit(RLIMIT_MEMLOCK, &rlim_new); in main_ctor() 457 setrlimit(RLIMIT_MEMLOCK, &rlim_old); in main_dtor()
|
/external/syzkaller/executor/ |
D | executor_bsd.h | 32 setrlimit(RLIMIT_MEMLOCK, &rlim); in os_init()
|
/external/syzkaller/sys/netbsd/ |
D | sys_amd64.const | 70 RLIMIT_MEMLOCK = 6
|