Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/hvc/
Dhvc_xen.c430 grant_ref_t gref_head; in xencons_connect_backend() local
445 ret = gnttab_alloc_grant_references(1, &gref_head); in xencons_connect_backend()
448 info->gntref = gref_head; in xencons_connect_backend()
449 ref = gnttab_claim_grant_reference(&gref_head); in xencons_connect_backend()
/Linux-v6.6/drivers/usb/host/
Dxen-hcd.c586 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()
/Linux-v6.6/drivers/xen/xenbus/
Dxenbus_client.c383 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()
/Linux-v6.6/drivers/block/
Dxen-blkfront.c374 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()
/Linux-v6.6/drivers/scsi/
Dxen-scsifront.c474 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()
/Linux-v6.6/drivers/xen/
Dpvcalls-front.c1141 grant_ref_t gref_head = 0; in pvcalls_front_probe() local
1206 ret = gnttab_alloc_grant_references(1, &gref_head); in pvcalls_front_probe()
1209 ret = gnttab_claim_grant_reference(&gref_head); in pvcalls_front_probe()