Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/vm/
Dmlock2-tests.c14 #ifndef MLOCK_ONFAULT
15 #define MLOCK_ONFAULT 1 macro
472 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_mlock_onfault()
517 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_lock_onfault_of_present()
643 if (call_mlock && mlock2_(map, 3 * page_size, MLOCK_ONFAULT)) { in test_vma_management()
/linux-4.4.14/include/uapi/asm-generic/
Dmman-common.h31 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux-4.4.14/arch/parisc/include/uapi/asm/
Dmman.h36 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux-4.4.14/arch/alpha/include/uapi/asm/
Dmman.h42 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux-4.4.14/arch/mips/include/uapi/asm/
Dmman.h69 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux-4.4.14/arch/xtensa/include/uapi/asm/
Dmman.h82 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux-4.4.14/mm/
Dmlock.c652 if (flags & ~MLOCK_ONFAULT) in SYSCALL_DEFINE3()
655 if (flags & MLOCK_ONFAULT) in SYSCALL_DEFINE3()