Lines Matching refs:kmap_ctrl
157 struct kmap_ctrl *kctrl = ¤t->kmap_ctrl; in __kmap_to_page()
465 current->kmap_ctrl.idx += KM_INCR; in kmap_local_idx_push()
466 BUG_ON(current->kmap_ctrl.idx >= KM_MAX_IDX); in kmap_local_idx_push()
467 return current->kmap_ctrl.idx - 1; in kmap_local_idx_push()
472 return current->kmap_ctrl.idx - 1; in kmap_local_idx()
477 current->kmap_ctrl.idx -= KM_INCR; in kmap_local_idx_pop()
478 BUG_ON(current->kmap_ctrl.idx < 0); in kmap_local_idx_pop()
555 current->kmap_ctrl.pteval[kmap_local_idx()] = pteval; in __kmap_local_pfn_prot()
615 current->kmap_ctrl.pteval[kmap_local_idx()] = __pte(0); in kunmap_local_indexed()
639 for (i = 0; i < tsk->kmap_ctrl.idx; i++) { in __kmap_local_sched_out()
640 pte_t pteval = tsk->kmap_ctrl.pteval[i]; in __kmap_local_sched_out()
676 for (i = 0; i < tsk->kmap_ctrl.idx; i++) { in __kmap_local_sched_in()
677 pte_t pteval = tsk->kmap_ctrl.pteval[i]; in __kmap_local_sched_in()
700 if (WARN_ON_ONCE(tsk->kmap_ctrl.idx)) in kmap_local_fork()
701 memset(&tsk->kmap_ctrl, 0, sizeof(tsk->kmap_ctrl)); in kmap_local_fork()