Lines Matching refs:mempoolh
2035 static dma_addr_t __vxge_hw_ring_item_dma_addr(struct vxge_hw_mempool *mempoolh, in __vxge_hw_ring_item_dma_addr() argument
2047 memblock = mempoolh->memblocks_arr[memblock_idx]; in __vxge_hw_ring_item_dma_addr()
2050 memblock_dma_object = mempoolh->memblocks_dma_arr + memblock_idx; in __vxge_hw_ring_item_dma_addr()
2062 static void __vxge_hw_ring_rxdblock_link(struct vxge_hw_mempool *mempoolh, in __vxge_hw_ring_rxdblock_link() argument
2070 from_item = mempoolh->items_arr[from]; in __vxge_hw_ring_rxdblock_link()
2074 to_item = mempoolh->items_arr[to]; in __vxge_hw_ring_rxdblock_link()
2078 to_dma = __vxge_hw_ring_item_dma_addr(mempoolh, to_item); in __vxge_hw_ring_rxdblock_link()
2092 __vxge_hw_ring_mempool_item_alloc(struct vxge_hw_mempool *mempoolh, in __vxge_hw_ring_mempool_item_alloc() argument
2098 void *item = mempoolh->items_arr[index]; in __vxge_hw_ring_mempool_item_alloc()
2100 (struct __vxge_hw_ring *)mempoolh->userdata; in __vxge_hw_ring_mempool_item_alloc()
2118 rxdblock_priv = __vxge_hw_mempool_item_priv(mempoolh, in __vxge_hw_ring_mempool_item_alloc()
2134 __vxge_hw_ring_rxdblock_link(mempoolh, ring, index, 0); in __vxge_hw_ring_mempool_item_alloc()
2139 __vxge_hw_ring_rxdblock_link(mempoolh, ring, index - 1, index); in __vxge_hw_ring_mempool_item_alloc()
3395 struct vxge_hw_mempool *mempoolh, in __vxge_hw_fifo_mempool_item_alloc() argument
3402 (struct vxge_hw_fifo_txd *)mempoolh->items_arr[index]; in __vxge_hw_fifo_mempool_item_alloc()
3404 (struct __vxge_hw_fifo *)mempoolh->userdata; in __vxge_hw_fifo_mempool_item_alloc()
3405 void *memblock = mempoolh->memblocks_arr[memblock_index]; in __vxge_hw_fifo_mempool_item_alloc()
3410 __vxge_hw_mempool_item_priv(mempoolh, memblock_index, txdp, in __vxge_hw_fifo_mempool_item_alloc()