Query: mempool_create
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MEMPOOL_CREATE(9) Memory Management in Linux MEMPOOL_CREATE(9)NAMEmempool_create - create a memory poolSYNOPSISmempool_t * mempool_create(int min_nr, mempool_alloc_t * alloc_fn, mempool_free_t * free_fn, void * pool_data);ARGUMENTSmin_nr the minimum number of elements guaranteed to be allocated for this pool. alloc_fn user-defined element-allocation function. free_fn user-defined element-freeing function. pool_data optional private data available to the user-defined functions.DESCRIPTIONthis function creates and allocates a guaranteed size, preallocated memory pool. The pool can be used from the mempool_alloc and mempool_free functions. This function might sleep. Both the alloc_fn and the free_fn functions might sleep - as long as the mempool_alloc function is not called from IRQ contexts.COPYRIGHTKernel Hackers Manual 2.6. July 2010 MEMPOOL_CREATE(9)
Related Man Pages |
---|
kcalloc(9) - suse |
mtx_pool_unlock(9) - freebsd |
kmem_alloc(9f) - opensolaris |
mtx_pool_destroy(9) - debian |
vxmemstat(1m) - hpux |
Similar Topics in the Unix Linux Community |
---|
Grant unprivileged user rights to see the output of echo|format but not modify disks |
Update kernel Linux without reboot?! |
Tar Command |
A (ksh) Library For and From UNIX.com |
Shopt -s histappend |