Searched refs:gref (Results 1 – 7 of 7) sorted by relevance
/drivers/xen/ |
D | gntalloc.c | 103 struct gntalloc_gref *gref; member 108 static void __del_gref(struct gntalloc_gref *gref); 112 struct gntalloc_gref *gref, *n; in do_cleanup() local 113 list_for_each_entry_safe(gref, n, &gref_list, next_gref) { in do_cleanup() 114 if (!gref->users) in do_cleanup() 115 __del_gref(gref); in do_cleanup() 125 struct gntalloc_gref *gref; in add_grefs() local 130 gref = kzalloc(sizeof(*gref), GFP_KERNEL); in add_grefs() 131 if (!gref) in add_grefs() 133 list_add_tail(&gref->next_gref, &queue_gref); in add_grefs() [all …]
|
D | grant-table.c | 351 gnttab_shared.v2[ref].transitive.gref = trans_gref; in gnttab_update_trans_entry_v2()
|
/drivers/input/misc/ |
D | xen-kbdfront.c | 37 int gref; member 122 info->gref = -1; in xenkbd_probe() 237 info->gref = ret; in xenkbd_connect_backend() 260 ret = xenbus_printf(xbt, dev->nodename, "page-gref", "%u", info->gref); in xenkbd_connect_backend() 287 gnttab_end_foreign_access_ref(info->gref, 0); in xenkbd_connect_backend() 288 info->gref = -1; in xenkbd_connect_backend() 297 if (info->gref >= 0) in xenkbd_disconnect_backend() 298 gnttab_end_foreign_access_ref(info->gref, 0); in xenkbd_disconnect_backend() 299 info->gref = -1; in xenkbd_disconnect_backend()
|
/drivers/block/ |
D | xen-blkfront.c | 69 grant_ref_t gref; member 185 gnt_list_entry->gref = GRANT_INVALID_REF; in fill_grant_buffer() 215 if (gnt_list_entry->gref != GRANT_INVALID_REF) { in get_grant() 221 gnt_list_entry->gref = gnttab_claim_grant_reference(gref_head); in get_grant() 222 BUG_ON(gnt_list_entry->gref == -ENOSPC); in get_grant() 224 gnttab_grant_foreign_access_ref(gnt_list_entry->gref, in get_grant() 434 ref = gnt_list_entry->gref; in blkif_queue_request() 467 .gref = ref, in blkif_queue_request() 835 if (persistent_gnt->gref != GRANT_INVALID_REF) { in blkif_free() 836 gnttab_end_foreign_access(persistent_gnt->gref, in blkif_free() [all …]
|
/drivers/block/xen-blkback/ |
D | blkback.c | 200 grant_ref_t gref) in get_persistent_gnt() argument 208 if (gref < data->gnt) in get_persistent_gnt() 210 else if (gref > data->gnt) in get_persistent_gnt() 511 req->u.rw.seg[i].gref); in xen_blkbk_map() 537 persistent_gnt->gnt = req->u.rw.seg[i].gref; in xen_blkbk_map() 583 flags, req->u.rw.seg[i].gref, in xen_blkbk_map()
|
/drivers/net/ |
D | xen-netfront.c | 323 req->gref = ref; in xennet_alloc_rx_buffers() 446 tx->gref = np->grant_tx_ref[id] = ref; in xennet_make_frags() 491 tx->gref = np->grant_tx_ref[id] = ref; in xennet_make_frags() 590 tx->gref = np->grant_tx_ref[id] = ref; in xennet_start_xmit() 666 RING_GET_REQUEST(&np->rx, np->rx.req_prod_pvt)->gref = ref; in xennet_move_rx_slot() 1706 req->gref = ref; in xennet_connect()
|
/drivers/net/xen-netback/ |
D | netback.c | 433 npo->copy_gref = req->gref; in get_next_rx_buffer() 497 copy_gop->source.u.ref = src_pend->req.gref; in netbk_gop_frag_copy() 579 npo->copy_gref = req->gref; in netbk_gop_skb() 1091 gop->source.u.ref = txp->gref; in xen_netbk_get_requests() 1555 gop->source.u.ref = txreq.gref; in xen_netbk_tx_build_gops()
|