Home
last modified time | relevance | path

Searched refs:PROT_MTE (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/tests/tcg/aarch64/
H A Dmte.h31 #ifndef PROT_MTE
32 # define PROT_MTE 0x20 macro
54 void *p = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_MTE, in alloc_mte_mem()
H A Dmte-8.c25 #define PROT_MTE 0x20 macro
81 if (mprotect(a, page_sz, PROT_READ | PROT_WRITE | PROT_MTE)) { in main()
H A Dmte-6.c19 if (mprotect(brk, 16, PROT_READ | PROT_WRITE | PROT_MTE)) { in main()
/openbmc/linux/tools/testing/selftests/arm64/mte/
H A Dmte_def.h14 #ifndef PROT_MTE
15 #define PROT_MTE 0x20 macro
H A Dmte_common_util.c144 prot_flag |= PROT_MTE; in __mte_allocate_memory_range()
157 if (mprotect(ptr, entire_size, prot_flag | PROT_MTE)) { in __mte_allocate_memory_range()
/openbmc/linux/arch/arm64/include/asm/
H A Dmman.h19 if (system_supports_mte() && (prot & PROT_MTE)) in arch_calc_vm_prot_bits()
54 supported |= PROT_MTE; in arch_validate_prot()
/openbmc/linux/Documentation/arch/arm64/
H A Dmemory-tagging-extension.rst33 PROT_MTE section in Userspace Support
40 ``PROT_MTE`` - Pages allow access to the MTE allocation tags.
46 **Note**: ``PROT_MTE`` is only supported on ``MAP_ANONYMOUS`` and
51 **Note**: The ``PROT_MTE`` flag (and corresponding memory type) cannot
61 When ``PROT_MTE`` is enabled on an address range and a mismatch between
175 - ``PROT_MTE`` not set on any of the initial memory maps
215 mapped with the ``PROT_MTE`` flag). ``iov_len`` not updated.
230 The allocation tags for user memory mapped with ``PROT_MTE`` are dumped
277 #define PROT_MTE 0x20
343 if (mprotect(a, page_sz, PROT_READ | PROT_WRITE | PROT_MTE)) {
/openbmc/linux/arch/arm64/include/uapi/asm/
H A Dmman.h8 #define PROT_MTE 0x20 /* Normal Tagged mapping */ macro
/openbmc/qemu/linux-headers/asm-arm64/
H A Dmman.h8 #define PROT_MTE 0x20 /* Normal Tagged mapping */ macro