Lines Matching refs:vmu_vals
107 static vmusage_t *vmu_vals = NULL; /* snapshot of kernel RSS/swap values */
459 vmu_vals, &nres) != 0) {
472 free(vmu_vals);
474 if ((vmu_vals = (vmusage_t *)calloc(nres,
490 "swap: %llu\n", (int)i, (int)vmu_vals[i].vmu_id,
491 vmu_vals[i].vmu_type,
492 (unsigned long long)vmu_vals[i].vmu_rss_all,
493 (unsigned long long)vmu_vals[i].vmu_rss_all / 1024,
494 (unsigned long long)vmu_vals[i].vmu_swap_all);
507 if (vmu_vals[i].vmu_id != lcol->lcol_id.rcid_val)
510 if (vmu_vals[i].vmu_type == VMUSAGE_ZONE &&
514 if (vmu_vals[i].vmu_type == VMUSAGE_PROJECTS &&
519 lcol->lcol_rss = vmu_vals[i].vmu_rss_all / 1024;
520 lcol->lcol_image_size = vmu_vals[i].vmu_swap_all / 1024;