Home
last modified time | relevance | path

Searched refs:kmap_ctrl (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/mm/
Dhighmem.c157 struct kmap_ctrl *kctrl = &current->kmap_ctrl; in __kmap_to_page()
467 current->kmap_ctrl.idx += KM_INCR; in kmap_local_idx_push()
468 BUG_ON(current->kmap_ctrl.idx >= KM_MAX_IDX); in kmap_local_idx_push()
469 return current->kmap_ctrl.idx - 1; in kmap_local_idx_push()
474 return current->kmap_ctrl.idx - 1; in kmap_local_idx()
479 current->kmap_ctrl.idx -= KM_INCR; in kmap_local_idx_pop()
480 BUG_ON(current->kmap_ctrl.idx < 0); in kmap_local_idx_pop()
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()
641 for (i = 0; i < tsk->kmap_ctrl.idx; i++) { in __kmap_local_sched_out()
[all …]
/linux-6.6.21/include/linux/
Dhighmem-internal.h17 DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx); in kmap_assert_nomap()
Dsched.h736 struct kmap_ctrl { struct
1457 struct kmap_ctrl kmap_ctrl; member
/linux-6.6.21/kernel/sched/
Dcore.c5156 if (unlikely(current->kmap_ctrl.idx)) in kmap_local_sched_out()
5164 if (unlikely(current->kmap_ctrl.idx)) in kmap_local_sched_in()