Lines Matching refs:kmap_ctrl
437 current->kmap_ctrl.idx += KM_INCR; in kmap_local_idx_push()
438 BUG_ON(current->kmap_ctrl.idx >= KM_MAX_IDX); in kmap_local_idx_push()
439 return current->kmap_ctrl.idx - 1; in kmap_local_idx_push()
444 return current->kmap_ctrl.idx - 1; in kmap_local_idx()
449 current->kmap_ctrl.idx -= KM_INCR; in kmap_local_idx_pop()
450 BUG_ON(current->kmap_ctrl.idx < 0); in kmap_local_idx_pop()
536 current->kmap_ctrl.pteval[kmap_local_idx()] = pteval; in __kmap_local_pfn_prot()
596 current->kmap_ctrl.pteval[kmap_local_idx()] = __pte(0); in kunmap_local_indexed()
620 for (i = 0; i < tsk->kmap_ctrl.idx; i++) { in __kmap_local_sched_out()
621 pte_t pteval = tsk->kmap_ctrl.pteval[i]; in __kmap_local_sched_out()
657 for (i = 0; i < tsk->kmap_ctrl.idx; i++) { in __kmap_local_sched_in()
658 pte_t pteval = tsk->kmap_ctrl.pteval[i]; in __kmap_local_sched_in()
681 if (WARN_ON_ONCE(tsk->kmap_ctrl.idx)) in kmap_local_fork()
682 memset(&tsk->kmap_ctrl, 0, sizeof(tsk->kmap_ctrl)); in kmap_local_fork()