Searched refs:k_end (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/arch/powerpc/mm/kasan/ |
D | 8xx.c | 10 kasan_init_shadow_8M(unsigned long k_start, unsigned long k_end, void *block) in kasan_init_shadow_8M() argument 15 for (k_cur = k_start; k_cur != k_end; k_cur = k_next, pmd += 2, block += SZ_8M) { in kasan_init_shadow_8M() 18 k_next = pgd_addr_end(k_cur, k_end); in kasan_init_shadow_8M() 19 k_next = pgd_addr_end(k_next, k_end); in kasan_init_shadow_8M() 38 unsigned long k_end = (unsigned long)kasan_mem_to_shadow(start + size); in kasan_init_region() local 43 block = memblock_alloc(k_end - 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() 49 k_cur = ALIGN_DOWN(k_end, SZ_8M); in kasan_init_region() 50 if (k_cur == k_end) in kasan_init_region() 56 ret = kasan_init_shadow_page_tables(k_start, k_end); in kasan_init_region() [all …]
|
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 38 for (k_cur = k_start; k_cur != k_end; k_cur = k_next, pmd++) { in kasan_init_shadow_page_tables() 41 k_next = pgd_addr_end(k_cur, k_end); in kasan_init_shadow_page_tables() 58 unsigned long k_end = (unsigned long)kasan_mem_to_shadow(start + size); 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() 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 87 for (k_cur = k_start; k_cur != k_end; k_cur += PAGE_SIZE) { in kasan_update_early_region() [all …]
|
D | book3s_32.c | 12 unsigned long k_end = (unsigned long)kasan_mem_to_shadow(start + size); in kasan_init_region() local 18 while (k_nobat < k_end) { in kasan_init_region() 19 unsigned int k_size = bat_block_size(k_nobat, k_end); in kasan_init_region() 37 if (k_nobat < k_end) { in kasan_init_region() 38 phys = memblock_phys_alloc_range(k_end - k_nobat, PAGE_SIZE, 0, in kasan_init_region() 44 ret = kasan_init_shadow_page_tables(k_start, k_end); in kasan_init_region() 50 for (k_cur = k_nobat; k_cur < k_end; k_cur += PAGE_SIZE) { 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 33 k_end = ALIGN((unsigned long)kasan_mem_to_shadow(end), 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() 54 void *k_end = kasan_mem_to_shadow((void *)RADIX_VMEMMAP_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 75 k_end = ALIGN((unsigned long)kasan_mem_to_shadow(end), 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);
|