Searched refs:MAX_PENDING_REQS (Results 1 – 3 of 3) sorted by relevance
84 #define MAX_PENDING_REQS XEN_NETIF_TX_RING_SIZE macro162 struct page *mmap_pages[MAX_PENDING_REQS];165 u16 pending_ring[MAX_PENDING_REQS];166 struct pending_tx_info pending_tx_info[MAX_PENDING_REQS];167 grant_handle_t grant_tx_handle[MAX_PENDING_REQS];169 struct gnttab_copy tx_copy_ops[2 * MAX_PENDING_REQS];170 struct gnttab_map_grant_ref tx_map_ops[MAX_PENDING_REQS];171 struct gnttab_unmap_grant_ref tx_unmap_ops[MAX_PENDING_REQS];173 struct page *pages_to_map[MAX_PENDING_REQS];174 struct page *pages_to_unmap[MAX_PENDING_REQS];[all …]
573 queue->pending_prod = MAX_PENDING_REQS; in xenvif_init_queue()574 for (i = 0; i < MAX_PENDING_REQS; ++i) in xenvif_init_queue()584 err = gnttab_alloc_pages(MAX_PENDING_REQS, in xenvif_init_queue()591 for (i = 0; i < MAX_PENDING_REQS; i++) { in xenvif_init_queue()838 gnttab_free_pages(MAX_PENDING_REQS, queue->mmap_pages); in xenvif_deinit_queue()
158 return i & (MAX_PENDING_REQS-1); in pending_index()1283 MAX_PENDING_REQS); in xenvif_zerocopy_callback()1305 u16 pending_idx, pending_idx_release[MAX_PENDING_REQS]; in xenvif_tx_dealloc_action()1321 BUG_ON(gop - queue->tx_unmap_ops >= MAX_PENDING_REQS); in xenvif_tx_dealloc_action()