Home
last modified time | relevance | path

Searched refs:mlock2_ (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c203 if (mlock2_(map, 2 * page_size, 0)) { in test_mlock_lock()
266 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_mlock_onfault()
310 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_lock_onfault_of_present()
425 if (call_mlock && mlock2_(map, 3 * page_size, MLOCK_ONFAULT)) { in test_vma_management()
H A Dmlock-random-test.c169 ret = mlock2_(p + start_offset, lock_size, in test_mlock_within_limit()
241 ret = mlock2_(p + start_offset, lock_size, in test_mlock_outof_limit()
H A Dmlock2.h7 static int mlock2_(void *start, size_t len, int flags) in mlock2_() function