| /Linux-v6.6/tools/testing/selftests/mm/ |
| D | map_fixed_noreplace.c | 30 addr = mmap(NULL, size, PROT_NONE, flags, -1, 0); in find_base_addr() 65 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 86 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 106 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 127 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 147 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 167 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 187 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 207 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main()
|
| D | mremap_dontunmap.c | 46 void *source_mapping = mmap(NULL, num_pages * page_size, PROT_NONE, in kernel_support_for_mremap_dontunmap()
|
| D | protection_keys.c | 728 ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in malloc_pkey_anon_huge() 808 ptr = mmap(NULL, size, PROT_NONE, flags, -1, 0); in malloc_pkey_hugetlb() 1536 ret = mprotect(p1, PAGE_SIZE, PROT_NONE); in test_implicit_mprotect_exec_only_memory() 1764 ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in main()
|
| /Linux-v6.6/tools/perf/trace/beauty/ |
| D | mmap_prot.sh | 23 grep -E -vw PROT_NONE | \ 28 grep -E -vw PROT_NONE | \
|
| /Linux-v6.6/Documentation/translations/zh_CN/core-api/ |
| D | protection-keys.rst | 56 ptr = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); 80 mprotect(ptr, size, PROT_NONE);
|
| /Linux-v6.6/tools/arch/mips/include/uapi/asm/ |
| D | mman.h | 35 #define PROT_NONE 0x00 macro
|
| /Linux-v6.6/tools/arch/xtensa/include/uapi/asm/ |
| D | mman.h | 34 #define PROT_NONE 0x0 macro
|
| /Linux-v6.6/tools/arch/alpha/include/uapi/asm/ |
| D | mman.h | 34 #define PROT_NONE 0x0 macro
|
| /Linux-v6.6/tools/arch/parisc/include/uapi/asm/ |
| D | mman.h | 34 #define PROT_NONE 0x0 macro
|
| /Linux-v6.6/include/uapi/asm-generic/ |
| D | mman-common.h | 16 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v6.6/tools/include/uapi/asm-generic/ |
| D | mman-common.h | 16 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v6.6/arch/xtensa/include/uapi/asm/ |
| D | mman.h | 25 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v6.6/arch/mips/include/uapi/asm/ |
| D | mman.h | 18 #define PROT_NONE 0x00 /* page can not be accessed */ macro
|
| /Linux-v6.6/arch/parisc/include/uapi/asm/ |
| D | mman.h | 9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v6.6/arch/alpha/include/uapi/asm/ |
| D | mman.h | 9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v6.6/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()
|
| /Linux-v6.6/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()
|
| /Linux-v6.6/Documentation/core-api/ |
| D | protection-keys.rst | 50 ptr = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); 77 mprotect(ptr, size, PROT_NONE);
|
| /Linux-v6.6/tools/testing/selftests/powerpc/primitives/ |
| D | load_unaligned_zeropad.c | 43 if (mprotect(mem_region + page_size, page_size, PROT_NONE)) { in protect_region()
|
| /Linux-v6.6/tools/testing/selftests/drivers/s390x/uvdevice/ |
| D | test_uvdevice.c | 45 (__u64)mmap(NULL, (size_t)getpagesize(), PROT_NONE, MAP_ANONYMOUS, -1, 0); in FIXTURE_SETUP() 176 (__u64)mmap(NULL, (size_t)getpagesize(), PROT_NONE, MAP_ANONYMOUS, -1, 0); in FIXTURE_SETUP()
|
| /Linux-v6.6/tools/testing/selftests/powerpc/copyloops/ |
| D | exc_validate.c | 98 if (mprotect(p + page_size, page_size, PROT_NONE)) { in test_copy_exception()
|
| /Linux-v6.6/tools/testing/selftests/powerpc/mm/ |
| D | exec_prot.c | 191 FAIL_IF(check_exec_fault(PROT_NONE)); in test()
|
| /Linux-v6.6/Documentation/mm/ |
| D | arch_pgtable_helpers.rst | 33 | pte_protnone | Tests a PROT_NONE PTE | 109 | pmd_protnone | Tests a PROT_NONE PMD |
|
| /Linux-v6.6/arch/s390/kvm/ |
| D | gaccess.c | 493 PROT_NONE, enumerator 509 case PROT_NONE: in trans_exc_ending() 979 prot = PROT_NONE; in guest_range_to_gpas() 1135 prot = PROT_NONE; in access_guest_with_key()
|