Home
last modified time | relevance | path

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

/openbmc/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)
H A Dcache.h52 return kasan_hw_tags_enabled() ? MTE_GRANULE_SIZE : in arch_slab_minalign()
/openbmc/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.S52 #define MIN_PAGE_SIZE MTE_GRANULE_SIZE
/openbmc/linux/arch/arm64/kernel/
H A Dmte.c435 tags = min(len, (PAGE_SIZE - offset) / MTE_GRANULE_SIZE); in __access_remote_tags()
452 addr += tags * MTE_GRANULE_SIZE; in __access_remote_tags()
592 uaddr = PTR_ALIGN(uaddr, MTE_GRANULE_SIZE); in mte_probe_user_range()
601 uaddr += MTE_GRANULE_SIZE; in mte_probe_user_range()
/openbmc/linux/mm/kasan/
H A Dkasan.h129 #define KASAN_GRANULE_SIZE MTE_GRANULE_SIZE