Searched refs:MLOCK_ONFAULT (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/tools/testing/selftests/vm/ |
H A D | mlock2-tests.c | 14 #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 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/alpha/include/uapi/asm/ |
H A 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/parisc/include/uapi/asm/ |
H A 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/xtensa/include/uapi/asm/ |
H A 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/arch/mips/include/uapi/asm/ |
H A 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/mm/ |
H A D | mlock.c | 652 if (flags & ~MLOCK_ONFAULT) SYSCALL_DEFINE3() 655 if (flags & MLOCK_ONFAULT) SYSCALL_DEFINE3()
|
Completed in 332 milliseconds