Home
last modified time | relevance | path

Searched refs:PROT_NONE (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/vm/
Dmap_fixed_noreplace.c34 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()
Dmremap_dontunmap.c49 void *source_mapping = mmap(NULL, num_pages * page_size, PROT_NONE, in kernel_support_for_mremap_dontunmap()
Dprotection_keys.c737 ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in malloc_pkey_anon_huge()
817 ptr = mmap(NULL, size, PROT_NONE, flags, -1, 0); in malloc_pkey_hugetlb()
1545 ret = mprotect(p1, PAGE_SIZE, PROT_NONE); in test_implicit_mprotect_exec_only_memory()
1773 ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in main()
/linux-6.1.9/tools/perf/trace/beauty/
Dmmap_prot.sh22 egrep -vw PROT_NONE | \
27 egrep -vw PROT_NONE | \
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dprotection-keys.rst56 ptr = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0);
80 mprotect(ptr, size, PROT_NONE);
/linux-6.1.9/tools/arch/parisc/include/uapi/asm/
Dmman.h34 #define PROT_NONE 0x0 macro
/linux-6.1.9/tools/arch/mips/include/uapi/asm/
Dmman.h35 #define PROT_NONE 0x00 macro
/linux-6.1.9/tools/arch/alpha/include/uapi/asm/
Dmman.h34 #define PROT_NONE 0x0 macro
/linux-6.1.9/tools/arch/xtensa/include/uapi/asm/
Dmman.h34 #define PROT_NONE 0x0 macro
/linux-6.1.9/tools/include/uapi/asm-generic/
Dmman-common.h16 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/linux-6.1.9/include/uapi/asm-generic/
Dmman-common.h16 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/linux-6.1.9/arch/xtensa/include/uapi/asm/
Dmman.h25 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/linux-6.1.9/arch/parisc/include/uapi/asm/
Dmman.h9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/linux-6.1.9/arch/mips/include/uapi/asm/
Dmman.h18 #define PROT_NONE 0x00 /* page can not be accessed */ macro
/linux-6.1.9/arch/alpha/include/uapi/asm/
Dmman.h9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/linux-6.1.9/tools/testing/selftests/x86/
Dtest_mremap_vdso.c30 dest_addr = mmap(0, size, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in try_to_remap()
/linux-6.1.9/tools/testing/selftests/proc/
Dproc-self-map-files-001.c58 p = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE, fd, 0); in main()
Dproc-self-map-files-002.c65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
/linux-6.1.9/Documentation/core-api/
Dprotection-keys.rst50 ptr = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0);
77 mprotect(ptr, size, PROT_NONE);
/linux-6.1.9/tools/testing/selftests/powerpc/primitives/
Dload_unaligned_zeropad.c43 if (mprotect(mem_region + page_size, page_size, PROT_NONE)) { in protect_region()
/linux-6.1.9/tools/testing/selftests/drivers/s390x/uvdevice/
Dtest_uvdevice.c45 (__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-6.1.9/tools/testing/selftests/powerpc/copyloops/
Dexc_validate.c98 if (mprotect(p + page_size, page_size, PROT_NONE)) { in test_copy_exception()
/linux-6.1.9/tools/testing/selftests/powerpc/mm/
Dexec_prot.c191 FAIL_IF(check_exec_fault(PROT_NONE)); in test()
/linux-6.1.9/Documentation/mm/
Darch_pgtable_helpers.rst35 | pte_protnone | Tests a PROT_NONE PTE |
107 | pmd_protnone | Tests a PROT_NONE PMD |
/linux-6.1.9/arch/s390/kvm/
Dgaccess.c493 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()

12