Home
last modified time | relevance | path

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

/linux/arch/arm64/include/asm/
H A Dmte-def.h8 #define MTE_GRANULE_SIZE UL(16) macro
9 #define MTE_GRANULE_MASK (~(MTE_GRANULE_SIZE - 1))
10 #define MTE_GRANULES_PER_PAGE (PAGE_SIZE / MTE_GRANULE_SIZE)
/linux/arch/arm64/lib/
H A Dmte.S59 2: stz2g x0, [x0], #(MTE_GRANULE_SIZE * 2)
98 stg x4, [x0], #MTE_GRANULE_SIZE
125 add x1, x1, #MTE_GRANULE_SIZE
H A Dstrlen.S47 * When KASAN_HW_TAGS is in use, memory is checked at MTE_GRANULE_SIZE
52 #define MIN_PAGE_SIZE MTE_GRANULE_SIZE
/linux/arch/arm64/kernel/
H A Dmte.c467 tags = min(len, (PAGE_SIZE - offset) / MTE_GRANULE_SIZE); in __access_remote_tags()
484 addr += tags * MTE_GRANULE_SIZE; in __access_remote_tags()
621 uaddr = PTR_ALIGN(uaddr, MTE_GRANULE_SIZE); in mte_probe_user_range()
628 uaddr += MTE_GRANULE_SIZE; in mte_probe_user_range()
/linux/mm/kasan/
H A Dkasan.h135 #define KASAN_GRANULE_SIZE MTE_GRANULE_SIZE