Home
last modified time | relevance | path

Searched refs:first_pool (Results 1 - 2 of 2) sorted by relevance

/third_party/eudev/src/shared/
H A Dmempool.c50 if (_unlikely_(!mp->first_pool) || in mempool_alloc_tile()
51 _unlikely_(mp->first_pool->n_used >= mp->first_pool->n_tiles)) { in mempool_alloc_tile()
56 n = mp->first_pool ? mp->first_pool->n_tiles : 0; in mempool_alloc_tile()
65 p->next = mp->first_pool; in mempool_alloc_tile()
69 mp->first_pool = p; in mempool_alloc_tile()
72 i = mp->first_pool->n_used++; in mempool_alloc_tile()
74 return ((uint8_t*) mp->first_pool) + ALIGN(sizeof(struct pool)) + i*mp->tile_size; in mempool_alloc_tile()
94 struct pool *p = mp->first_pool; in mempool_drop()
[all...]
H A Dmempool.h30 struct pool *first_pool; member

Completed in 1 milliseconds