Lines Matching refs:curr

215 	pfn_t			curr;  member
297 *pfncur = lp->curr; in kcage_current_pfn()
341 klo = lp->curr; in kcage_next_range()
345 khi = lp->curr; in kcage_next_range()
440 new->curr = new->lim; in kcage_range_add_internal()
442 new->curr = new->base; in kcage_range_add_internal()
507 if ((lp->decr == 0 && lp->curr == lp->base) || in kcage_range_delete_internal()
508 (lp->decr != 0 && lp->curr == lp->lim)) in kcage_range_delete_internal()
519 if (lp->decr == 0 && base < lp->curr && lim >= lp->base) { in kcage_range_delete_internal()
522 if (lp->decr != 0 && base < lp->lim && lim >= lp->curr) { in kcage_range_delete_internal()
653 new->curr = base; in kcage_glist_delete()
659 new->curr = new->base; in kcage_glist_delete()
674 lp->curr == lp->lim) in kcage_glist_delete()
675 lp->curr = base; in kcage_glist_delete()
681 lp->curr == lp->base) in kcage_glist_delete()
682 lp->curr = lim; in kcage_glist_delete()
712 if (lp->curr != lp->base) { in kcage_get_pfn()
713 pfn = --lp->curr; in kcage_get_pfn()
717 if (lp->curr != lp->lim) { in kcage_get_pfn()
718 pfn = lp->curr++; in kcage_get_pfn()
783 pfn = lp->curr; in kcage_walk_cage()
807 ASSERT(pfn >= lp->curr && pfn < lp->lim); in kcage_walk_cage()
809 if (pfn == lp->curr) { in kcage_walk_cage()
819 ASSERT(pfn >= lp->base && pfn < lp->curr); in kcage_walk_cage()
1041 if (lp->curr != lp->lim) { in kcage_kstat_update()
1045 if (lp->curr != lp->base) { in kcage_kstat_update()
1079 if (lp->curr != lp->lim) { in kcage_kstat_snapshot()
1080 kspmem->address = ptob(lp->curr); in kcage_kstat_snapshot()
1081 kspmem->size = ptob(lp->lim - lp->curr); in kcage_kstat_snapshot()
1084 if (lp->curr != lp->base) { in kcage_kstat_snapshot()
1086 kspmem->size = ptob(lp->curr - lp->base); in kcage_kstat_snapshot()