Home
last modified time | relevance | path

Searched refs:KASAN_SHADOW_SCALE_SHIFT (Results 1 – 25 of 26) sorted by relevance

12

/linux/arch/x86/include/asm/
A Dkasan.h7 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
17 KASAN_SHADOW_SCALE_SHIFT))
24 KASAN_SHADOW_SCALE_SHIFT)))
/linux/arch/powerpc/include/asm/
A Dkasan.h20 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
29 (KASAN_KERN_START >> KASAN_SHADOW_SCALE_SHIFT))
33 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT))
/linux/arch/arm64/
A DMakefile135 KASAN_SHADOW_SCALE_SHIFT := 4 macro
137 KASAN_SHADOW_SCALE_SHIFT := 3 macro
140 KBUILD_CFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
141 KBUILD_CPPFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
142 KBUILD_AFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
/linux/arch/arm/include/asm/
A Dkasan_def.h74 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
76 #define KASAN_SHADOW_END ((UL(1) << (32 - KASAN_SHADOW_SCALE_SHIFT)) \
A Dkasan.h17 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
/linux/Documentation/arm64/
A Dkasan-offsets.sh12 echo KASAN_SHADOW_SCALE_SHIFT = 3
20 echo KASAN_SHADOW_SCALE_SHIFT = 4
/linux/arch/riscv/include/asm/
A Dkasan.h28 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
30 #define KASAN_SHADOW_SIZE (UL(1) << ((CONFIG_VA_BITS - 1) - KASAN_SHADOW_SCALE_SHIFT))
/linux/arch/xtensa/include/asm/
A Dkasan.h13 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
20 #define KASAN_SHADOW_SIZE (-KASAN_START_VADDR >> KASAN_SHADOW_SCALE_SHIFT)
/linux/arch/s390/include/asm/
A Dkasan.h9 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
11 (_AC(1, UL) << (_REGION1_SHIFT - KASAN_SHADOW_SCALE_SHIFT))
/linux/arch/arm64/include/asm/
A Dkasan.h36 #define _KASAN_SHADOW_START(va) (KASAN_SHADOW_END - (1UL << ((va) - KASAN_SHADOW_SCALE_SHIFT)))
A Dmemory.h77 #define KASAN_SHADOW_END ((UL(1) << (64 - KASAN_SHADOW_SCALE_SHIFT)) \
79 #define PAGE_END (KASAN_SHADOW_END - (1UL << (vabits_actual - KASAN_SHADOW_SCALE_SHIFT)))
A Dcache.h53 #define ARCH_SLAB_MINALIGN (1ULL << KASAN_SHADOW_SCALE_SHIFT)
/linux/include/linux/
A Dmoduleloader.h102 #define MODULE_ALIGN (PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT)
A Dkasan.h55 return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) in kasan_mem_to_shadow()
/linux/mm/kasan/
A Dshadow.c187 nr_shadow_pages = mem_data->nr_pages >> KASAN_SHADOW_SCALE_SHIFT; in kasan_mem_notifier()
510 KASAN_SHADOW_SCALE_SHIFT; in kasan_module_alloc()
A Dkasan.h59 #define KASAN_GRANULE_SIZE (1UL << KASAN_SHADOW_SCALE_SHIFT)
219 << KASAN_SHADOW_SCALE_SHIFT); in kasan_shadow_to_mem()
A Dinit.c446 end = addr + (size >> KASAN_SHADOW_SCALE_SHIFT); in kasan_remove_zero_shadow()
481 shadow_end = shadow_start + (size >> KASAN_SHADOW_SCALE_SHIFT); in kasan_add_zero_shadow()
A Dreport.c476 orig_addr = (addr - KASAN_SHADOW_OFFSET) << KASAN_SHADOW_SCALE_SHIFT; in kasan_non_canonical_hook()
/linux/arch/xtensa/mm/
A Dkasan_init.c80 (KASAN_START_VADDR >> KASAN_SHADOW_SCALE_SHIFT)); in kasan_init()
/linux/Documentation/translations/zh_CN/dev-tools/
A Dkasan.rst207 return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT)
211 在这里 ``KASAN_SHADOW_SCALE_SHIFT = 3`` 。
/linux/arch/riscv/mm/
A Dkasan_init.c21 KASAN_SHADOW_END - (1UL << (64 - KASAN_SHADOW_SCALE_SHIFT))); in kasan_early_init()
/linux/arch/powerpc/include/asm/nohash/32/
A Dpgtable.h118 #define VMALLOC_END ALIGN_DOWN(ioremap_bot, PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT)
/linux/arch/s390/mm/
A Dkasan_init.c298 shadow_alloc_size = memsize >> KASAN_SHADOW_SCALE_SHIFT; in kasan_early_init()
/linux/arch/arm64/mm/
A Dkasan_init.c172 KASAN_SHADOW_END - (1UL << (64 - KASAN_SHADOW_SCALE_SHIFT))); in kasan_early_init()
/linux/arch/powerpc/include/asm/book3s/32/
A Dpgtable.h228 #define VMALLOC_END ALIGN_DOWN(ioremap_bot, PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT)

Completed in 81 milliseconds

12