Motr
M0
|
#include "lib/misc.h"
#include "lib/mutex.h"
#include "lib/tlist.h"
#include "lib/assert.h"
#include "lib/types.h"
Go to the source code of this file.
Data Structures | |
struct | m0_be_pool_cfg |
struct | m0_be_pool |
struct | m0_be_pool_item |
struct | m0_be_pool_descr |
Macros | |
#define | __MOTR_BE_POOL_H__ |
#define | M0_BE_POOL_DESCR(hname, amb_type, pool_field, pool_magic_field, pool_magic) |
#define | M0_BE_POOL_DESCR_DEFINE(name, hname, scope, amb_type, pool_field, pool_magic_field, pool_magic) |
#define | M0_BE_POOL_DEFINE(name, scope, amb_type) |
Functions | |
M0_INTERNAL int | m0_be_pool_init (struct m0_be_pool *pool, struct m0_be_pool_cfg *cfg) |
M0_INTERNAL void | m0_be_pool_fini (struct m0_be_pool *pool) |
M0_INTERNAL void | m0_be_pool_add (const struct m0_be_pool_descr *d, struct m0_be_pool *pool, void *obj) |
M0_INTERNAL void * | m0_be_pool_del (const struct m0_be_pool_descr *d, struct m0_be_pool *pool) |
M0_INTERNAL void | m0_be_pool_get (const struct m0_be_pool_descr *d, struct m0_be_pool *pool, void **obj, struct m0_be_op *op) |
M0_INTERNAL void | m0_be_pool_put (const struct m0_be_pool_descr *d, struct m0_be_pool *pool, void *obj) |