Lines Matching refs:vaddr
15 unsigned long vaddr = __fix_to_virt(idx); in set_fixmap() local
16 pgd_t *pgd = pgd_offset_k(vaddr); in set_fixmap()
17 p4d_t *p4d = p4d_offset(pgd, vaddr); in set_fixmap()
18 pud_t *pud = pud_offset(p4d, vaddr); in set_fixmap()
19 pmd_t *pmd = pmd_offset(pud, vaddr); in set_fixmap()
23 pte = pte_alloc_kernel(pmd, vaddr); in set_fixmap()
25 pte = pte_offset_kernel(pmd, vaddr); in set_fixmap()
26 set_pte_at(&init_mm, vaddr, pte, __mk_pte(phys, PAGE_KERNEL_RWX)); in set_fixmap()
27 flush_tlb_kernel_range(vaddr, vaddr + PAGE_SIZE); in set_fixmap()
32 unsigned long vaddr = __fix_to_virt(idx); in clear_fixmap() local
33 pte_t *pte = virt_to_kpte(vaddr); in clear_fixmap()
38 pte_clear(&init_mm, vaddr, pte); in clear_fixmap()
40 flush_tlb_kernel_range(vaddr, vaddr + PAGE_SIZE); in clear_fixmap()