Home
last modified time | relevance | path

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

/linux-6.1.9/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()
400 kasan_mem_to_shadow((void *)__START_KERNEL_map)); in kasan_init()
Ddump_pagetables.c104 [HIGH_KERNEL_NR] = { __START_KERNEL_map, "High Kernel Mapping" },
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()
/linux-6.1.9/arch/x86/kernel/
Dhead_64.S37 L4_START_KERNEL = l4_index(__START_KERNEL_map)
39 L3_START_KERNEL = pud_index(__START_KERNEL_map)
125 addq $(early_top_pgt - __START_KERNEL_map), %rax
173 addq $(init_top_pgt - __START_KERNEL_map), %rax
574 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
576 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
579 .quad level3_kernel_pgt - __START_KERNEL_map + _PAGE_TABLE_NOENC
584 .quad level2_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
608 .quad level3_kernel_pgt - __START_KERNEL_map + _PAGE_TABLE_NOENC
615 .quad level2_kernel_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
[all …]
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 …]
Dvmlinux.lds.S21 #define LOAD_OFFSET __START_KERNEL_map
Dsetup.c818 __START_KERNEL_map, in dump_kernel_offset()
/linux-6.1.9/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()
75 x = y + (__START_KERNEL_map - PAGE_OFFSET); in kmsan_virt_addr_valid()
Dpage_32_types.h20 #define __START_KERNEL_map __PAGE_OFFSET macro
Dpage_64_types.h50 #define __START_KERNEL_map _AC(0xffffffff80000000, UL) macro
Dpage_types.h43 #define __START_KERNEL (__START_KERNEL_map + __PHYSICAL_START)
Dpgtable_64_types.h189 #define MODULES_VADDR (__START_KERNEL_map + KERNEL_IMAGE_SIZE)
/linux-6.1.9/arch/x86/platform/pvh/
Dhead.S9 #define _pa(x) ((x) - __START_KERNEL_map)
166 _ASM_PTR (pvh_start_xen - __START_KERNEL_map))
/linux-6.1.9/arch/x86/platform/efi/
Defi_thunk_64.S55 movq $__START_KERNEL_map, %rax
/linux-6.1.9/arch/x86/xen/
Dxen-head.S89 ELFNOTE(Xen, XEN_ELFNOTE_VIRT_BASE, _ASM_PTR __START_KERNEL_map)
Dmmu_pv.c1156 if (addr >= __START_KERNEL_map) { in xen_pagetable_p2m_free()
1460 if (xen_start_info->mfn_list < __START_KERNEL_map && in xen_make_pte_init()
1613 return (void *)(paddr + __START_KERNEL_map); in __ka()
1706 if (xen_start_info->mfn_list < __START_KERNEL_map) in xen_setup_kernel_pagetable()
1732 l3 = m2v(pgd[pgd_index(__START_KERNEL_map)].pgd); in xen_setup_kernel_pagetable()
1733 l2 = m2v(l3[pud_index(__START_KERNEL_map)].pud); in xen_setup_kernel_pagetable()
1762 if (i && i < pgd_index(__START_KERNEL_map)) in xen_setup_kernel_pagetable()
1971 if (xen_start_info->mfn_list < __START_KERNEL_map) { in xen_relocate_p2m()
Dsetup.c705 if (xen_start_info->mfn_list >= __START_KERNEL_map) { in xen_reserve_xen_mfnlist()
/linux-6.1.9/arch/x86/boot/compressed/
Dmisc.c206 map = delta - __START_KERNEL_map; in handle_relocations()
/linux-6.1.9/arch/x86/mm/pat/
Dset_memory.c1672 __START_KERNEL_map - phys_base; in cpa_process_alias()