Home
last modified time | relevance | path

Searched refs:__START_KERNEL_map (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/arch/x86/mm/
Dphysaddr.c17 unsigned long y = x - __START_KERNEL_map; in __phys_addr()
25 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __phys_addr()
37 unsigned long y = x - __START_KERNEL_map; in __phys_addr_symbol()
49 unsigned long y = x - __START_KERNEL_map; in __virt_addr_valid()
58 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __virt_addr_valid()
Dkaslr.c83 BUILD_BUG_ON(vaddr_end > __START_KERNEL_map); in kernel_randomize_memory()
Dkasan_init_64.c200 p4d += __START_KERNEL_map - phys_base; in early_p4d_offset()
423 kasan_mem_to_shadow((void *)__START_KERNEL_map)); in kasan_init()
Dinit_64.c428 unsigned long vaddr = __START_KERNEL_map; in cleanup_highmap()
429 unsigned long vaddr_end = __START_KERNEL_map + KERNEL_IMAGE_SIZE; in cleanup_highmap()
439 vaddr_end = __START_KERNEL_map + (max_pfn_mapped << PAGE_SHIFT); in cleanup_highmap()
Ddump_pagetables.c104 [HIGH_KERNEL_NR] = { __START_KERNEL_map, "High Kernel Mapping" },
/linux-6.6.21/arch/x86/kernel/
Dhead64.c203 load_delta = physaddr - (unsigned long)(_text - __START_KERNEL_map); in __startup_64()
215 p = pgd + pgd_index(__START_KERNEL_map); in __startup_64()
220 *p += _PAGE_TABLE_NOENC - __START_KERNEL_map + load_delta; in __startup_64()
355 p4d_p = (p4dval_t *)((pgd & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
364 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
370 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
379 *p4d_p = (p4dval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
385 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
394 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
480 BUILD_BUG_ON(MODULES_VADDR < __START_KERNEL_map); in x86_64_start_kernel()
[all …]
Dhead_64.S39 L4_START_KERNEL = l4_index(__START_KERNEL_map)
41 L3_START_KERNEL = pud_index(__START_KERNEL_map)
117 addq $(early_top_pgt - __START_KERNEL_map), %rax
166 addq $(init_top_pgt - __START_KERNEL_map), %rax
660 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
662 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
665 .quad level3_kernel_pgt - __START_KERNEL_map + _PAGE_TABLE_NOENC
670 .quad level2_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
694 .quad level3_kernel_pgt - __START_KERNEL_map + _PAGE_TABLE_NOENC
701 .quad level2_kernel_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
[all …]
Dvmlinux.lds.S21 #define LOAD_OFFSET __START_KERNEL_map
Dsetup.c808 __START_KERNEL_map, in dump_kernel_offset()
/linux-6.6.21/arch/x86/include/asm/
Dpage_64.h23 unsigned long y = x - __START_KERNEL_map; in __phys_addr_nodebug()
26 x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET)); in __phys_addr_nodebug()
37 ((unsigned long)(x) - __START_KERNEL_map + phys_base)
Dkmsan.h66 unsigned long y = x - __START_KERNEL_map; in kmsan_virt_addr_valid()
76 x = y + (__START_KERNEL_map - PAGE_OFFSET); in kmsan_virt_addr_valid()
Dpage_32_types.h20 #define __START_KERNEL_map __PAGE_OFFSET macro
Dpage_types.h37 #define __START_KERNEL (__START_KERNEL_map + __PHYSICAL_START)
Dpage_64_types.h50 #define __START_KERNEL_map _AC(0xffffffff80000000, UL) macro
Dpgtable_64_types.h190 #define MODULES_VADDR (__START_KERNEL_map + KERNEL_IMAGE_SIZE)
/linux-6.6.21/arch/x86/platform/pvh/
Dhead.S9 #define _pa(x) ((x) - __START_KERNEL_map)
166 _ASM_PTR (pvh_start_xen - __START_KERNEL_map))
/linux-6.6.21/arch/x86/platform/efi/
Defi_thunk_64.S55 movq $__START_KERNEL_map, %rax
/linux-6.6.21/arch/x86/xen/
Dxen-head.S94 ELFNOTE(Xen, XEN_ELFNOTE_VIRT_BASE, _ASM_PTR __START_KERNEL_map)
Dmmu_pv.c1165 if (addr >= __START_KERNEL_map) { in xen_pagetable_p2m_free()
1469 if (xen_start_info->mfn_list < __START_KERNEL_map && in xen_make_pte_init()
1622 return (void *)(paddr + __START_KERNEL_map); in __ka()
1715 if (xen_start_info->mfn_list < __START_KERNEL_map) in xen_setup_kernel_pagetable()
1741 l3 = m2v(pgd[pgd_index(__START_KERNEL_map)].pgd); in xen_setup_kernel_pagetable()
1742 l2 = m2v(l3[pud_index(__START_KERNEL_map)].pud); in xen_setup_kernel_pagetable()
1771 if (i && i < pgd_index(__START_KERNEL_map)) in xen_setup_kernel_pagetable()
1980 if (xen_start_info->mfn_list < __START_KERNEL_map) { in xen_relocate_p2m()
Dsetup.c709 if (xen_start_info->mfn_list >= __START_KERNEL_map) { in xen_reserve_xen_mfnlist()
/linux-6.6.21/arch/x86/boot/compressed/
Dmisc.c206 map = delta - __START_KERNEL_map; in handle_relocations()
/linux-6.6.21/arch/x86/mm/pat/
Dset_memory.c1713 __START_KERNEL_map - phys_base; in cpa_process_alias()