Lines Matching refs:nested

19         spapr->nested.capabilities_set = false;  in spapr_nested_reset()
24 spapr->nested.api = 0; in spapr_nested_reset()
30 return spapr->nested.api; in spapr_nested_api()
42 patb = spapr->nested.ptcr & PTCR_PATB; in spapr_get_pate_nested_hv()
43 pats = spapr->nested.ptcr & PTCR_PATS; in spapr_get_pate_nested_hv()
69 guest = g_hash_table_lookup(spapr->nested.guests, GINT_TO_POINTER(guestid)); in spapr_get_nested_guest()
105 spapr->nested.ptcr = ptcr; /* Save new partition table */ in h_set_ptbl()
343 if (spapr->nested.ptcr == 0) { in h_enter_nested()
1264 if (!spapr->nested.capabilities_set) { in h_guest_set_capabilities()
1265 spapr->nested.capabilities_set = true; in h_guest_set_capabilities()
1266 spapr->nested.pvr_base = env->spr[SPR_PVR]; in h_guest_set_capabilities()
1301 if (!spapr->nested.capabilities_set) { in h_guest_create()
1305 if (!spapr->nested.guests) { in h_guest_create()
1306 spapr->nested.guests = g_hash_table_new_full(NULL, in h_guest_create()
1312 nguests = g_hash_table_size(spapr->nested.guests); in h_guest_create()
1320 if (!(g_hash_table_lookup(spapr->nested.guests, in h_guest_create()
1335 guest->pvr_logical = spapr->nested.pvr_base; in h_guest_create()
1336 g_hash_table_insert(spapr->nested.guests, GINT_TO_POINTER(guestid), guest); in h_guest_create()
1359 g_hash_table_destroy(spapr->nested.guests); in h_guest_delete()
1363 guest = g_hash_table_lookup(spapr->nested.guests, GINT_TO_POINTER(guestid)); in h_guest_delete()
1368 g_hash_table_remove(spapr->nested.guests, GINT_TO_POINTER(guestid)); in h_guest_delete()
1774 assert(spapr->nested.api); /* ensure API version is initialized */ in nested_papr_run_vcpu()