Home
last modified time | relevance | path

Searched refs:mtx_pool (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/kern/
H A Dkern_mtxpool.c74 struct mtx_pool { struct
84 struct mtx_pool __read_mostly *mtxpool_sleep;
101 mtx_pool_find(struct mtx_pool *pool, void *ptr) in mtx_pool_find()
116 mtx_pool_initialize(struct mtx_pool *pool, const char *mtx_name, int pool_size, in mtx_pool_initialize()
131 struct mtx_pool *
134 struct mtx_pool *pool; in mtx_pool_create()
141 pool = malloc(sizeof (struct mtx_pool) + in mtx_pool_create()
149 mtx_pool_destroy(struct mtx_pool **poolp) in mtx_pool_destroy()
152 struct mtx_pool *pool = *poolp; in mtx_pool_destroy()
173 mtx_pool_alloc(struct mtx_pool *pool) in mtx_pool_alloc()
H A Dsys_generic.c164 static struct mtx_pool *mtxpool_select;
/f-stack/freebsd/sys/
H A Dmutex.h390 struct mtx_pool;
392 struct mtx_pool *mtx_pool_create(const char *mtx_name, int pool_size, int opts);
393 void mtx_pool_destroy(struct mtx_pool **poolp);
394 struct mtx *mtx_pool_find(struct mtx_pool *pool, void *ptr);
395 struct mtx *mtx_pool_alloc(struct mtx_pool *pool);
408 extern struct mtx_pool *mtxpool_sleep;