Home
last modified time | relevance | path

Searched refs:gref_head (Results 1 – 5 of 5) sorted by relevance

/drivers/tty/hvc/
Dhvc_xen.c433 grant_ref_t gref_head; in xencons_connect_backend() local
448 ret = gnttab_alloc_grant_references(1, &gref_head); in xencons_connect_backend()
451 info->gntref = gref_head; in xencons_connect_backend()
452 ref = gnttab_claim_grant_reference(&gref_head); in xencons_connect_backend()
/drivers/xen/xenbus/
Dxenbus_client.c383 grant_ref_t gref_head; in xenbus_grant_ring() local
385 err = gnttab_alloc_grant_references(nr_pages, &gref_head); in xenbus_grant_ring()
399 grefs[i] = gnttab_claim_grant_reference(&gref_head); in xenbus_grant_ring()
/drivers/block/
Dxen-blkfront.c375 static struct grant *get_grant(grant_ref_t *gref_head, in get_grant() argument
386 gnt_list_entry->gref = gnttab_claim_grant_reference(gref_head); in get_grant()
400 static struct grant *get_indirect_grant(grant_ref_t *gref_head, in get_indirect_grant() argument
410 gnt_list_entry->gref = gnttab_claim_grant_reference(gref_head); in get_indirect_grant()
583 grant_ref_t gref_head; member
629 gnt_list_entry = get_indirect_grant(&setup->gref_head, rinfo); in blkif_setup_rw_req_grant()
635 gnt_list_entry = get_grant(&setup->gref_head, gfn, rinfo); in blkif_setup_rw_req_grant()
740 &setup.gref_head) < 0) { in blkif_queue_rw_req()
857 gnttab_free_grant_references(setup.gref_head); in blkif_queue_rw_req()
/drivers/scsi/
Dxen-scsifront.c401 grant_ref_t gref_head; in map_data_for_request() local
432 &gref_head); in map_data_for_request()
447 ref = gnttab_claim_grant_reference(&gref_head); in map_data_for_request()
481 ref = gnttab_claim_grant_reference(&gref_head); in map_data_for_request()
/drivers/xen/
Dpvcalls-front.c1134 grant_ref_t gref_head = 0; in pvcalls_front_probe() local
1199 ret = gnttab_alloc_grant_references(1, &gref_head); in pvcalls_front_probe()
1202 ret = gnttab_claim_grant_reference(&gref_head); in pvcalls_front_probe()