Home
last modified time | relevance | path

Searched refs:memblock (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-mm.h57 void *memblock, int memblock_index,
103 void *memblock = mempool->memblocks_arr[memblock_idx]; in __hal_mempool_item_priv() local
105 xge_assert(memblock); in __hal_mempool_item_priv()
107 offset = (int)((char * )item - (char *)memblock); in __hal_mempool_item_priv()
H A Dxgehal-fifo.h236 void *memblock; member
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-ring.c33 void *memblock; in __hal_ring_item_dma_offset() local
39 memblock = __hal_mempool_memblock(mempoolh, memblock_idx); in __hal_ring_item_dma_offset()
41 return (char*)item - (char*)memblock; in __hal_ring_item_dma_offset()
50 void *memblock; in __hal_ring_item_dma_addr() local
58 memblock = __hal_mempool_memblock((xge_hal_mempool_t *) mempoolh, in __hal_ring_item_dma_addr()
67 dma_item_offset = (char*)item - (char*)memblock; in __hal_ring_item_dma_addr()
121 void *memblock, in __hal_ring_mempool_item_alloc() argument
160 rxd_priv->dma_offset = (char*)rxdp - (char*)memblock; in __hal_ring_mempool_item_alloc()
H A Dxgehal-fifo.c29 void *memblock, in __hal_fifo_mempool_item_alloc() argument
51 txdl_priv->dma_offset = (char*)item - (char*)memblock; in __hal_fifo_mempool_item_alloc()
54 txdl_priv->memblock = memblock; in __hal_fifo_mempool_item_alloc()
99 void *memblock, in __hal_fifo_mempool_item_free() argument
H A Dxgehal-fifo-fp.c316 if (curr_txdl_priv->memblock == in xge_hal_fifo_dtr_reserve_many()
317 next_txdl_priv->memblock) { in xge_hal_fifo_dtr_reserve_many()