/* * Fill LGR info with 3.2.2 stsi data
*/ staticvoid lgr_stsi_3_2_2(struct lgr_info *lgr_info)
{ struct sysinfo_3_2_2 *si = (void *) lgr_page; int i;
if (stsi(si, 3, 2, 2)) return; for (i = 0; i < min_t(u8, si->count, VM_LEVEL_MAX); i++) {
cpascii(lgr_info->vm[i].name, si->vm[i].name, sizeof(si->vm[i].name));
cpascii(lgr_info->vm[i].cpi, si->vm[i].cpi, sizeof(si->vm[i].cpi));
}
lgr_info->vm_count = si->count;
}
/* * Fill LGR info with current data
*/ staticvoid lgr_info_get(struct lgr_info *lgr_info)
{ int level;
memset(lgr_info, 0, sizeof(*lgr_info));
stfle(lgr_info->stfle_fac_list, ARRAY_SIZE(lgr_info->stfle_fac_list));
level = stsi(NULL, 0, 0, 0);
lgr_info->level = level; if (level >= 1)
lgr_stsi_1_1_1(lgr_info); if (level >= 2)
lgr_stsi_2_2_2(lgr_info); if (level >= 3)
lgr_stsi_3_2_2(lgr_info);
}
/* * Check if LGR info has changed and if yes log new LGR info to s390dbf
*/ void lgr_info_log(void)
{ static DEFINE_SPINLOCK(lgr_info_lock); unsignedlong flags;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.