Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dmlock2.h7 #ifndef MLOCK_ONFAULT
8 #define MLOCK_ONFAULT 1 macro
H A Dmlock-random-test.c169 MLOCK_ONFAULT); in test_mlock_within_limit()
241 MLOCK_ONFAULT); in test_mlock_outof_limit()
H A Dmlock2-tests.c267 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_mlock_onfault()
272 perror("mlock2(MLOCK_ONFAULT)"); in test_mlock_onfault()
311 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_lock_onfault_of_present()
316 perror("mlock2(MLOCK_ONFAULT)"); in test_lock_onfault_of_present()
426 if (call_mlock && mlock2_(map, 3 * page_size, MLOCK_ONFAULT)) { in test_vma_management()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dmlock-random-test.c170 MLOCK_ONFAULT); in test_mlock_within_limit()
242 MLOCK_ONFAULT); in test_mlock_outof_limit()
H A Dmlock2-tests.c266 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_mlock_onfault()
271 perror("mlock2(MLOCK_ONFAULT)"); in test_mlock_onfault()
310 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_lock_onfault_of_present()
315 perror("mlock2(MLOCK_ONFAULT)"); in test_lock_onfault_of_present()
425 if (call_mlock && mlock2_(map, 3 * page_size, MLOCK_ONFAULT)) { in test_vma_management()
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
H A Dmman.h38 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
H A Dmman-common.h39 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
H A Dmman-common.h42 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dmman-common.h43 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/
H A Dmman-common.h39 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
H A Dmman-common.h27 #define MLOCK_ONFAULT 0x01 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dmman-common.h38 #define MLOCK_ONFAULT 0x01 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dmman-common.h38 #define MLOCK_ONFAULT 0x01 macro
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
H A Dmman.h43 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
H A Dmman.h70 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/
H A Dmman.h79 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/
H A Dmman.h70 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-6.6/arch/alpha/include/uapi/asm/
H A Dmman.h43 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/
H A Dmman.h38 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/linux-6.6/arch/xtensa/include/uapi/asm/
H A Dmman.h79 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-mips/asm/
H A Dmman.h51 #define MLOCK_ONFAULT 0x01 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
H A Dmman.h51 #define MLOCK_ONFAULT 0x01 macro
/kernel/linux/linux-5.10/mm/
H A Dmlock.c640 * Note deferred memory locking case(mlock2(,,MLOCK_ONFAULT)
732 if (flags & ~MLOCK_ONFAULT) in SYSCALL_DEFINE3()
735 if (flags & MLOCK_ONFAULT) in SYSCALL_DEFINE3()
/kernel/linux/linux-6.6/mm/
H A Dmlock.c530 * Note deferred memory locking case(mlock2(,,MLOCK_ONFAULT)
631 if (flags & ~MLOCK_ONFAULT) in SYSCALL_DEFINE3()
634 if (flags & MLOCK_ONFAULT) in SYSCALL_DEFINE3()

Completed in 10 milliseconds