Searched refs:k_start (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/mm/kasan/ |
D | kasan_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()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kasan.h | 46 void kasan_update_early_region(unsigned long k_start, unsigned long k_end, pte_t pte); 47 int kasan_init_shadow_page_tables(unsigned long k_start, unsigned long k_end);
|