Searched refs:gref_head (Results 1 – 6 of 6) sorted by relevance
/drivers/tty/hvc/ |
D | hvc_xen.c | 433 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/usb/host/ |
D | xen-hcd.c | 586 grant_ref_t *gref_head, in xenhcd_gnttab_map() argument 603 ref = gnttab_claim_grant_reference(gref_head); in xenhcd_gnttab_map() 645 grant_ref_t gref_head; in xenhcd_map_urb_for_request() local 666 if (gnttab_alloc_grant_references(nr_grants, &gref_head)) { in xenhcd_map_urb_for_request() 672 urb->transfer_buffer_length, &gref_head, in xenhcd_map_urb_for_request() 694 &gref_head, &req->seg[nr_buff_pages], in xenhcd_map_urb_for_request() 711 gnttab_free_grant_references(gref_head); in xenhcd_map_urb_for_request()
|
/drivers/block/ |
D | xen-blkfront.c | 374 static struct grant *get_grant(grant_ref_t *gref_head, in get_grant() argument 385 gnt_list_entry->gref = gnttab_claim_grant_reference(gref_head); in get_grant() 399 static struct grant *get_indirect_grant(grant_ref_t *gref_head, in get_indirect_grant() argument 409 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/xen/xenbus/ |
D | xenbus_client.c | 383 grant_ref_t gref_head; in xenbus_setup_ring() local 394 ret = gnttab_alloc_grant_references(nr_pages, &gref_head); in xenbus_setup_ring() 409 grefs[i] = gnttab_claim_grant_reference(&gref_head); in xenbus_setup_ring()
|
/drivers/scsi/ |
D | xen-scsifront.c | 474 grant_ref_t gref_head; in map_data_for_request() local 505 &gref_head); in map_data_for_request() 520 ref = gnttab_claim_grant_reference(&gref_head); in map_data_for_request() 554 ref = gnttab_claim_grant_reference(&gref_head); in map_data_for_request()
|
/drivers/xen/ |
D | pvcalls-front.c | 1136 grant_ref_t gref_head = 0; in pvcalls_front_probe() local 1201 ret = gnttab_alloc_grant_references(1, &gref_head); in pvcalls_front_probe() 1204 ret = gnttab_claim_grant_reference(&gref_head); in pvcalls_front_probe()
|