Home
last modified time | relevance | path

Searched refs:vaddr_end (Results 1 – 7 of 7) sorted by relevance

/arch/x86/mm/
Dmem_encrypt_identity.c79 unsigned long vaddr_end; member
105 pgd_end = ppd->vaddr_end & PGDIR_MASK; in sme_clear_pgd()
195 while (ppd->vaddr < ppd->vaddr_end) { in __sme_map_range_pmd()
205 while (ppd->vaddr < ppd->vaddr_end) { in __sme_map_range_pte()
216 unsigned long vaddr_end; in __sme_map_range() local
222 vaddr_end = ppd->vaddr_end; in __sme_map_range()
225 ppd->vaddr_end = ALIGN(ppd->vaddr, PMD_PAGE_SIZE); in __sme_map_range()
229 ppd->vaddr_end = vaddr_end & PMD_PAGE_MASK; in __sme_map_range()
233 ppd->vaddr_end = vaddr_end; in __sme_map_range()
395 ppd.vaddr_end = workarea_end; in sme_encrypt_kernel()
[all …]
Dkaslr.c41 static const unsigned long vaddr_end = CPU_ENTRY_AREA_BASE; variable
81 BUILD_BUG_ON(vaddr_start >= vaddr_end); in kernel_randomize_memory()
82 BUILD_BUG_ON(vaddr_end != CPU_ENTRY_AREA_BASE); in kernel_randomize_memory()
83 BUILD_BUG_ON(vaddr_end > __START_KERNEL_map); in kernel_randomize_memory()
112 remain_entropy = vaddr_end - vaddr_start; in kernel_randomize_memory()
Dmem_encrypt.c289 unsigned long vaddr_end, vaddr_next; in early_set_memory_enc_dec() local
296 vaddr_end = vaddr + size; in early_set_memory_enc_dec()
298 for (; vaddr < vaddr_end; vaddr = vaddr_next) { in early_set_memory_enc_dec()
321 ((vaddr_end - vaddr) >= psize)) { in early_set_memory_enc_dec()
343 __pa((vaddr_end & pmask) + psize), in early_set_memory_enc_dec()
421 unsigned long vaddr, vaddr_end, npages; in mem_encrypt_free_decrypted_mem() local
425 vaddr_end = (unsigned long)__end_bss_decrypted; in mem_encrypt_free_decrypted_mem()
426 npages = (vaddr_end - vaddr) >> PAGE_SHIFT; in mem_encrypt_free_decrypted_mem()
440 free_init_pages("unused decrypted", vaddr, vaddr_end); in mem_encrypt_free_decrypted_mem()
Dinit_64.c424 unsigned long vaddr_end = __START_KERNEL_map + KERNEL_IMAGE_SIZE; in cleanup_highmap() local
434 vaddr_end = __START_KERNEL_map + (max_pfn_mapped << PAGE_SHIFT); in cleanup_highmap()
436 for (; vaddr + PMD_SIZE - 1 < vaddr_end; pmd++, vaddr += PMD_SIZE) { in cleanup_highmap()
678 unsigned long vaddr, vaddr_end, vaddr_next, paddr_next, paddr_last; in phys_p4d_init() local
682 vaddr_end = (unsigned long)__va(paddr_end); in phys_p4d_init()
688 for (; vaddr < vaddr_end; vaddr = vaddr_next) { in phys_p4d_init()
708 paddr_last = phys_pud_init(pud, paddr, __pa(vaddr_end), in phys_p4d_init()
714 paddr_last = phys_pud_init(pud, paddr, __pa(vaddr_end), in phys_p4d_init()
732 unsigned long vaddr, vaddr_start, vaddr_end, vaddr_next, paddr_last; in __kernel_physical_mapping_init() local
736 vaddr_end = (unsigned long)__va(paddr_end); in __kernel_physical_mapping_init()
[all …]
/arch/x86/kernel/
Dhead64.c138 unsigned long vaddr, vaddr_end; in __startup_64() local
290 vaddr_end = (unsigned long)__end_bss_decrypted; in __startup_64()
291 for (; vaddr < vaddr_end; vaddr += PMD_SIZE) { in __startup_64()
/arch/x86/kvm/svm/
Dsev.c486 unsigned long vaddr, vaddr_end, next_vaddr, npages, pages, size, i; in sev_launch_update_data() local
501 vaddr_end = vaddr + size; in sev_launch_update_data()
517 for (i = 0; vaddr < vaddr_end; vaddr = next_vaddr, i += pages) { in sev_launch_update_data()
901 unsigned long vaddr, vaddr_end, next_vaddr; in sev_dbg_crypt() local
922 vaddr_end = vaddr + size; in sev_dbg_crypt()
925 for (; vaddr < vaddr_end; vaddr = next_vaddr) { in sev_dbg_crypt()
/arch/x86/xen/
Dmmu_pv.c998 unsigned long vaddr_end) in xen_cleanhighmap() argument
1005 for (; vaddr <= vaddr_end && (pmd < (level2_kernel_pgt + PTRS_PER_PMD)); in xen_cleanhighmap()
1023 void *vaddr_end = vaddr + size; in xen_free_ro_pages() local
1025 for (; vaddr < vaddr_end; vaddr += PAGE_SIZE) in xen_free_ro_pages()