Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/kern/
Dkern_mtxpool.c75 struct mtx_pool { struct
85 struct mtx_pool __read_frequently *mtxpool_sleep;
102 mtx_pool_find(struct mtx_pool *pool, void *ptr) in mtx_pool_find()
117 mtx_pool_initialize(struct mtx_pool *pool, const char *mtx_name, int pool_size, in mtx_pool_initialize()
132 struct mtx_pool *
135 struct mtx_pool *pool; in mtx_pool_create()
142 pool = malloc(sizeof (struct mtx_pool) + in mtx_pool_create()
150 mtx_pool_destroy(struct mtx_pool **poolp) in mtx_pool_destroy()
153 struct mtx_pool *pool = *poolp; in mtx_pool_destroy()
174 mtx_pool_alloc(struct mtx_pool *pool) in mtx_pool_alloc()
Dsys_generic.c163 static struct mtx_pool *mtxpool_select;
/freebsd-12-stable/sys/sys/
Dmutex.h389 struct mtx_pool;
391 struct mtx_pool *mtx_pool_create(const char *mtx_name, int pool_size, int opts);
392 void mtx_pool_destroy(struct mtx_pool **poolp);
393 struct mtx *mtx_pool_find(struct mtx_pool *pool, void *ptr);
394 struct mtx *mtx_pool_alloc(struct mtx_pool *pool);
407 extern struct mtx_pool *mtxpool_sleep;
/freebsd-12-stable/share/man/man9/
DMakefile213 mtx_pool.9 \
1434 MLINKS+=mtx_pool.9 mtx_pool_alloc.9 \
1435 mtx_pool.9 mtx_pool_create.9 \
1436 mtx_pool.9 mtx_pool_destroy.9 \
1437 mtx_pool.9 mtx_pool_find.9 \
1438 mtx_pool.9 mtx_pool_lock.9 \
1439 mtx_pool.9 mtx_pool_lock_spin.9 \
1440 mtx_pool.9 mtx_pool_unlock.9 \
1441 mtx_pool.9 mtx_pool_unlock_spin.9
/freebsd-12-stable/sys/dev/hwpmc/
Dhwpmc_mod.c106 struct mtx_pool *pmc_mtxpool;