Home
last modified time | relevance | path

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

/linux-2.6.39/include/xen/
Dgrant_table.h72 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly);
80 void gnttab_end_foreign_access(grant_ref_t ref, int readonly,
85 unsigned long gnttab_end_foreign_transfer_ref(grant_ref_t ref);
86 unsigned long gnttab_end_foreign_transfer(grant_ref_t ref);
88 int gnttab_query_foreign_access(grant_ref_t ref);
93 int gnttab_alloc_grant_references(u16 count, grant_ref_t *pprivate_head);
95 void gnttab_free_grant_reference(grant_ref_t ref);
97 void gnttab_free_grant_references(grant_ref_t head);
99 int gnttab_empty_grant_references(const grant_ref_t *pprivate_head);
101 int gnttab_claim_grant_reference(grant_ref_t *pprivate_head);
[all …]
/linux-2.6.39/drivers/xen/
Dgrant-table.c58 static grant_ref_t **gnttab_list;
62 static grant_ref_t gnttab_free_head;
73 #define RPP (PAGE_SIZE / sizeof(grant_ref_t))
75 static inline grant_ref_t *__gnttab_entry(grant_ref_t entry) in __gnttab_entry()
86 grant_ref_t head; in get_free_entries()
134 static void put_free_entry(grant_ref_t ref) in put_free_entry()
145 static void update_grant_entry(grant_ref_t ref, domid_t domid, in update_grant_entry()
167 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
190 int gnttab_query_foreign_access(grant_ref_t ref) in gnttab_query_foreign_access()
200 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref()
[all …]
Dgntalloc.c93 grant_ref_t gref_id; /* The grant reference number */
/linux-2.6.39/drivers/net/xen-netback/
Dcommon.h62 grant_ref_t tx_shmem_ref;
64 grant_ref_t rx_shmem_ref;
137 grant_ref_t tx_ring_ref,
138 grant_ref_t rx_ring_ref);
Dnetback.c351 grant_ref_t copy_gref;
1604 grant_ref_t tx_ring_ref, in xen_netbk_map_frontend_rings()
1605 grant_ref_t rx_ring_ref) in xen_netbk_map_frontend_rings()
/linux-2.6.39/include/xen/interface/
Dgrant_table.h153 typedef uint32_t grant_ref_t; typedef
182 grant_ref_t ref;
259 grant_ref_t ref;
293 grant_ref_t ref;
/linux-2.6.39/include/xen/interface/io/
Dnetif.h51 grant_ref_t gref; /* Reference to buffer page */
115 grant_ref_t gref; /* Reference to incoming granted frame */
Dblkif.h57 grant_ref_t gref; /* reference to I/O buffer frame */
/linux-2.6.39/drivers/net/
Dxen-netfront.c99 grant_ref_t gref_tx_head;
100 grant_ref_t grant_tx_ref[NET_TX_RING_SIZE];
117 grant_ref_t gref_rx_head;
118 grant_ref_t grant_rx_ref[NET_RX_RING_SIZE];
177 static grant_ref_t xennet_get_rx_ref(struct netfront_info *np, in xennet_get_rx_ref()
181 grant_ref_t ref = np->grant_rx_ref[i]; in xennet_get_rx_ref()
231 grant_ref_t ref; in xennet_alloc_rx_buffers()
412 grant_ref_t ref; in xennet_make_frags()
475 grant_ref_t ref; in xennet_start_xmit()
583 grant_ref_t ref) in xennet_move_rx_slot()
[all …]
/linux-2.6.39/drivers/block/
Dxen-blkfront.c266 grant_ref_t gref_head; in blkif_queue_request()