Lines Matching refs:cur_ref
405 int i, cur_ref, otherend_id;
409 cur_ref = gnttab_claim_grant_reference(priv_gref_head);
410 if (cur_ref < 0)
411 return cur_ref;
413 gnttab_grant_foreign_access_ref(cur_ref, otherend_id,
416 buf->grefs[gref_idx++] = cur_ref;
433 int ret, i, j, cur_ref;
449 cur_ref = gnttab_claim_grant_reference(&priv_gref_head);
450 if (cur_ref < 0)
451 return cur_ref;
455 gnttab_grant_foreign_access_ref(cur_ref, otherend_id, frame, 0);
456 buf->grefs[j++] = cur_ref;