Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c237 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in unlock_onfault_check()
239 ksft_exit_fail_msg("mlock2(MLOCK_ONFAULT): %s\n", strerror(errno));
266 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) {
268 ksft_test_result_fail("mlock2(MLOCK_ONFAULT) error: %s", strerror(errno)); 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 test_mlockall()
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/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/arch/xtensa/include/uapi/asm/
H A Dmman.h79 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux/arch/alpha/include/uapi/asm/
H A Dmman.h43 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux/arch/mips/include/uapi/asm/
H A Dmman.h70 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux/arch/parisc/include/uapi/asm/
H A Dmman.h38 #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.