Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/xen/
Dgrant_table.h93 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly);
101 void gnttab_end_foreign_access(grant_ref_t ref, int readonly,
106 unsigned long gnttab_end_foreign_transfer_ref(grant_ref_t ref);
107 unsigned long gnttab_end_foreign_transfer(grant_ref_t ref);
109 int gnttab_query_foreign_access(grant_ref_t ref);
114 int gnttab_alloc_grant_references(u16 count, grant_ref_t *pprivate_head);
116 void gnttab_free_grant_reference(grant_ref_t ref);
118 void gnttab_free_grant_references(grant_ref_t head);
120 int gnttab_empty_grant_references(const grant_ref_t *pprivate_head);
122 int gnttab_claim_grant_reference(grant_ref_t *pprivate_head);
[all …]
Dxenbus.h205 unsigned int nr_pages, grant_ref_t *grefs);
206 int xenbus_map_ring_valloc(struct xenbus_device *dev, grant_ref_t *gnt_refs,
209 grant_ref_t *gnt_refs, unsigned int nr_grefs,
/Linux-v4.19/drivers/xen/
Dgrant-table.c74 static grant_ref_t **gnttab_list;
77 static grant_ref_t gnttab_free_head;
118 void (*update_entry)(grant_ref_t ref, domid_t domid,
128 int (*end_foreign_access_ref)(grant_ref_t ref, int readonly);
136 unsigned long (*end_foreign_transfer_ref)(grant_ref_t ref);
143 int (*query_foreign_access)(grant_ref_t ref);
160 #define RPP (PAGE_SIZE / sizeof(grant_ref_t))
163 static inline grant_ref_t *__gnttab_entry(grant_ref_t entry) in __gnttab_entry()
174 grant_ref_t head; in get_free_entries()
222 static void put_free_entry(grant_ref_t ref) in put_free_entry()
[all …]
Dgntdev-dmabuf.c49 grant_ref_t *refs;
517 grant_ref_t priv_gref_head; in dmabuf_imp_grant_foreign_access()
Dpvcalls-back.c68 grant_ref_t ref;
312 grant_ref_t ref, in pvcalls_new_active_socket()
919 grant_ref_t ring_ref; in backend_connect()
/Linux-v4.19/include/xen/interface/
Dgrant_table.h90 typedef uint32_t grant_ref_t; typedef
227 grant_ref_t gref;
266 grant_ref_t ref;
343 grant_ref_t ref;
377 grant_ref_t ref;
489 grant_ref_t ref;
/Linux-v4.19/include/xen/interface/io/
Dpvcalls.h25 grant_ref_t ref[];
52 grant_ref_t ref;
71 grant_ref_t ref;
Ddisplif.h508 grant_ref_t gref_directory;
542 grant_ref_t gref_dir_next_page;
543 grant_ref_t gref[1]; /* Variable length */
Dsndif.h643 grant_ref_t gref_directory;
678 grant_ref_t gref_dir_next_page;
679 grant_ref_t gref[1]; /* Variable length */
Dblkif.h188 grant_ref_t gref; /* reference to I/O buffer frame */
237 grant_ref_t indirect_grefs[BLKIF_MAX_INDIRECT_PAGES_PER_REQUEST];
Dnetif.h836 grant_ref_t gref;
894 grant_ref_t gref;
Dvscsiif.h182 grant_ref_t gref;
Dring.h428 grant_ref_t ref[]; \
/Linux-v4.19/sound/xen/
Dxen_snd_front_shbuf.h20 grant_ref_t *grefs;
26 grant_ref_t xen_snd_front_shbuf_get_dir_start(struct xen_snd_front_shbuf *buf);
Dxen_snd_front_shbuf.c17 grant_ref_t xen_snd_front_shbuf_get_dir_start(struct xen_snd_front_shbuf *buf) in xen_snd_front_shbuf_get_dir_start()
52 sizeof(grant_ref_t))
79 to_copy * sizeof(grant_ref_t)); in fill_page_dir()
92 grant_ref_t priv_gref_head; in grant_references()
/Linux-v4.19/drivers/gpu/drm/xen/
Dxen_drm_front_shbuf.h29 grant_ref_t *grefs;
54 grant_ref_t xen_drm_front_shbuf_get_dir_start(struct xen_drm_front_shbuf *buf);
Dxen_drm_front_shbuf.c40 grant_ref_t *priv_gref_head, int gref_idx);
47 grant_ref_t xen_drm_front_shbuf_get_dir_start(struct xen_drm_front_shbuf *buf) in xen_drm_front_shbuf_get_dir_start()
101 sizeof(grant_ref_t))
282 to_copy * sizeof(grant_ref_t)); in guest_fill_page_dir()
290 grant_ref_t *priv_gref_head, in guest_grant_refs_for_buffer()
311 grant_ref_t priv_gref_head; in grant_references()
/Linux-v4.19/drivers/xen/xenbus/
Dxenbus_client.c77 grant_ref_t *gnt_refs, unsigned int nr_grefs,
362 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_grant_ring()
450 int xenbus_map_ring_valloc(struct xenbus_device *dev, grant_ref_t *gnt_refs, in xenbus_map_ring_valloc()
461 grant_ref_t *gnt_refs, in __xenbus_map_ring()
546 grant_ref_t *gnt_ref, in xenbus_map_ring_valloc_hvm()
633 int xenbus_map_ring(struct xenbus_device *dev, grant_ref_t *gnt_refs, in xenbus_map_ring()
672 grant_ref_t *gnt_refs, in xenbus_map_ring_valloc_pv()
/Linux-v4.19/drivers/net/xen-netback/
Dcommon.h326 int xenvif_connect_ctrl(struct xenvif *vif, grant_ref_t ring_ref,
342 grant_ref_t tx_ring_ref,
343 grant_ref_t rx_ring_ref);
/Linux-v4.19/drivers/block/xen-blkback/
Dcommon.h110 grant_ref_t indirect_grefs[BLKIF_MAX_INDIRECT_PAGES_PER_REQUEST];
166 grant_ref_t indirect_grefs[BLKIF_MAX_INDIRECT_PAGES_PER_REQUEST];
241 grant_ref_t gnt;
333 grant_ref_t gref;
/Linux-v4.19/drivers/net/
Dxen-netfront.c133 grant_ref_t gref_tx_head;
134 grant_ref_t grant_tx_ref[NET_TX_RING_SIZE];
145 grant_ref_t gref_rx_head;
146 grant_ref_t grant_rx_ref[NET_RX_RING_SIZE];
214 static grant_ref_t xennet_get_rx_ref(struct netfront_queue *queue, in xennet_get_rx_ref()
218 grant_ref_t ref = queue->grant_rx_ref[i]; in xennet_get_rx_ref()
297 grant_ref_t ref; in xennet_alloc_rx_buffers()
436 grant_ref_t ref; in xennet_tx_setup_grant()
728 grant_ref_t ref) in xennet_move_rx_slot()
752 grant_ref_t ref; in xennet_get_extras()
[all …]
/Linux-v4.19/include/uapi/xen/
Dgntdev.h153 grant_ref_t ref;
/Linux-v4.19/net/9p/
Dtrans_xen.c62 grant_ref_t ref;
298 grant_ref_t ref; in xen_9pfs_front_free()
/Linux-v4.19/drivers/tty/hvc/
Dhvc_xen.c43 grant_ref_t gntref;
372 grant_ref_t gref_head; in xencons_connect_backend()
/Linux-v4.19/drivers/scsi/
Dxen-scsifront.c112 grant_ref_t ring_ref;
396 grant_ref_t gref_head; in map_data_for_request()
707 grant_ref_t gref; in scsifront_alloc_ring()

12