Lines Matching refs:mempoolh
2031 static dma_addr_t __vxge_hw_ring_item_dma_addr(struct vxge_hw_mempool *mempoolh, in __vxge_hw_ring_item_dma_addr() argument
2043 memblock = mempoolh->memblocks_arr[memblock_idx]; in __vxge_hw_ring_item_dma_addr()
2046 memblock_dma_object = mempoolh->memblocks_dma_arr + memblock_idx; in __vxge_hw_ring_item_dma_addr()
2058 static void __vxge_hw_ring_rxdblock_link(struct vxge_hw_mempool *mempoolh, in __vxge_hw_ring_rxdblock_link() argument
2066 from_item = mempoolh->items_arr[from]; in __vxge_hw_ring_rxdblock_link()
2070 to_item = mempoolh->items_arr[to]; in __vxge_hw_ring_rxdblock_link()
2074 to_dma = __vxge_hw_ring_item_dma_addr(mempoolh, to_item); in __vxge_hw_ring_rxdblock_link()
2088 __vxge_hw_ring_mempool_item_alloc(struct vxge_hw_mempool *mempoolh, in __vxge_hw_ring_mempool_item_alloc() argument
2094 void *item = mempoolh->items_arr[index]; in __vxge_hw_ring_mempool_item_alloc()
2096 (struct __vxge_hw_ring *)mempoolh->userdata; in __vxge_hw_ring_mempool_item_alloc()
2114 rxdblock_priv = __vxge_hw_mempool_item_priv(mempoolh, in __vxge_hw_ring_mempool_item_alloc()
2130 __vxge_hw_ring_rxdblock_link(mempoolh, ring, index, 0); in __vxge_hw_ring_mempool_item_alloc()
2135 __vxge_hw_ring_rxdblock_link(mempoolh, ring, index - 1, index); in __vxge_hw_ring_mempool_item_alloc()
3399 struct vxge_hw_mempool *mempoolh, in __vxge_hw_fifo_mempool_item_alloc() argument
3406 (struct vxge_hw_fifo_txd *)mempoolh->items_arr[index]; in __vxge_hw_fifo_mempool_item_alloc()
3408 (struct __vxge_hw_fifo *)mempoolh->userdata; in __vxge_hw_fifo_mempool_item_alloc()
3409 void *memblock = mempoolh->memblocks_arr[memblock_index]; in __vxge_hw_fifo_mempool_item_alloc()
3414 __vxge_hw_mempool_item_priv(mempoolh, memblock_index, txdp, in __vxge_hw_fifo_mempool_item_alloc()