Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/xen/
Dgrant_table.h57 #define INVALID_GRANT_REF ((grant_ref_t)-1)
98 int gnttab_end_foreign_access_ref(grant_ref_t ref);
115 void gnttab_end_foreign_access(grant_ref_t ref, struct page *page);
123 int gnttab_try_end_foreign_access(grant_ref_t ref);
128 int gnttab_alloc_grant_references(u16 count, grant_ref_t *pprivate_head);
130 int gnttab_alloc_grant_reference_seq(unsigned int count, grant_ref_t *first);
132 void gnttab_free_grant_reference(grant_ref_t ref);
134 void gnttab_free_grant_references(grant_ref_t head);
136 void gnttab_free_grant_reference_seq(grant_ref_t head, unsigned int count);
138 int gnttab_empty_grant_references(const grant_ref_t *pprivate_head);
[all …]
Dxen-front-pgdir-shbuf.h34 grant_ref_t *grefs;
80 grant_ref_t
Dxenbus.h228 unsigned int nr_pages, grant_ref_t *grefs);
230 grant_ref_t *grefs);
231 int xenbus_map_ring_valloc(struct xenbus_device *dev, grant_ref_t *gnt_refs,
/linux-6.1.9/drivers/xen/
Dgrant-table.c72 static grant_ref_t **gnttab_list;
94 static grant_ref_t gnttab_free_head = GNTTAB_LIST_END;
95 static grant_ref_t gnttab_last_free = GNTTAB_LIST_END;
96 static grant_ref_t *gnttab_free_tail_ptr;
139 void (*update_entry)(grant_ref_t ref, domid_t domid,
148 int (*end_foreign_access_ref)(grant_ref_t ref);
152 unsigned long (*read_frame)(grant_ref_t ref);
169 #define RPP (PAGE_SIZE / sizeof(grant_ref_t))
172 static inline grant_ref_t *__gnttab_entry(grant_ref_t entry) in __gnttab_entry()
183 grant_ref_t head; in get_free_entries()
[all …]
Dxen-front-pgdir-shbuf.c31 grant_ref_t gref_dir_next_page;
33 grant_ref_t gref[1]; /* Variable length */
55 grant_ref_t *priv_gref_head, int gref_idx);
74 grant_ref_t
151 gref)) / sizeof(grant_ref_t))
385 to_copy * sizeof(grant_ref_t)); in guest_fill_page_dir()
402 grant_ref_t *priv_gref_head, in guest_grant_refs_for_buffer()
432 grant_ref_t priv_gref_head; in grant_references()
Dgrant-dma-ops.c32 static inline dma_addr_t grant_to_dma(grant_ref_t grant) in grant_to_dma()
37 static inline grant_ref_t dma_to_grant(dma_addr_t dma) in dma_to_grant()
39 return (grant_ref_t)((dma & ~XEN_GRANT_DMA_ADDR_OFF) >> XEN_PAGE_SHIFT); in dma_to_grant()
84 grant_ref_t grant; in xen_grant_dma_alloc()
120 grant_ref_t grant; in xen_grant_dma_free()
174 grant_ref_t grant; in xen_grant_dma_map_page()
208 grant_ref_t grant; in xen_grant_dma_unmap_page()
Dgntdev-dmabuf.c43 grant_ref_t *refs;
490 grant_ref_t priv_gref_head; in dmabuf_imp_grant_foreign_access()
Dpvcalls-back.c59 grant_ref_t ref;
315 grant_ref_t ref, in pvcalls_new_active_socket()
925 grant_ref_t ring_ref; in backend_connect()
/linux-6.1.9/include/xen/interface/
Dgrant_table.h74 typedef uint32_t grant_ref_t; typedef
232 grant_ref_t gref;
285 grant_ref_t ref;
359 grant_ref_t ref;
392 grant_ref_t ref;
495 grant_ref_t ref_a;
496 grant_ref_t ref_b;
509 grant_ref_t ref;
/linux-6.1.9/include/xen/interface/io/
Ddisplif.h504 grant_ref_t gref_directory;
539 grant_ref_t gref_dir_next_page;
540 grant_ref_t gref[1]; /* Variable length */
766 grant_ref_t gref_directory;
Dpvcalls.h27 grant_ref_t ref[];
54 grant_ref_t ref;
73 grant_ref_t ref;
Dsndif.h626 grant_ref_t gref_directory;
661 grant_ref_t gref_dir_next_page;
662 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.h832 grant_ref_t gref;
895 grant_ref_t gref;
Dvscsiif.h237 grant_ref_t gref;
Dusbif.h327 grant_ref_t gref;
Dring.h443 grant_ref_t ref[]; \
/linux-6.1.9/drivers/xen/xenbus/
Dxenbus_client.c90 grant_ref_t *gnt_refs, unsigned int nr_grefs,
380 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_setup_ring()
383 grant_ref_t gref_head; in xenbus_setup_ring()
439 grant_ref_t *grefs) in xenbus_teardown_ring()
515 int xenbus_map_ring_valloc(struct xenbus_device *dev, grant_ref_t *gnt_refs, in xenbus_map_ring_valloc()
546 grant_ref_t *gnt_refs, in __xenbus_map_ring()
658 grant_ref_t *gnt_ref, in xenbus_map_ring_hvm()
743 grant_ref_t *gnt_refs, in xenbus_map_ring_pv()
/linux-6.1.9/drivers/net/xen-netback/
Dcommon.h359 int xenvif_connect_ctrl(struct xenvif *vif, grant_ref_t ring_ref,
370 grant_ref_t tx_ring_ref,
371 grant_ref_t rx_ring_ref);
/linux-6.1.9/drivers/block/xen-blkback/
Dcommon.h109 grant_ref_t indirect_grefs[BLKIF_MAX_INDIRECT_PAGES_PER_REQUEST];
165 grant_ref_t indirect_grefs[BLKIF_MAX_INDIRECT_PAGES_PER_REQUEST];
243 grant_ref_t gnt;
335 grant_ref_t gref;
/linux-6.1.9/include/uapi/xen/
Dgntdev.h159 grant_ref_t ref;
/linux-6.1.9/drivers/net/
Dxen-netfront.c137 grant_ref_t gref_tx_head;
138 grant_ref_t grant_tx_ref[NET_TX_RING_SIZE];
150 grant_ref_t gref_rx_head;
151 grant_ref_t grant_rx_ref[NET_RX_RING_SIZE];
227 static grant_ref_t xennet_get_rx_ref(struct netfront_queue *queue, in xennet_get_rx_ref()
231 grant_ref_t ref = queue->grant_rx_ref[i]; in xennet_get_rx_ref()
311 grant_ref_t ref; in xennet_alloc_rx_buffers()
478 grant_ref_t ref; in xennet_tx_setup_grant()
913 grant_ref_t ref) in xennet_move_rx_slot()
937 grant_ref_t ref; in xennet_get_extras()
[all …]
/linux-6.1.9/net/9p/
Dtrans_xen.c39 grant_ref_t ref;
289 grant_ref_t ref; in xen_9pfs_front_free()
/linux-6.1.9/drivers/tty/hvc/
Dhvc_xen.c45 grant_ref_t gntref;
416 grant_ref_t gref_head; in xencons_connect_backend()
/linux-6.1.9/drivers/usb/host/
Dxen-hcd.c586 grant_ref_t *gref_head, in xenhcd_gnttab_map()
590 grant_ref_t ref; in xenhcd_gnttab_map()
645 grant_ref_t gref_head; in xenhcd_map_urb_for_request()

12