Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/
Dhead_64.S47 L4_START_KERNEL = l4_index(__START_KERNEL_map)
49 L3_START_KERNEL = pud_index(__START_KERNEL_map)
93 addq $(early_top_pgt - __START_KERNEL_map), %rax
123 addq $(init_top_pgt - __START_KERNEL_map), %rax
391 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
393 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
396 .quad level3_kernel_pgt - __START_KERNEL_map + _PAGE_TABLE_NOENC
400 .quad level2_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
421 .quad level3_kernel_pgt - __START_KERNEL_map + _PAGE_TABLE_NOENC
427 .quad level2_kernel_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
[all …]
Dhead64.c138 load_delta = physaddr - (unsigned long)(_text - __START_KERNEL_map); in __startup_64()
153 p = pgd + pgd_index(__START_KERNEL_map); in __startup_64()
158 *p += _PAGE_TABLE_NOENC - __START_KERNEL_map + load_delta; in __startup_64()
304 p4d_p = (p4dval_t *)((pgd & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
313 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
319 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
328 *p4d_p = (p4dval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
334 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
343 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
411 BUILD_BUG_ON(MODULES_VADDR < __START_KERNEL_map); in x86_64_start_kernel()
[all …]
Dvmlinux.lds.S21 #define LOAD_OFFSET __START_KERNEL_map
Dsetup.c799 __START_KERNEL_map, in dump_kernel_offset()
/Linux-v4.19/arch/x86/mm/
Dphysaddr.c16 unsigned long y = x - __START_KERNEL_map; in __phys_addr()
24 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __phys_addr()
36 unsigned long y = x - __START_KERNEL_map; in __phys_addr_symbol()
48 unsigned long y = x - __START_KERNEL_map; in __virt_addr_valid()
57 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __virt_addr_valid()
Dkasan_init_64.c202 p4d += __START_KERNEL_map - phys_base; in early_p4d_offset()
359 kasan_mem_to_shadow((void *)__START_KERNEL_map)); in kasan_init()
Dkaslr.c91 BUILD_BUG_ON(vaddr_end > __START_KERNEL_map); in kernel_randomize_memory()
Dinit_64.c391 unsigned long vaddr = __START_KERNEL_map; in cleanup_highmap()
392 unsigned long vaddr_end = __START_KERNEL_map + KERNEL_IMAGE_SIZE; in cleanup_highmap()
402 vaddr_end = __START_KERNEL_map + (max_pfn_mapped << PAGE_SHIFT); in cleanup_highmap()
Ddump_pagetables.c107 [HIGH_KERNEL_NR] = { __START_KERNEL_map, "High Kernel Mapping" },
Dpageattr.c1362 __START_KERNEL_map - phys_base; in cpa_process_alias()
/Linux-v4.19/arch/x86/include/asm/
Dpage_64.h20 unsigned long y = x - __START_KERNEL_map; in __phys_addr_nodebug()
23 x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET)); in __phys_addr_nodebug()
34 ((unsigned long)(x) - __START_KERNEL_map + phys_base)
Dpage_32_types.h20 #define __START_KERNEL_map __PAGE_OFFSET macro
Dpage_64_types.h49 #define __START_KERNEL_map _AC(0xffffffff80000000, UL) macro
Dpage_types.h45 #define __START_KERNEL (__START_KERNEL_map + __PHYSICAL_START)
Dpgtable_64_types.h141 #define MODULES_VADDR (__START_KERNEL_map + KERNEL_IMAGE_SIZE)
/Linux-v4.19/drivers/misc/mic/cosm/
Dcosm_debugfs.c62 aper_offset = (u64)cdev->log_buf_len - __START_KERNEL_map; in cosm_log_buf_show()
64 aper_offset = (u64)cdev->log_buf_addr - __START_KERNEL_map; in cosm_log_buf_show()
/Linux-v4.19/arch/x86/xen/
Dxen-pvh.S20 #define _pa(x) ((x) - __START_KERNEL_map)
188 _ASM_PTR (pvh_start_xen - __START_KERNEL_map))
Dxen-head.S81 ELFNOTE(Xen, XEN_ELFNOTE_VIRT_BASE, _ASM_PTR __START_KERNEL_map)
Dmmu_pv.c1237 if (addr >= __START_KERNEL_map) { in xen_pagetable_p2m_free()
1553 if (xen_start_info->mfn_list < __START_KERNEL_map && in xen_make_pte_init()
1738 return (void *)(paddr + __START_KERNEL_map); in __ka()
1888 if (xen_start_info->mfn_list < __START_KERNEL_map) in xen_setup_kernel_pagetable()
1914 l3 = m2v(pgd[pgd_index(__START_KERNEL_map)].pgd); in xen_setup_kernel_pagetable()
1915 l2 = m2v(l3[pud_index(__START_KERNEL_map)].pud); in xen_setup_kernel_pagetable()
1944 if (i && i < pgd_index(__START_KERNEL_map)) in xen_setup_kernel_pagetable()
2148 if (xen_start_info->mfn_list < __START_KERNEL_map) { in xen_relocate_p2m()
Dsetup.c702 if (xen_start_info->mfn_list >= __START_KERNEL_map) { in xen_reserve_xen_mfnlist()
/Linux-v4.19/arch/x86/platform/efi/
Defi_thunk_64.S41 movq $__START_KERNEL_map, %rax
/Linux-v4.19/arch/x86/boot/compressed/
Dmisc.c195 map = delta - __START_KERNEL_map; in handle_relocations()