Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dhighmem.c157 struct kmap_ctrl *kctrl = &current->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()
[all …]
/linux-6.1.9/include/linux/
Dhighmem-internal.h17 DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx); in kmap_assert_nomap()
Dsched.h730 struct kmap_ctrl { struct
1455 struct kmap_ctrl kmap_ctrl; member
/linux-6.1.9/kernel/sched/
Dcore.c5015 if (unlikely(current->kmap_ctrl.idx)) in kmap_local_sched_out()
5023 if (unlikely(current->kmap_ctrl.idx)) in kmap_local_sched_in()