Lines Matching refs:mempoolh
2039 static dma_addr_t __vxge_hw_ring_item_dma_addr(struct vxge_hw_mempool *mempoolh, in __vxge_hw_ring_item_dma_addr() argument
2051 memblock = mempoolh->memblocks_arr[memblock_idx]; in __vxge_hw_ring_item_dma_addr()
2054 memblock_dma_object = mempoolh->memblocks_dma_arr + memblock_idx; in __vxge_hw_ring_item_dma_addr()
2066 static void __vxge_hw_ring_rxdblock_link(struct vxge_hw_mempool *mempoolh, in __vxge_hw_ring_rxdblock_link() argument
2074 from_item = mempoolh->items_arr[from]; in __vxge_hw_ring_rxdblock_link()
2078 to_item = mempoolh->items_arr[to]; in __vxge_hw_ring_rxdblock_link()
2082 to_dma = __vxge_hw_ring_item_dma_addr(mempoolh, to_item); in __vxge_hw_ring_rxdblock_link()
2096 __vxge_hw_ring_mempool_item_alloc(struct vxge_hw_mempool *mempoolh, in __vxge_hw_ring_mempool_item_alloc() argument
2102 void *item = mempoolh->items_arr[index]; in __vxge_hw_ring_mempool_item_alloc()
2104 (struct __vxge_hw_ring *)mempoolh->userdata; in __vxge_hw_ring_mempool_item_alloc()
2122 rxdblock_priv = __vxge_hw_mempool_item_priv(mempoolh, in __vxge_hw_ring_mempool_item_alloc()
2138 __vxge_hw_ring_rxdblock_link(mempoolh, ring, index, 0); in __vxge_hw_ring_mempool_item_alloc()
2143 __vxge_hw_ring_rxdblock_link(mempoolh, ring, index - 1, index); in __vxge_hw_ring_mempool_item_alloc()
3418 struct vxge_hw_mempool *mempoolh, in __vxge_hw_fifo_mempool_item_alloc() argument
3425 (struct vxge_hw_fifo_txd *)mempoolh->items_arr[index]; in __vxge_hw_fifo_mempool_item_alloc()
3427 (struct __vxge_hw_fifo *)mempoolh->userdata; in __vxge_hw_fifo_mempool_item_alloc()
3428 void *memblock = mempoolh->memblocks_arr[memblock_index]; in __vxge_hw_fifo_mempool_item_alloc()
3433 __vxge_hw_mempool_item_priv(mempoolh, memblock_index, txdp, in __vxge_hw_fifo_mempool_item_alloc()