Searched refs:mlock2_ (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | mlock2-tests.c | 203 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 D | mlock-random-test.c | 169 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 D | mlock2.h | 7 static int mlock2_(void *start, size_t len, int flags) in mlock2_() function
|