Home
last modified time | relevance | path

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

/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()
/tools/include/uapi/asm-generic/
Dmman-common.h37 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro