Lines Matching refs:grefs
371 * @grefs: grant reference array to be filled in
376 * grant references are stored in the @grefs array. In case of error @vaddr
377 * will be set to NULL and @grefs will be filled with INVALID_GRANT_REF.
380 unsigned int nr_pages, grant_ref_t *grefs)
409 grefs[i] = gnttab_claim_grant_reference(&gref_head);
410 gnttab_grant_foreign_access_ref(grefs[i], dev->otherend_id,
422 grefs[i] = INVALID_GRANT_REF;
433 * @grefs: grant reference array
439 grant_ref_t *grefs)
444 if (grefs[i] != INVALID_GRANT_REF) {
445 gnttab_end_foreign_access(grefs[i], NULL);
446 grefs[i] = INVALID_GRANT_REF;