Searched refs:MLOCK_ONFAULT (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/tools/testing/selftests/vm/ |
D | mlock2-tests.c | 14 #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/ |
D | mman-common.h | 31 #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/ |
D | mman.h | 36 #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/ |
D | mman.h | 42 #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/ |
D | mman.h | 69 #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/ |
D | mman.h | 82 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
|
/linux-4.4.14/mm/ |
D | mlock.c | 652 if (flags & ~MLOCK_ONFAULT) in SYSCALL_DEFINE3() 655 if (flags & MLOCK_ONFAULT) in SYSCALL_DEFINE3()
|