/linux-6.1.9/drivers/xen/ |
D | gntalloc.c | 105 struct gntalloc_gref *gref; member 110 static void __del_gref(struct gntalloc_gref *gref); 114 struct gntalloc_gref *gref, *n; in do_cleanup() local 115 list_for_each_entry_safe(gref, n, &gref_list, next_gref) { in do_cleanup() 116 if (!gref->users) in do_cleanup() 117 __del_gref(gref); in do_cleanup() 127 struct gntalloc_gref *gref, *next; in add_grefs() local 131 gref = kzalloc(sizeof(*gref), GFP_KERNEL); in add_grefs() 132 if (!gref) { in add_grefs() 136 list_add_tail(&gref->next_gref, &queue_gref); in add_grefs() [all …]
|
D | xen-front-pgdir-shbuf.c | 33 grant_ref_t gref[1]; /* Variable length */ member 151 gref)) / sizeof(grant_ref_t)) 287 page_dir->gref[cur_gref], in backend_map() 384 memcpy(&page_dir->gref, &buf->grefs[cur_gref], in guest_fill_page_dir()
|
/linux-6.1.9/drivers/input/misc/ |
D | xen-kbdfront.c | 40 int gref; member 216 info->gref = -1; in xenkbd_probe() 433 info->gref = ret; in xenkbd_connect_backend() 457 "%u", info->gref); in xenkbd_connect_backend() 484 gnttab_end_foreign_access(info->gref, NULL); in xenkbd_connect_backend() 485 info->gref = -1; in xenkbd_connect_backend() 494 if (info->gref >= 0) in xenkbd_disconnect_backend() 495 gnttab_end_foreign_access(info->gref, NULL); in xenkbd_disconnect_backend() 496 info->gref = -1; in xenkbd_disconnect_backend()
|
/linux-6.1.9/drivers/block/ |
D | xen-blkfront.c | 88 grant_ref_t gref; member 330 gnt_list_entry->gref = INVALID_GRANT_REF; in fill_grant_buffer() 359 if (gnt_list_entry->gref != INVALID_GRANT_REF) in get_free_grant() 368 gnttab_page_grant_foreign_access_ref_one(gnt_list_entry->gref, in grant_foreign_access() 381 if (gnt_list_entry->gref != INVALID_GRANT_REF) in get_grant() 385 gnt_list_entry->gref = gnttab_claim_grant_reference(gref_head); in get_grant() 386 BUG_ON(gnt_list_entry->gref == -ENOSPC); in get_grant() 391 gnttab_grant_foreign_access_ref(gnt_list_entry->gref, in get_grant() 405 if (gnt_list_entry->gref != INVALID_GRANT_REF) in get_indirect_grant() 409 gnt_list_entry->gref = gnttab_claim_grant_reference(gref_head); in get_indirect_grant() [all …]
|
/linux-6.1.9/include/xen/interface/io/ |
D | netif.h | 832 grant_ref_t gref; member 895 grant_ref_t gref; member
|
D | vscsiif.h | 237 grant_ref_t gref; member
|
D | blkif.h | 188 grant_ref_t gref; /* reference to I/O buffer frame */ member
|
D | usbif.h | 327 grant_ref_t gref; member
|
D | displif.h | 540 grant_ref_t gref[1]; /* Variable length */ member
|
D | sndif.h | 662 grant_ref_t gref[1]; /* Variable length */ member
|
/linux-6.1.9/drivers/block/xen-blkback/ |
D | blkback.c | 206 grant_ref_t gref) in get_persistent_gnt() argument 215 if (gref < data->gnt) in get_persistent_gnt() 217 else if (gref > data->gnt) in get_persistent_gnt() 785 pages[i]->gref); in xen_blkbk_map() 811 flags, pages[i]->gref, in xen_blkbk_map() 928 pages[i]->gref = req->u.indirect.indirect_grefs[i]; in xen_blkbk_parse_indirect() 945 pending_req->segments[n]->gref = segments[i].gref; in xen_blkbk_parse_indirect() 1263 pages[i]->gref = req->u.rw.seg[i].gref; in dispatch_rw_block_io()
|
D | common.h | 335 grant_ref_t gref; member
|
D | xenbus.c | 192 static int xen_blkif_map(struct xen_blkif_ring *ring, grant_ref_t *gref, in xen_blkif_map() argument 205 err = xenbus_map_ring_valloc(blkif->be->dev, gref, nr_grefs, in xen_blkif_map()
|
/linux-6.1.9/drivers/net/xen-netback/ |
D | hash.c | 291 u32 xenvif_set_hash_key(struct xenvif *vif, u32 gref, u32 len) in xenvif_set_hash_key() argument 295 .source.u.ref = gref, in xenvif_set_hash_key() 335 u32 xenvif_set_hash_mapping(struct xenvif *vif, u32 gref, u32 len, in xenvif_set_hash_mapping() argument 341 .source.u.ref = gref, in xenvif_set_hash_mapping()
|
D | common.h | 432 u32 xenvif_set_hash_key(struct xenvif *vif, u32 gref, u32 len); 434 u32 xenvif_set_hash_mapping(struct xenvif *vif, u32 gref, u32 len,
|
D | rx.c | 213 op->source.u.ref = foreign->gref; in xenvif_rx_copy_add() 221 op->dest.u.ref = req->gref; in xenvif_rx_copy_add()
|
D | netback.c | 352 txp->gref, queue->vif->domid); in xenvif_tx_create_map_op() 405 cop->source.u.ref = txp->gref; in xenvif_get_requests()
|
/linux-6.1.9/drivers/gpu/drm/xen/ |
D | xen_drm_front_evtchnl.c | 150 xenbus_teardown_ring(&page, 1, &evtchnl->gref); in evtchnl_free() 171 1, &evtchnl->gref); in evtchnl_alloc() 257 ret = xenbus_printf(xbt, path, node_ring, "%u", evtchnl->gref); in evtchnl_publish()
|
D | xen_drm_front_evtchnl.h | 40 int gref; member
|
/linux-6.1.9/sound/xen/ |
D | xen_snd_front_evtchnl.h | 33 int gref; member
|
D | xen_snd_front_evtchnl.c | 170 xenbus_teardown_ring(&page, 1, &channel->gref); in evtchnl_free() 206 ret = xenbus_setup_ring(xb_dev, GFP_KERNEL, &page, 1, &channel->gref); in evtchnl_alloc() 344 ret = xenbus_printf(xbt, path, node_ring, "%u", channel->gref); in evtchnl_publish()
|
/linux-6.1.9/drivers/scsi/ |
D | xen-scsifront.c | 99 int gref[vscsiif_grants_sg(SG_ALL) + SG_ALL]; member 248 if (unlikely(!gnttab_try_end_foreign_access(shadow->gref[i]))) { in scsifront_gnttab_done() 526 shadow->gref[ref_cnt] = ref; in map_data_for_request() 527 shadow->seg[ref_cnt].gref = ref; in map_data_for_request() 562 shadow->gref[ref_cnt] = ref; in map_data_for_request() 563 seg->gref = ref; in map_data_for_request()
|
/linux-6.1.9/include/xen/interface/ |
D | grant_table.h | 232 grant_ref_t gref; member
|
/linux-6.1.9/include/xen/ |
D | grant_table.h | 280 grant_ref_t gref; member
|
/linux-6.1.9/drivers/usb/host/ |
D | xen-hcd.c | 606 seg[i].gref = ref; in xenhcd_gnttab_map() 734 if (!gnttab_try_end_foreign_access(shadow->req.seg[i].gref)) in xenhcd_gnttab_done()
|