/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | map_fixed_noreplace.c | 34 addr = mmap(NULL, size, PROT_NONE, flags, -1, 0); in find_base_addr() 69 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 90 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 110 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 131 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 151 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 171 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 191 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 211 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main()
|
D | protection_keys.c | 736 ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in malloc_pkey_anon_huge() 816 ptr = mmap(NULL, size, PROT_NONE, flags, -1, 0); in malloc_pkey_hugetlb() 1472 ret = mprotect(p1, PAGE_SIZE, PROT_NONE); in test_implicit_mprotect_exec_only_memory() 1573 ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in main()
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
D | mmap_prot.sh | 22 egrep -vw PROT_NONE | \ 27 egrep -vw PROT_NONE | \
|
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/ |
D | mmap_test_009.cpp | 47 ptr = (int *)mmap(0, MMAP_SIZE, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0); in Testcase() 71 ret = mprotect(ptr, MMAP_SIZE, PROT_NONE); in Testcase()
|
D | mprotect_test_001.cpp | 41 ret = mprotect(0, pageSize, PROT_NONE); in Testcase()
|
/kernel/linux/linux-5.10/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 35 #define PROT_NONE 0x00 macro
|
/kernel/linux/linux-5.10/tools/arch/alpha/include/uapi/asm/ |
D | mman.h | 34 #define PROT_NONE 0x0 macro
|
/kernel/linux/linux-5.10/tools/arch/xtensa/include/uapi/asm/ |
D | mman.h | 34 #define PROT_NONE 0x0 macro
|
/kernel/linux/linux-5.10/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 34 #define PROT_NONE 0x0 macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
D | mman-common.h | 12 #define PROT_NONE 0x0 macro
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
D | mman-common.h | 16 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | mman-common.h | 25 #define PROT_NONE 0x0 macro
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | mman-common.h | 16 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
D | mman.h | 9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/ |
D | mman.h | 25 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/ |
D | mman.h | 9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | mman.h | 18 #define PROT_NONE 0x00 /* page can not be accessed */ macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
D | mman.h | 21 #define PROT_NONE 0x00 macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
D | test_mremap_vdso.c | 30 dest_addr = mmap(0, size, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in try_to_remap()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
D | proc-self-map-files-001.c | 58 p = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE, fd, 0); in main()
|
D | proc-self-map-files-002.c | 65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/primitives/ |
D | load_unaligned_zeropad.c | 43 if (mprotect(mem_region + page_size, page_size, PROT_NONE)) { in protect_region()
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | protection-keys.rst | 52 ptr = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); 79 mprotect(ptr, size, PROT_NONE);
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/copyloops/ |
D | exc_validate.c | 98 if (mprotect(p + page_size, page_size, PROT_NONE)) { in test_copy_exception()
|
/kernel/linux/linux-5.10/Documentation/vm/ |
D | arch_pgtable_helpers.rst | 35 | pte_protnone | Tests a PROT_NONE PTE | 105 | pmd_protnone | Tests a PROT_NONE PMD |
|