/linux/include/xen/ |
H A D | grant_table.h | 57 #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 …]
|
H A D | xen-front-pgdir-shbuf.h | 34 grant_ref_t *grefs; 80 grant_ref_t
|
H A D | xenbus.h | 222 unsigned int nr_pages, grant_ref_t *grefs); 224 grant_ref_t *grefs); 225 int xenbus_map_ring_valloc(struct xenbus_device *dev, grant_ref_t *gnt_refs,
|
/linux/drivers/xen/ |
H A D | grant-table.c | 72 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 …]
|
H A D | xen-front-pgdir-shbuf.c | 31 grant_ref_t gref_dir_next_page; 33 grant_ref_t gref[]; /* 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()
|
H A D | gntdev-dmabuf.c | 44 grant_ref_t *refs; 491 grant_ref_t priv_gref_head; in dmabuf_imp_grant_foreign_access()
|
H A D | pvcalls-front.c | 33 grant_ref_t ref; 64 grant_ref_t ref; 1151 grant_ref_t gref_head = 0; in pvcalls_front_probe()
|
H A D | pvcalls-back.c | 60 grant_ref_t ref; 319 grant_ref_t ref, in pvcalls_new_active_socket() 934 grant_ref_t ring_ref; in backend_connect()
|
H A D | gntalloc.c | 95 grant_ref_t gref_id; /* The grant reference number */
|
/linux/include/xen/interface/ |
H A D | grant_table.h | 74 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/include/xen/interface/io/ |
H A D | displif.h | 504 grant_ref_t gref_directory; 539 grant_ref_t gref_dir_next_page; 540 grant_ref_t gref[]; 766 grant_ref_t gref_directory;
|
H A D | pvcalls.h | 27 grant_ref_t ref[]; 54 grant_ref_t ref; 73 grant_ref_t ref;
|
H A D | sndif.h | 626 grant_ref_t gref_directory; 661 grant_ref_t gref_dir_next_page; 662 grant_ref_t gref[];
|
H A D | blkif.h | 188 grant_ref_t gref; /* reference to I/O buffer frame */ 237 grant_ref_t indirect_grefs[BLKIF_MAX_INDIRECT_PAGES_PER_REQUEST];
|
H A D | netif.h | 832 grant_ref_t gref; 895 grant_ref_t gref;
|
H A D | vscsiif.h | 237 grant_ref_t gref;
|
H A D | usbif.h | 327 grant_ref_t gref;
|
H A D | ring.h | 443 grant_ref_t ref[]; \
|
/linux/drivers/block/xen-blkback/ |
H A D | common.h | 109 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/drivers/xen/xenbus/ |
H A D | xenbus_client.c | 90 grant_ref_t *gnt_refs, unsigned int nr_grefs, 389 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_setup_ring() 392 grant_ref_t gref_head; in xenbus_setup_ring() 448 grant_ref_t *grefs) in xenbus_teardown_ring() 525 int xenbus_map_ring_valloc(struct xenbus_device *dev, grant_ref_t *gnt_refs, in xenbus_map_ring_valloc() 556 grant_ref_t *gnt_refs, in __xenbus_map_ring() 669 grant_ref_t *gnt_ref, in xenbus_map_ring_hvm() 755 grant_ref_t *gnt_refs, in xenbus_map_ring_pv()
|
/linux/drivers/net/xen-netback/ |
H A D | common.h | 359 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/drivers/net/ |
H A D | xen-netfront.c | 137 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() 312 grant_ref_t ref; in xennet_alloc_rx_buffers() 479 grant_ref_t ref; in xennet_tx_setup_grant() 917 grant_ref_t ref) in xennet_move_rx_slot() 941 grant_ref_t ref; in xennet_get_extras() [all …]
|
/linux/include/uapi/xen/ |
H A D | gntdev.h | 159 grant_ref_t ref;
|
/linux/net/9p/ |
H A D | trans_xen.c | 39 grant_ref_t ref; 294 grant_ref_t ref; in xen_9pfs_front_free()
|
/linux/drivers/usb/host/ |
H A D | xen-hcd.c | 586 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()
|