Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/arm64/mte/
Dmte_def.h14 #ifndef PROT_MTE
15 #define PROT_MTE 0x20 macro
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()
/linux-5.19.10/arch/arm64/include/asm/
Dmman.h17 if (system_supports_mte() && (prot & PROT_MTE)) in arch_calc_vm_prot_bits()
47 supported |= PROT_MTE; in arch_validate_prot()
/linux-5.19.10/Documentation/arm64/
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)) {
/linux-5.19.10/arch/arm64/include/uapi/asm/
Dmman.h8 #define PROT_MTE 0x20 /* Normal Tagged mapping */ macro