Home
last modified time | relevance | path

Searched refs:grant_ref_t (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/uts/common/xen/sys/
H A Dgnttab.h96 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly);
104 void gnttab_end_foreign_access(grant_ref_t ref, int readonly,
109 gnttab_frame_t gnttab_end_foreign_transfer_ref(grant_ref_t ref);
110 gnttab_frame_t gnttab_end_foreign_transfer(grant_ref_t ref);
112 int gnttab_query_foreign_access(grant_ref_t ref);
117 int gnttab_alloc_grant_references(uint16_t count, grant_ref_t *pprivate_head);
119 void gnttab_free_grant_reference(grant_ref_t ref);
121 void gnttab_free_grant_references(grant_ref_t head);
123 int gnttab_empty_grant_references(const grant_ref_t *pprivate_head);
125 int gnttab_claim_grant_reference(grant_ref_t *pprivate_head);
[all …]
H A Dxendev.h278 grant_ref_t xr_gref;
284 int xvdi_alloc_ring(dev_info_t *, size_t, size_t, grant_ref_t *,
287 int xvdi_map_ring(dev_info_t *, size_t, size_t, grant_ref_t,
/titanic_41/usr/src/uts/common/xen/os/
H A Dgnttab.c100 static grant_ref_t **gnttab_list;
103 static grant_ref_t gnttab_free_head;
112 #define RPP (PAGESIZE / sizeof (grant_ref_t))
219 grant_ref_t head; in get_free_entries()
238 put_free_entry(grant_ref_t ref) in put_free_entry()
273 gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
286 gnttab_query_foreign_access(grant_ref_t ref) in gnttab_query_foreign_access()
299 gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref()
317 gnttab_end_foreign_access(grant_ref_t ref, int readonly, gnttab_frame_t page) in gnttab_end_foreign_access()
356 gnttab_grant_foreign_transfer_ref(grant_ref_t ref, domid_t domid, pfn_t pfn) in gnttab_grant_foreign_transfer_ref()
[all …]
H A Dxvdi.c98 static void xvdi_reinit_ring(dev_info_t *, grant_ref_t *, xendev_ring_t *);
514 grant_ref_t gref, xendev_ring_t **ringpp) in xvdi_map_ring()
622 xvdi_reinit_ring(dev_info_t *dip, grant_ref_t *gref, xendev_ring_t *ringp) in xvdi_reinit_ring()
648 grant_ref_t *gref, xendev_ring_t **ringpp) in xvdi_alloc_ring()
654 grant_ref_t ring_gref; in xvdi_alloc_ring()
694 rmaddr >> PAGESHIFT, 0)) == (grant_ref_t)-1) { in xvdi_alloc_ring()
/titanic_41/usr/src/uts/common/xen/io/
H A Dxnf.h58 grant_ref_t grant_ref; /* grant table reference */
146 grant_ref_t xnf_tx_ring_ref;
160 grant_ref_t xnf_rx_ring_ref;
172 grant_ref_t xnf_gref_head;
H A Dxnb.h176 grant_ref_t xnb_rx_ring_ref;
181 grant_ref_t xnb_tx_ring_ref;
H A Dxdf.h144 grant_ref_t gs_ghead;
146 grant_ref_t gs_ge[BLKIF_MAX_SEGMENTS_PER_REQUEST];
H A Dxnf.c193 #define INVALID_GRANT_REF ((grant_ref_t)-1)
232 static grant_ref_t gref_get(xnf_t *);
234 static void gref_put(xnf_t *, grant_ref_t);
351 static grant_ref_t
354 grant_ref_t gref; in gref_get()
382 gref_put(xnf_t *xnfp, grant_ref_t gref) in gref_put()
499 xnfp->xnf_tx_ring_ref = (grant_ref_t)err; in xnf_setup_rings()
511 xnfp->xnf_rx_ring_ref = (grant_ref_t)err; in xnf_setup_rings()
1953 grant_ref_t ref; in xnf_rx_collect()
2387 grant_ref_t gref; in xnf_buf_get()
H A Dxnb.c84 size_t, size_t, size_t, grant_ref_t);
90 #define INVALID_GRANT_REF ((grant_ref_t)-1)
940 size_t s_off, size_t d_off, size_t len, grant_ref_t d_ref) in setup_gop()
H A Dxdf.c215 grant_ref_t gh; in gs_get()
264 static grant_ref_t
267 grant_ref_t gr = gnttab_claim_grant_reference(&gs->gs_ghead); in gs_grant()
1230 grant_ref_t gr; in xdf_process_rreq()
1511 grant_ref_t gref; in xdf_setstate_init()
H A Dblk_common.c691 grant_ref_t gref; in blk_bindto_frontend()
H A Dxpvtap.c1189 grant_ref_t gref[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xpvtap_user_request_map()
H A Dxdb.c734 grant_ref_t gref; in xdb_bindto_frontend()
/titanic_41/usr/src/uts/common/xen/public/
H A Dgrant_table.h160 typedef uint32_t grant_ref_t; typedef
189 grant_ref_t ref;
270 grant_ref_t ref;
306 grant_ref_t ref;
/titanic_41/usr/src/uts/common/xen/public/io/
H A Dnetif.h69 grant_ref_t gref; /* Reference to buffer page */
154 grant_ref_t gref; /* Reference to incoming granted frame */
H A Dblkif.h95 grant_ref_t gref; /* reference to I/O buffer frame */
/titanic_41/usr/src/uts/i86xpv/vm/
H A Dseg_mf.h55 extern int segmf_add_grefs(struct seg *, caddr_t, uint_t, grant_ref_t *,
H A Dseg_mf.c71 grant_ref_t g_gref;
581 grant_ref_t *grefs, uint_t cnt, domid_t domid) in segmf_add_grefs()