mempool_alloc — allocate an element from a specific memory pool
void * mempool_alloc ( | mempool_t * pool, |
gfp_t gfp_mask) ; |
mempool_t * pool
pointer to the memory pool which was allocated via
mempool_create
.
gfp_t gfp_mask
the usual allocation bitmask.