HV_STATS_AREA_PARENT
parent_val = pstats[HV_STATS_AREA_PARENT]->data[idx];
static_assert(HV_STATS_AREA_SELF == 0 && HV_STATS_AREA_PARENT == 1,
parent_val = pstats[HV_STATS_AREA_PARENT]->data[idx];
pstats[HV_STATS_AREA_PARENT] = pstats[HV_STATS_AREA_SELF];
pstats[HV_STATS_AREA_PARENT] = mshv_partition_stats_map(partition_id,
HV_STATS_AREA_PARENT);
if (IS_ERR(pstats[HV_STATS_AREA_PARENT])) {
err = PTR_ERR(pstats[HV_STATS_AREA_PARENT]);
if (!pstats[HV_STATS_AREA_PARENT])
pstats[HV_STATS_AREA_PARENT] = pstats[HV_STATS_AREA_SELF];
if (pstats[HV_STATS_AREA_PARENT] != pstats[HV_STATS_AREA_SELF])
mshv_partition_stats_unmap(partition_id, pstats[HV_STATS_AREA_PARENT],
HV_STATS_AREA_PARENT);
if (pstats[HV_STATS_AREA_PARENT] != pstats[HV_STATS_AREA_SELF]) {
pstats[HV_STATS_AREA_PARENT],
HV_STATS_AREA_PARENT);
if (hv_stats_get_area_type(type, identity) == HV_STATS_AREA_PARENT &&
stats_pages[HV_STATS_AREA_PARENT] = stats_pages[HV_STATS_AREA_SELF];
identity.vp.stats_area_type = HV_STATS_AREA_PARENT;
&stats_pages[HV_STATS_AREA_PARENT]);
if (!stats_pages[HV_STATS_AREA_PARENT])
stats_pages[HV_STATS_AREA_PARENT] = stats_pages[HV_STATS_AREA_SELF];
u64 *parent_vp_cntrs = stats[HV_STATS_AREA_PARENT]->data;
if (stats_pages[HV_STATS_AREA_PARENT] != stats_pages[HV_STATS_AREA_SELF]) {
identity.vp.stats_area_type = HV_STATS_AREA_PARENT;
stats_pages[HV_STATS_AREA_PARENT],