Searched refs:memblock (Results 1 – 5 of 5) sorted by relevance
57 void *memblock, int memblock_index,103 void *memblock = mempool->memblocks_arr[memblock_idx]; in __hal_mempool_item_priv() local105 xge_assert(memblock); in __hal_mempool_item_priv()107 offset = (int)((char * )item - (char *)memblock); in __hal_mempool_item_priv()
236 void *memblock; member
33 void *memblock; in __hal_ring_item_dma_offset() local39 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() local58 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() argument160 rxd_priv->dma_offset = (char*)rxdp - (char*)memblock; in __hal_ring_mempool_item_alloc()
29 void *memblock, in __hal_fifo_mempool_item_alloc() argument51 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
316 if (curr_txdl_priv->memblock == in xge_hal_fifo_dtr_reserve_many()317 next_txdl_priv->memblock) { in xge_hal_fifo_dtr_reserve_many()