Lines Matching refs:pteval
184 idx = arch_kmap_local_map_idx(i, pte_pfn(pteval)); in __kmap_to_page()
188 return pte_page(kctrl->pteval[i]); in __kmap_to_page()
495 # define arch_kmap_local_post_map(vaddr, pteval) do { } while (0) argument
551 pte_t pteval, *kmap_pte; in __kmap_local_pfn_prot() local
565 pteval = pfn_pte(pfn, prot); in __kmap_local_pfn_prot()
566 arch_kmap_local_set_pte(&init_mm, vaddr, kmap_pte, pteval); in __kmap_local_pfn_prot()
567 arch_kmap_local_post_map(vaddr, pteval); in __kmap_local_pfn_prot()
568 current->kmap_ctrl.pteval[kmap_local_idx()] = pteval; in __kmap_local_pfn_prot()
628 current->kmap_ctrl.pteval[kmap_local_idx()] = __pte(0); in kunmap_local_indexed()
653 pte_t pteval = tsk->kmap_ctrl.pteval[i]; in __kmap_local_sched_out() local
659 WARN_ON_ONCE(pte_val(pteval) != 0); in __kmap_local_sched_out()
662 if (WARN_ON_ONCE(pte_none(pteval))) in __kmap_local_sched_out()
672 idx = arch_kmap_local_map_idx(i, pte_pfn(pteval)); in __kmap_local_sched_out()
690 pte_t pteval = tsk->kmap_ctrl.pteval[i]; in __kmap_local_sched_in() local
696 WARN_ON_ONCE(pte_val(pteval) != 0); in __kmap_local_sched_in()
699 if (WARN_ON_ONCE(pte_none(pteval))) in __kmap_local_sched_in()
703 idx = arch_kmap_local_map_idx(i, pte_pfn(pteval)); in __kmap_local_sched_in()
706 set_pte_at(&init_mm, addr, kmap_pte, pteval); in __kmap_local_sched_in()
707 arch_kmap_local_post_map(addr, pteval); in __kmap_local_sched_in()