Searched refs:k_start (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/arch/powerpc/mm/kasan/ |
D | init_32.c | 31 int __init kasan_init_shadow_page_tables(unsigned long k_start, unsigned long k_end) in kasan_init_shadow_page_tables() argument 36 pmd = pmd_off_k(k_start); in kasan_init_shadow_page_tables() 38 for (k_cur = k_start; k_cur != k_end; k_cur = k_next, pmd++) { in kasan_init_shadow_page_tables() 57 unsigned long k_start = (unsigned long)kasan_mem_to_shadow(start); in kasan_init_region() local 63 ret = kasan_init_shadow_page_tables(k_start, k_end); in kasan_init_region() 67 block = memblock_alloc(k_end - k_start, PAGE_SIZE); in kasan_init_region() 71 for (k_cur = k_start & PAGE_MASK; k_cur < k_end; k_cur += PAGE_SIZE) { in kasan_init_region() 73 void *va = block + k_cur - k_start; in kasan_init_region() 78 flush_tlb_kernel_range(k_start, k_end); in kasan_init_region() 83 kasan_update_early_region(unsigned long k_start, unsigned long k_end, pte_t pte) in kasan_update_early_region() argument [all …]
|
D | 8xx.c | 10 kasan_init_shadow_8M(unsigned long k_start, unsigned long k_end, void *block) in kasan_init_shadow_8M() argument 12 pmd_t *pmd = pmd_off_k(k_start); in kasan_init_shadow_8M() 15 for (k_cur = k_start; k_cur != k_end; k_cur = k_next, pmd += 2, block += SZ_8M) { in kasan_init_shadow_8M() 37 unsigned long k_start = (unsigned long)kasan_mem_to_shadow(start); in kasan_init_region() local 43 block = memblock_alloc(k_end - k_start, SZ_8M); in kasan_init_region() 47 if (IS_ALIGNED(k_start, SZ_8M)) { in kasan_init_region() 48 kasan_init_shadow_8M(k_start, ALIGN_DOWN(k_end, SZ_8M), block); in kasan_init_region() 53 k_cur = k_start; in kasan_init_region() 56 ret = kasan_init_shadow_page_tables(k_start, k_end); in kasan_init_region() 62 void *va = block + k_cur - k_start; in kasan_init_region() [all …]
|
D | book3s_32.c | 11 unsigned long k_start = (unsigned long)kasan_mem_to_shadow(start); in kasan_init_region() local 13 unsigned long k_nobat = k_start; in kasan_init_region() 34 if (k_nobat != k_start) in kasan_init_region() 44 ret = kasan_init_shadow_page_tables(k_start, k_end); in kasan_init_region() 48 kasan_update_early_region(k_start, k_nobat, __pte(0)); in kasan_init_region() 56 flush_tlb_kernel_range(k_start, k_end); in kasan_init_region() 57 memset(kasan_mem_to_shadow(start), 0, k_end - k_start); in kasan_init_region()
|
D | init_book3s_64.c | 26 unsigned long k_start, k_end, k_cur; in kasan_init_phys_region() local 32 k_start = ALIGN_DOWN((unsigned long)kasan_mem_to_shadow(start), PAGE_SIZE); in kasan_init_phys_region() 35 va = memblock_alloc(k_end - k_start, PAGE_SIZE); in kasan_init_phys_region() 36 for (k_cur = k_start; k_cur < k_end; k_cur += PAGE_SIZE, va += PAGE_SIZE) in kasan_init_phys_region() 53 void *k_start = kasan_mem_to_shadow((void *)RADIX_VMALLOC_END); in kasan_init() local 80 kasan_populate_early_shadow(k_start, k_end); in kasan_init()
|
D | init_book3e_64.c | 68 unsigned long k_start, k_end, k_cur; in kasan_init_phys_region() local 74 k_start = ALIGN_DOWN((unsigned long)kasan_mem_to_shadow(start), PAGE_SIZE); in kasan_init_phys_region() 77 va = memblock_alloc(k_end - k_start, PAGE_SIZE); in kasan_init_phys_region() 78 for (k_cur = k_start; k_cur < k_end; k_cur += PAGE_SIZE, va += PAGE_SIZE) in kasan_init_phys_region()
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | kasan.h | 79 void kasan_update_early_region(unsigned long k_start, unsigned long k_end, pte_t pte); 80 int kasan_init_shadow_page_tables(unsigned long k_start, unsigned long k_end);
|