Lines Matching refs:gref
2228 struct domain *rd, grant_ref_t gref, bool readonly) in release_grant_for_copy() argument
2240 act = active_entry_acquire(rgt, gref); in release_grant_for_copy()
2241 sha = shared_entry_header(rgt, gref); in release_grant_for_copy()
2248 trans_gref = gref; in release_grant_for_copy()
2252 status = &status_entry(rgt, gref); in release_grant_for_copy()
2309 struct domain *rd, grant_ref_t gref, domid_t ldom, bool readonly, in acquire_grant_for_copy() argument
2332 if ( unlikely(gref >= nr_grant_entries(rgt)) ) in acquire_grant_for_copy()
2334 "Bad grant reference %#x\n", gref); in acquire_grant_for_copy()
2336 act = active_entry_acquire(rgt, gref); in acquire_grant_for_copy()
2337 shah = shared_entry_header(rgt, gref); in acquire_grant_for_copy()
2345 sha2 = &shared_entry_v2(rgt, gref); in acquire_grant_for_copy()
2346 status = &status_entry(rgt, gref); in acquire_grant_for_copy()
2369 trans_gref = sha2->transitive.gref; in acquire_grant_for_copy()
2405 act = active_entry_acquire(rgt, gref); in acquire_grant_for_copy()
2466 trans_gref = gref; in acquire_grant_for_copy()
2469 unsigned long gfn = shared_entry_v1(rgt, gref).frame; in acquire_grant_for_copy()