Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/mm/
Dmem_encrypt_identity.c82 unsigned long vaddr_end; member
108 pgd_end = ppd->vaddr_end & PGDIR_MASK; in sme_clear_pgd()
198 while (ppd->vaddr < ppd->vaddr_end) { in __sme_map_range_pmd()
208 while (ppd->vaddr < ppd->vaddr_end) { in __sme_map_range_pte()
219 unsigned long vaddr_end; in __sme_map_range() local
225 vaddr_end = ppd->vaddr_end; in __sme_map_range()
228 ppd->vaddr_end = ALIGN(ppd->vaddr, PMD_PAGE_SIZE); in __sme_map_range()
232 ppd->vaddr_end = vaddr_end & PMD_PAGE_MASK; in __sme_map_range()
236 ppd->vaddr_end = vaddr_end; in __sme_map_range()
404 ppd.vaddr_end = workarea_end; in sme_encrypt_kernel()
[all …]
Dmem_encrypt_amd.c295 unsigned long vaddr_end = vaddr + sz; in enc_dec_hypercall() local
297 while (vaddr < vaddr_end) { in enc_dec_hypercall()
406 unsigned long vaddr_end, vaddr_next, start; in early_set_memory_enc_dec() local
414 vaddr_end = vaddr + size; in early_set_memory_enc_dec()
416 for (; vaddr < vaddr_end; vaddr = vaddr_next) { in early_set_memory_enc_dec()
439 ((vaddr_end - vaddr) >= psize)) { in early_set_memory_enc_dec()
461 __pa((vaddr_end & pmask) + psize), in early_set_memory_enc_dec()
508 unsigned long vaddr, vaddr_end, npages; in mem_encrypt_free_decrypted_mem() local
512 vaddr_end = (unsigned long)__end_bss_decrypted; in mem_encrypt_free_decrypted_mem()
513 npages = (vaddr_end - vaddr) >> PAGE_SHIFT; in mem_encrypt_free_decrypted_mem()
[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()
Dinit_64.c429 unsigned long vaddr_end = __START_KERNEL_map + KERNEL_IMAGE_SIZE; in cleanup_highmap() local
439 vaddr_end = __START_KERNEL_map + (max_pfn_mapped << PAGE_SHIFT); in cleanup_highmap()
441 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 …]
/linux-6.1.9/arch/x86/kernel/
Dsev.c648 unsigned long vaddr_end; in pvalidate_pages() local
652 vaddr_end = vaddr + (npages << PAGE_SHIFT); in pvalidate_pages()
654 while (vaddr < vaddr_end) { in pvalidate_pages()
842 unsigned long vaddr_end, int op) in __set_pages_state() argument
855 while (vaddr < vaddr_end) { in __set_pages_state()
882 unsigned long vaddr_end, next_vaddr; in set_pages_state() local
890 vaddr_end = vaddr + (npages << PAGE_SHIFT); in set_pages_state()
892 while (vaddr < vaddr_end) { in set_pages_state()
894 next_vaddr = min_t(unsigned long, vaddr_end, in set_pages_state()
Dhead64.c132 unsigned long vaddr, vaddr_end; in sme_postprocess_startup() local
146 vaddr_end = (unsigned long)__end_bss_decrypted; in sme_postprocess_startup()
148 for (; vaddr < vaddr_end; vaddr += PMD_SIZE) { in sme_postprocess_startup()
/linux-6.1.9/Documentation/x86/x86_64/
Dmm.rst58 | | | | vaddr_end for KASLR
117 | | | | vaddr_end for KASLR
/linux-6.1.9/mm/
Dhuge_memory.c2962 unsigned long vaddr_end) in split_huge_pages_pid() argument
2971 vaddr_end &= PAGE_MASK; in split_huge_pages_pid()
2994 pid, vaddr_start, vaddr_end); in split_huge_pages_pid()
3001 for (addr = vaddr_start; addr < vaddr_end; addr += PAGE_SIZE) { in split_huge_pages_pid()
3116 unsigned long vaddr_start, vaddr_end; in split_huge_pages_write() local
3157 ret = sscanf(input_buf, "%d,0x%lx,0x%lx", &pid, &vaddr_start, &vaddr_end); in split_huge_pages_write()
3167 ret = split_huge_pages_pid(pid, vaddr_start, vaddr_end); in split_huge_pages_write()
/linux-6.1.9/arch/x86/kvm/svm/
Dsev.c498 unsigned long vaddr, vaddr_end, next_vaddr, npages, pages, size, i; in sev_launch_update_data() local
513 vaddr_end = vaddr + size; in sev_launch_update_data()
529 for (i = 0; vaddr < vaddr_end; vaddr = next_vaddr, i += pages) { in sev_launch_update_data()
917 unsigned long vaddr, vaddr_end, next_vaddr; in sev_dbg_crypt() local
938 vaddr_end = vaddr + size; in sev_dbg_crypt()
941 for (; vaddr < vaddr_end; vaddr = next_vaddr) { in sev_dbg_crypt()
/linux-6.1.9/arch/x86/xen/
Dmmu_pv.c1004 unsigned long vaddr_end) in xen_cleanhighmap() argument
1011 for (; vaddr <= vaddr_end && (pmd < (level2_kernel_pgt + PTRS_PER_PMD)); in xen_cleanhighmap()
1029 void *vaddr_end = vaddr + size; in xen_free_ro_pages() local
1031 for (; vaddr < vaddr_end; vaddr += PAGE_SIZE) in xen_free_ro_pages()