Searched refs:alloc_fn (Results 1 – 1 of 1) sorted by relevance
54 mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, in mempool_create() argument57 return mempool_create_node(min_nr,alloc_fn,free_fn, pool_data,-1); in mempool_create()61 mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn, in mempool_create_node() argument78 pool->alloc = alloc_fn; in mempool_create_node()