Home
last modified time | relevance | path

Searched refs:items_per_memblock (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-mm.c38 int n_items = mempool->items_per_memblock; in __hal_mempool_grow()
262 mempool->items_per_memblock = memblock_size / item_size; in __hal_mempool_create()
264 mempool->memblocks_max = (items_max + mempool->items_per_memblock - 1) / in __hal_mempool_create()
265 mempool->items_per_memblock; in __hal_mempool_create()
324 mempool->items_per_memblock - 1) / in __hal_mempool_create()
325 mempool->items_per_memblock; in __hal_mempool_create()
329 mempool->items_per_memblock); in __hal_mempool_create()
364 for (j=0; j<mempool->items_per_memblock; j++) { in __hal_mempool_destroy()
365 int index = i*mempool->items_per_memblock + j; in __hal_mempool_destroy()
389 mempool->items_priv_size * mempool->items_per_memblock); in __hal_mempool_destroy()
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-mm.h79 int items_per_memblock; member
111 xge_assert((*memblock_item_idx) < mempool->items_per_memblock); in __hal_mempool_item_priv()