Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c237 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_mlock_onfault()
266 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_lock_onfault_of_present()
356 if (call_mlock && mlock2_(map, 3 * page_size, MLOCK_ONFAULT)) { in test_vma_management()
439 ret = mlock2_(map, size, MLOCK_ONFAULT); in main()
H A Dmlock-random-test.c161 MLOCK_ONFAULT); in test_mlock_within_limit()
223 MLOCK_ONFAULT); in test_mlock_outof_limit()
/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h39 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux/mm/
H A Dmlock.c668 if (flags & ~MLOCK_ONFAULT) in SYSCALL_DEFINE3()
671 if (flags & MLOCK_ONFAULT) in SYSCALL_DEFINE3()
/linux/Documentation/mm/
H A Dunevictable-lru.rst311 fault path - which is also how mlock2()'s MLOCK_ONFAULT areas are handled.