/linux/arch/loongarch/include/asm/ |
H A D | kasan.h | 13 #define KASAN_SHADOW_SCALE_SHIFT 3 macro 35 #define XKPRANGE_CC_SHADOW_SIZE (XKPRANGE_CC_SIZE >> KASAN_SHADOW_SCALE_SHIFT) 42 #define XKPRANGE_UC_SHADOW_SIZE (XKPRANGE_UC_SIZE >> KASAN_SHADOW_SCALE_SHIFT) 49 #define XKPRANGE_WC_SHADOW_SIZE (XKPRANGE_WC_SIZE >> KASAN_SHADOW_SCALE_SHIFT) 56 #define XKVRANGE_VC_SHADOW_SIZE (XKVRANGE_VC_SIZE >> KASAN_SHADOW_SCALE_SHIFT)
|
/linux/arch/x86/include/asm/ |
H A D | kasan.h | 7 #define KASAN_SHADOW_SCALE_SHIFT 3 macro 17 KASAN_SHADOW_SCALE_SHIFT)) 24 KASAN_SHADOW_SCALE_SHIFT)))
|
/linux/arch/powerpc/include/asm/ |
H A D | kasan.h | 20 #define KASAN_SHADOW_SCALE_SHIFT 3 macro 29 (KASAN_KERN_START >> KASAN_SHADOW_SCALE_SHIFT)) 34 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT))
|
/linux/arch/arm/include/asm/ |
H A D | kasan_def.h | 74 #define KASAN_SHADOW_SCALE_SHIFT 3 macro 76 #define KASAN_SHADOW_END ((UL(1) << (32 - KASAN_SHADOW_SCALE_SHIFT)) \
|
H A D | kasan.h | 17 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
|
/linux/Documentation/arch/arm64/ |
H A D | kasan-offsets.sh | 12 echo KASAN_SHADOW_SCALE_SHIFT = 3 20 echo KASAN_SHADOW_SCALE_SHIFT = 4
|
/linux/arch/s390/include/asm/ |
H A D | kasan.h | 9 #define KASAN_SHADOW_SCALE_SHIFT 3 macro 11 (_AC(1, UL) << (_REGION1_SHIFT - KASAN_SHADOW_SCALE_SHIFT))
|
/linux/arch/riscv/include/asm/ |
H A D | kasan.h | 26 #define KASAN_SHADOW_SCALE_SHIFT 3 macro 28 #define KASAN_SHADOW_SIZE (UL(1) << ((VA_BITS - 1) - KASAN_SHADOW_SCALE_SHIFT))
|
/linux/arch/xtensa/include/asm/ |
H A D | kasan.h | 13 #define KASAN_SHADOW_SCALE_SHIFT 3 macro 20 #define KASAN_SHADOW_SIZE (-KASAN_START_VADDR >> KASAN_SHADOW_SCALE_SHIFT)
|
/linux/arch/loongarch/mm/ |
H A D | kasan_init.c | 76 return (void *)((maddr >> KASAN_SHADOW_SCALE_SHIFT) + offset); in kasan_mem_to_shadow() 91 …return (void *)(((addr - XKVRANGE_VC_SHADOW_OFFSET) << KASAN_SHADOW_SCALE_SHIFT) + XKVRANGE_VC_STA… in kasan_shadow_to_mem() 93 …return (void *)(((addr - XKPRANGE_WC_SHADOW_OFFSET) << KASAN_SHADOW_SCALE_SHIFT) + XKPRANGE_WC_STA… in kasan_shadow_to_mem() 95 …return (void *)(((addr - XKPRANGE_UC_SHADOW_OFFSET) << KASAN_SHADOW_SCALE_SHIFT) + XKPRANGE_UC_STA… in kasan_shadow_to_mem() 97 …return (void *)(((addr - XKPRANGE_CC_SHADOW_OFFSET) << KASAN_SHADOW_SCALE_SHIFT) + XKPRANGE_CC_STA… in kasan_shadow_to_mem()
|
/linux/include/linux/ |
H A D | execmem.h | 11 #define MODULE_ALIGN (PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT)
|
H A D | kasan.h | 61 return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) in kasan_mem_to_shadow()
|
/linux/scripts/gdb/linux/ |
H A D | mm.py | 114 self.KASAN_SHADOW_SCALE_SHIFT = 3 116 self.KASAN_SHADOW_SCALE_SHIFT = 4 118 … self.KASAN_SHADOW_END = (1 << (64 - self.KASAN_SHADOW_SCALE_SHIFT)) + self.KASAN_SHADOW_OFFSET 119 …self.PAGE_END = self.KASAN_SHADOW_END - (1 << (self.vabits_actual - self.KASAN_SHADOW_SCALE_SHIFT))
|
H A D | kasan.py | 42 return (addr >> self.p_ops.KASAN_SHADOW_SCALE_SHIFT) + self.p_ops.KASAN_SHADOW_OFFSET
|
/linux/arch/arm64/include/asm/ |
H A D | memory.h | 103 #define KASAN_SHADOW_END ((UL(1) << (64 - KASAN_SHADOW_SCALE_SHIFT)) + KASAN_SHADOW_OFFSET) 104 #define _KASAN_SHADOW_START(va) (KASAN_SHADOW_END - (UL(1) << ((va) - KASAN_SHADOW_SCALE_SHIFT)))
|
H A D | cache.h | 48 #define ARCH_SLAB_MINALIGN (1ULL << KASAN_SHADOW_SCALE_SHIFT)
|
/linux/arch/xtensa/mm/ |
H A D | kasan_init.c | 78 (KASAN_START_VADDR >> KASAN_SHADOW_SCALE_SHIFT)); in kasan_init()
|
/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | pgtable.h | 111 #define VMALLOC_END ALIGN_DOWN(ioremap_bot, PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT)
|
/linux/mm/kasan/ |
H A D | shadow.c | 220 nr_shadow_pages = mem_data->nr_pages >> KASAN_SHADOW_SCALE_SHIFT; in kasan_mem_notifier() 590 KASAN_SHADOW_SCALE_SHIFT; in kasan_alloc_module_shadow()
|
H A D | kasan.h | 132 #define KASAN_GRANULE_SIZE (1UL << KASAN_SHADOW_SCALE_SHIFT) 326 << KASAN_SHADOW_SCALE_SHIFT); in kasan_shadow_to_mem()
|
H A D | init.c | 465 end = addr + (size >> KASAN_SHADOW_SCALE_SHIFT); in kasan_remove_zero_shadow() 500 shadow_end = shadow_start + (size >> KASAN_SHADOW_SCALE_SHIFT); in kasan_add_zero_shadow()
|
/linux/Documentation/translations/zh_TW/dev-tools/ |
H A D | kasan.rst | 254 return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) 258 在這裏 ``KASAN_SHADOW_SCALE_SHIFT = 3`` 。
|
/linux/Documentation/translations/zh_CN/dev-tools/ |
H A D | kasan.rst | 272 return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) 276 在这里 ``KASAN_SHADOW_SCALE_SHIFT = 3`` 。
|
/linux/arch/arm64/mm/ |
H A D | kasan_init.c | 202 KASAN_SHADOW_END - (1UL << (64 - KASAN_SHADOW_SCALE_SHIFT))); in kasan_early_init()
|
/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 193 #define VMALLOC_END ALIGN_DOWN(ioremap_bot, PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT)
|