Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/x86/include/asm/
Dkasan.h7 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
17 KASAN_SHADOW_SCALE_SHIFT))
24 KASAN_SHADOW_SCALE_SHIFT)))
/linux-6.1.9/arch/powerpc/include/asm/
Dkasan.h20 #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-6.1.9/arch/arm/include/asm/
Dkasan_def.h74 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
76 #define KASAN_SHADOW_END ((UL(1) << (32 - KASAN_SHADOW_SCALE_SHIFT)) \
Dkasan.h17 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
/linux-6.1.9/Documentation/arm64/
Dkasan-offsets.sh12 echo KASAN_SHADOW_SCALE_SHIFT = 3
20 echo KASAN_SHADOW_SCALE_SHIFT = 4
/linux-6.1.9/arch/xtensa/include/asm/
Dkasan.h13 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
20 #define KASAN_SHADOW_SIZE (-KASAN_START_VADDR >> KASAN_SHADOW_SCALE_SHIFT)
/linux-6.1.9/arch/riscv/include/asm/
Dkasan.h28 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
30 #define KASAN_SHADOW_SIZE (UL(1) << ((VA_BITS - 1) - KASAN_SHADOW_SCALE_SHIFT))
/linux-6.1.9/arch/um/include/asm/
Dkasan.h11 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
17 KASAN_SHADOW_SCALE_SHIFT)
/linux-6.1.9/arch/arm64/
DMakefile137 KASAN_SHADOW_SCALE_SHIFT := 4 macro
139 KASAN_SHADOW_SCALE_SHIFT := 3 macro
142 KBUILD_CFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
143 KBUILD_CPPFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
144 KBUILD_AFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
/linux-6.1.9/arch/s390/include/asm/
Dkasan.h9 #define KASAN_SHADOW_SCALE_SHIFT 3 macro
11 (_AC(1, UL) << (_REGION1_SHIFT - KASAN_SHADOW_SCALE_SHIFT))
/linux-6.1.9/arch/arm64/include/asm/
Dkasan.h36 #define _KASAN_SHADOW_START(va) (KASAN_SHADOW_END - (1UL << ((va) - KASAN_SHADOW_SCALE_SHIFT)))
Dcache.h38 #define ARCH_SLAB_MINALIGN (1ULL << KASAN_SHADOW_SCALE_SHIFT)
Dmemory.h74 #define KASAN_SHADOW_END ((UL(1) << (64 - KASAN_SHADOW_SCALE_SHIFT)) \
76 #define PAGE_END (KASAN_SHADOW_END - (1UL << (vabits_actual - KASAN_SHADOW_SCALE_SHIFT)))
/linux-6.1.9/include/linux/
Dmoduleloader.h102 #define MODULE_ALIGN (PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT)
Dkasan.h59 return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) in kasan_mem_to_shadow()
/linux-6.1.9/arch/xtensa/mm/
Dkasan_init.c80 (KASAN_START_VADDR >> KASAN_SHADOW_SCALE_SHIFT)); in kasan_init()
/linux-6.1.9/mm/kasan/
Dshadow.c187 nr_shadow_pages = mem_data->nr_pages >> KASAN_SHADOW_SCALE_SHIFT; in kasan_mem_notifier()
545 KASAN_SHADOW_SCALE_SHIFT; in kasan_alloc_module_shadow()
Dkasan.h99 #define KASAN_GRANULE_SIZE (1UL << KASAN_SHADOW_SCALE_SHIFT)
277 << KASAN_SHADOW_SCALE_SHIFT); in kasan_shadow_to_mem()
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()
Dreport.c543 orig_addr = (addr - KASAN_SHADOW_OFFSET) << KASAN_SHADOW_SCALE_SHIFT; in kasan_non_canonical_hook()
/linux-6.1.9/Documentation/translations/zh_CN/dev-tools/
Dkasan.rst246 return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT)
250 在这里 ``KASAN_SHADOW_SCALE_SHIFT = 3`` 。
/linux-6.1.9/arch/powerpc/include/asm/nohash/32/
Dpgtable.h119 #define VMALLOC_END ALIGN_DOWN(ioremap_bot, PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT)
/linux-6.1.9/arch/s390/mm/
Dkasan_init.c298 shadow_alloc_size = memsize >> KASAN_SHADOW_SCALE_SHIFT; in kasan_early_init()
/linux-6.1.9/arch/arm64/mm/
Dkasan_init.c172 KASAN_SHADOW_END - (1UL << (64 - KASAN_SHADOW_SCALE_SHIFT))); in kasan_early_init()
/linux-6.1.9/arch/powerpc/include/asm/book3s/32/
Dpgtable.h209 #define VMALLOC_END ALIGN_DOWN(ioremap_bot, PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT)

12