Searched refs:PROT_MTE (Results 1 – 9 of 9) sorted by relevance
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | mte.h | 31 #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 D | mte-8.c | 25 #define PROT_MTE 0x20 macro 81 if (mprotect(a, page_sz, PROT_READ | PROT_WRITE | PROT_MTE)) { in main()
|
H A D | mte-6.c | 19 if (mprotect(brk, 16, PROT_READ | PROT_WRITE | PROT_MTE)) { in main()
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | mte_def.h | 14 #ifndef PROT_MTE 15 #define PROT_MTE 0x20 macro
|
H A D | mte_common_util.c | 144 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 D | mman.h | 19 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 D | memory-tagging-extension.rst | 33 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 D | mman.h | 8 #define PROT_MTE 0x20 /* Normal Tagged mapping */ macro
|
/openbmc/qemu/linux-headers/asm-arm64/ |
H A D | mman.h | 8 #define PROT_MTE 0x20 /* Normal Tagged mapping */ macro
|