Lines Matching refs:kern_base
172 unsigned long kern_base __read_mostly;
2125 ktsb_pa = kern_base + ((unsigned long)&swapper_tsb[0] - KERNBASE); in ktsb_phys_patch()
2132 ktsb_pa = (kern_base + in ktsb_phys_patch()
2145 ktsb_pa = kern_base + ((unsigned long)&swapper_tsb[0] - KERNBASE); in sun4v_ktsb_init()
2178 ktsb_pa = (kern_base + in sun4v_ktsb_init()
2199 pa = kern_base + ((unsigned long)&ktsb_descr[0] - KERNBASE); in sun4v_ktsb_register()
2321 kern_base = (prom_boot_mapping_phys_low >> ILOG2_4MB) << ILOG2_4MB; in paging_init()
2384 memblock_reserve(kern_base, kern_size); in paging_init()
2396 shift = kern_base + PAGE_OFFSET - ((unsigned long)KERNBASE); in paging_init()
2492 if (paddr >= kern_base && paddr < (kern_base + kern_size)) in page_in_phys_avail()
2565 ((unsigned long) __va(kern_base)) - in free_initmem()
3082 return (resource_size_t) (addr - KERNBASE + kern_base); in compute_kern_paddr()