Lines Matching refs:pteval
173 idx = arch_kmap_local_map_idx(i, pte_pfn(pteval)); in __kmap_to_page()
177 return pte_page(kctrl->pteval[i]); in __kmap_to_page()
484 # define arch_kmap_local_post_map(vaddr, pteval) do { } while (0) argument
540 pte_t pteval, *kmap_pte; in __kmap_local_pfn_prot() local
554 pteval = pfn_pte(pfn, prot); in __kmap_local_pfn_prot()
555 arch_kmap_local_set_pte(&init_mm, vaddr, kmap_pte, pteval); in __kmap_local_pfn_prot()
556 arch_kmap_local_post_map(vaddr, pteval); in __kmap_local_pfn_prot()
557 current->kmap_ctrl.pteval[kmap_local_idx()] = pteval; in __kmap_local_pfn_prot()
617 current->kmap_ctrl.pteval[kmap_local_idx()] = __pte(0); in kunmap_local_indexed()
642 pte_t pteval = tsk->kmap_ctrl.pteval[i]; in __kmap_local_sched_out() local
648 WARN_ON_ONCE(pte_val(pteval) != 0); in __kmap_local_sched_out()
651 if (WARN_ON_ONCE(pte_none(pteval))) in __kmap_local_sched_out()
661 idx = arch_kmap_local_map_idx(i, pte_pfn(pteval)); in __kmap_local_sched_out()
679 pte_t pteval = tsk->kmap_ctrl.pteval[i]; in __kmap_local_sched_in() local
685 WARN_ON_ONCE(pte_val(pteval) != 0); in __kmap_local_sched_in()
688 if (WARN_ON_ONCE(pte_none(pteval))) in __kmap_local_sched_in()
692 idx = arch_kmap_local_map_idx(i, pte_pfn(pteval)); in __kmap_local_sched_in()
695 set_pte_at(&init_mm, addr, kmap_pte, pteval); in __kmap_local_sched_in()
696 arch_kmap_local_post_map(addr, pteval); in __kmap_local_sched_in()