Searched refs:MAX_PENDING_REQS (Results 1 – 3 of 3) sorted by relevance
87 #define MAX_PENDING_REQS XEN_NETIF_TX_RING_SIZE macro165 struct page *mmap_pages[MAX_PENDING_REQS];168 u16 pending_ring[MAX_PENDING_REQS];169 struct pending_tx_info pending_tx_info[MAX_PENDING_REQS];170 grant_handle_t grant_tx_handle[MAX_PENDING_REQS];172 struct gnttab_copy tx_copy_ops[MAX_PENDING_REQS];173 struct gnttab_map_grant_ref tx_map_ops[MAX_PENDING_REQS];174 struct gnttab_unmap_grant_ref tx_unmap_ops[MAX_PENDING_REQS];176 struct page *pages_to_map[MAX_PENDING_REQS];177 struct page *pages_to_unmap[MAX_PENDING_REQS];[all …]
586 queue->pending_prod = MAX_PENDING_REQS; in xenvif_init_queue()587 for (i = 0; i < MAX_PENDING_REQS; ++i) in xenvif_init_queue()597 err = gnttab_alloc_pages(MAX_PENDING_REQS, in xenvif_init_queue()604 for (i = 0; i < MAX_PENDING_REQS; i++) { in xenvif_init_queue()846 gnttab_free_pages(MAX_PENDING_REQS, queue->mmap_pages); in xenvif_deinit_queue()
156 return i & (MAX_PENDING_REQS-1); in pending_index()1245 MAX_PENDING_REQS); in xenvif_zerocopy_callback()1267 u16 pending_idx, pending_idx_release[MAX_PENDING_REQS]; in xenvif_tx_dealloc_action()1283 BUG_ON(gop - queue->tx_unmap_ops >= MAX_PENDING_REQS); in xenvif_tx_dealloc_action()