1MEMPOOL_DESTROY(9)        Memory Management in Linux        MEMPOOL_DESTROY(9)
2
3
4

NAME

6       mempool_destroy - deallocate a memory pool
7

SYNOPSIS

9       void mempool_destroy(mempool_t * pool);
10

ARGUMENTS

12       pool
13           pointer to the memory pool which was allocated via mempool_create.
14

DESCRIPTION

16       this function only sleeps if the free_fn function sleeps. The caller
17       has to guarantee that all elements have been returned to the pool (ie:
18       freed) prior to calling mempool_destroy.
19
21Kernel Hackers Manual 2.6.         June 2019                MEMPOOL_DESTROY(9)
Impressum