Searched refs:grefs (Results 1 – 2 of 2) sorted by relevance
85 if (!buf->grefs) in xen_front_pgdir_shbuf_get_dir_start()88 return buf->grefs[0]; in xen_front_pgdir_shbuf_get_dir_start()141 if (buf->grefs) { in xen_front_pgdir_shbuf_free()145 if (buf->grefs[i] != GRANT_INVALID_REF) in xen_front_pgdir_shbuf_free()146 gnttab_end_foreign_access(buf->grefs[i], in xen_front_pgdir_shbuf_free()149 kfree(buf->grefs); in xen_front_pgdir_shbuf_free()214 if (!buf->pages || !buf->backend_map_handles || !buf->grefs) in backend_unmap()347 page_dir->gref_dir_next_page = buf->grefs[i + 1]; in backend_fill_page_dir()384 page_dir->gref_dir_next_page = buf->grefs[i + 1]; in guest_fill_page_dir()386 memcpy(&page_dir->gref, &buf->grefs[cur_gref], in guest_fill_page_dir()[all …]
379 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_grant_ring() argument399 grefs[i] = gnttab_claim_grant_reference(&gref_head); in xenbus_grant_ring()400 gnttab_grant_foreign_access_ref(grefs[i], dev->otherend_id, in xenbus_grant_ring()