Searched refs:first_pool (Results 1 – 2 of 2) sorted by relevance
36 if (_unlikely_(!mp->first_pool) || in mempool_alloc_tile()37 _unlikely_(mp->first_pool->n_used >= mp->first_pool->n_tiles)) { in mempool_alloc_tile()41 n = mp->first_pool ? mp->first_pool->n_tiles : 0; in mempool_alloc_tile()50 p->next = mp->first_pool; in mempool_alloc_tile()54 mp->first_pool = p; in mempool_alloc_tile()57 i = mp->first_pool->n_used++; in mempool_alloc_tile()59 return ((uint8_t*) mp->first_pool) + ALIGN(sizeof(struct pool)) + i*mp->tile_size; in mempool_alloc_tile()92 struct pool *p = mp->first_pool; in mempool_drop()
10 struct pool *first_pool; member