Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tty/hvc/
Dhvc_xen.c372 grant_ref_t gref_head; in xencons_connect_backend() local
387 ret = gnttab_alloc_grant_references(1, &gref_head); in xencons_connect_backend()
390 info->gntref = gref_head; in xencons_connect_backend()
391 ref = gnttab_claim_grant_reference(&gref_head); in xencons_connect_backend()
/Linux-v4.19/drivers/scsi/
Dxen-scsifront.c396 grant_ref_t gref_head; in map_data_for_request() local
427 &gref_head); in map_data_for_request()
442 ref = gnttab_claim_grant_reference(&gref_head); in map_data_for_request()
476 ref = gnttab_claim_grant_reference(&gref_head); in map_data_for_request()
/Linux-v4.19/drivers/block/
Dxen-blkfront.c353 static struct grant *get_grant(grant_ref_t *gref_head, in get_grant() argument
364 gnt_list_entry->gref = gnttab_claim_grant_reference(gref_head); in get_grant()
378 static struct grant *get_indirect_grant(grant_ref_t *gref_head, in get_indirect_grant() argument
388 gnt_list_entry->gref = gnttab_claim_grant_reference(gref_head); in get_indirect_grant()
572 grant_ref_t gref_head; member
618 gnt_list_entry = get_indirect_grant(&setup->gref_head, rinfo); in blkif_setup_rw_req_grant()
624 gnt_list_entry = get_grant(&setup->gref_head, gfn, rinfo); in blkif_setup_rw_req_grant()
728 &setup.gref_head) < 0) { in blkif_queue_rw_req()
838 gnttab_free_grant_references(setup.gref_head); in blkif_queue_rw_req()
/Linux-v4.19/drivers/xen/
Dpvcalls-front.c1098 grant_ref_t gref_head = 0; in pvcalls_front_probe() local
1163 ret = gnttab_alloc_grant_references(1, &gref_head); in pvcalls_front_probe()
1166 ret = gnttab_claim_grant_reference(&gref_head); in pvcalls_front_probe()