Home
last modified time | relevance | path

Searched refs:mlock2_ (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dmlock2-tests.c204 if (mlock2_(map, 2 * page_size, 0)) { in test_mlock_lock()
267 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_mlock_onfault()
311 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_lock_onfault_of_present()
426 if (call_mlock && mlock2_(map, 3 * page_size, MLOCK_ONFAULT)) { in test_vma_management()
H A Dmlock-random-test.c168 ret = mlock2_(p + start_offset, lock_size, in test_mlock_within_limit()
240 ret = mlock2_(p + start_offset, lock_size, in test_mlock_outof_limit()
H A Dmlock2.h15 static int mlock2_(void *start, size_t len, int flags) in mlock2_() function
/kernel/linux/linux-6.6/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

Completed in 3 milliseconds