Searched refs:MLOCK_ONFAULT (Results 1 – 10 of 10) sorted by relevance
/linux/tools/testing/selftests/mm/ |
H A D | mlock2-tests.c | 237 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 D | mlock-random-test.c | 161 MLOCK_ONFAULT); in test_mlock_within_limit() 223 MLOCK_ONFAULT); in test_mlock_outof_limit()
|
/linux/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 39 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
|
/linux/include/uapi/asm-generic/ |
H A D | mman-common.h | 39 #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 D | mman.h | 79 #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 D | mman.h | 43 #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 D | mman.h | 70 #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 D | mman.h | 38 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
|
/linux/mm/ |
H A D | mlock.c | 668 if (flags & ~MLOCK_ONFAULT) in SYSCALL_DEFINE3() 671 if (flags & MLOCK_ONFAULT) in SYSCALL_DEFINE3()
|
/linux/Documentation/mm/ |
H A D | unevictable-lru.rst | 311 fault path - which is also how mlock2()'s MLOCK_ONFAULT areas are handled.
|