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

/linux-4.4.14/tools/testing/selftests/vm/
H A Dmlock2-tests.c14 #ifndef MLOCK_ONFAULT
15 #define MLOCK_ONFAULT 1 macro
399 printf("Pages were made present by MLOCK_ONFAULT\n"); onfault_check()
472 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { test_mlock_onfault()
477 perror("mlock2(MLOCK_ONFAULT)"); test_mlock_onfault()
517 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { test_lock_onfault_of_present()
522 perror("mlock2(MLOCK_ONFAULT)"); test_lock_onfault_of_present()
643 if (call_mlock && mlock2_(map, 3 * page_size, MLOCK_ONFAULT)) { test_vma_management()
/linux-4.4.14/include/uapi/asm-generic/
H A 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/alpha/include/uapi/asm/
H A Dmman.h42 #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/
H A Dmman.h36 #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/
H A Dmman.h82 #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/
H A Dmman.h69 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/linux-4.4.14/mm/
H A Dmlock.c652 if (flags & ~MLOCK_ONFAULT) SYSCALL_DEFINE3()
655 if (flags & MLOCK_ONFAULT) SYSCALL_DEFINE3()

Completed in 378 milliseconds