Searched refs:kspmem (Results 1 – 3 of 3) sorted by relevance
800 } *kspmem; in pr_list_kstat_snapshot() local807 kspmem = (struct memunit *)buf; in pr_list_kstat_snapshot()812 if (((caddr_t)kspmem >= (caddr_t)buf + ksp->ks_data_size) || in pr_list_kstat_snapshot()817 kspmem->address = ptob(pp->p_pagenum); in pr_list_kstat_snapshot()818 kspmem->size = PAGESIZE; in pr_list_kstat_snapshot()819 kspmem++; in pr_list_kstat_snapshot()821 pp = pp->p_vpnext, kspmem++) { in pr_list_kstat_snapshot()822 if ((caddr_t)kspmem >= (caddr_t)buf + ksp->ks_data_size) in pr_list_kstat_snapshot()824 kspmem->address = ptob(pp->p_pagenum); in pr_list_kstat_snapshot()825 kspmem->size = PAGESIZE; in pr_list_kstat_snapshot()
1065 } *kspmem; in kcage_kstat_snapshot() local1072 kspmem = (struct memunit *)buf; in kcage_kstat_snapshot()1074 for (lp = kcage_glist; lp != NULL; lp = lp->next, kspmem++) { in kcage_kstat_snapshot()1075 if ((caddr_t)kspmem >= (caddr_t)buf + ksp->ks_data_size) 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()1085 kspmem->address = ptob(lp->base); in kcage_kstat_snapshot()1086 kspmem->size = ptob(lp->curr - lp->base); in kcage_kstat_snapshot()
1004 } *kspmem; in mm_kstat_snapshot() local1011 kspmem = (struct memunit *)buf; in mm_kstat_snapshot()1014 pmem = pmem->ml_next, kspmem++) { in mm_kstat_snapshot()1015 if ((caddr_t)kspmem >= (caddr_t)buf + ksp->ks_data_size) in mm_kstat_snapshot()1017 kspmem->address = pmem->ml_address; in mm_kstat_snapshot()1018 kspmem->size = pmem->ml_size; in mm_kstat_snapshot()