Home
last modified time | relevance | path

Searched refs:MLOCK_ONFAULT (Results 1 – 10 of 10) sorted by relevance

/external/strace/xlat/
Dmlock_flags.h6 #if defined(MLOCK_ONFAULT) || (defined(HAVE_DECL_MLOCK_ONFAULT) && HAVE_DECL_MLOCK_ONFAULT)
8 static_assert((MLOCK_ONFAULT) == (1), "MLOCK_ONFAULT != 1");
11 # define MLOCK_ONFAULT 1
24 XLAT(MLOCK_ONFAULT),
Dmlock_flags.in1 MLOCK_ONFAULT 1
/external/ltp/testcases/kernel/syscalls/mlock2/
Dmlock201.c62 {0, 1, 0, 1, 0, MLOCK_ONFAULT},
65 {HPAGES, PAGES, 0, PAGES, HPAGES, MLOCK_ONFAULT},
68 {1, HPAGES, 1, HPAGES + 1, 1, MLOCK_ONFAULT},
71 {HPAGES, HPAGES, -1, HPAGES, HPAGES, MLOCK_ONFAULT},
Dmlock203.c33 TEST(tst_syscall(__NR_mlock2, addr, pgsz, MLOCK_ONFAULT)); in verify_mlock2()
/external/ltp/include/lapi/
Dmlock2.h12 #ifndef MLOCK_ONFAULT
13 # define MLOCK_ONFAULT 0x01 macro
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock2.h7 #ifndef MLOCK_ONFAULT
8 #define MLOCK_ONFAULT 1 macro
Dmlock-random-test.c169 MLOCK_ONFAULT); in test_mlock_within_limit()
241 MLOCK_ONFAULT); in test_mlock_outof_limit()
Dmlock2-tests.c414 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_mlock_onfault()
459 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_lock_onfault_of_present()
585 if (call_mlock && mlock2_(map, 3 * page_size, MLOCK_ONFAULT)) { in test_vma_management()
/external/kernel-headers/original/uapi/asm-generic/
Dmman-common.h39 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/external/minijail/linux-x86/
Dlibconstants.gen.c3100 #ifdef MLOCK_ONFAULT
3101 { "MLOCK_ONFAULT", (unsigned long) MLOCK_ONFAULT },