Searched refs:pg_mtx (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/sys/ |
| H A D | proc.h | 114 struct mtx pg_mtx; /* Mutex to protect members */ member 899 #define PGRP_LOCK(pg) mtx_lock(&(pg)->pg_mtx) 900 #define PGRP_UNLOCK(pg) mtx_unlock(&(pg)->pg_mtx) 901 #define PGRP_LOCKED(pg) mtx_owned(&(pg)->pg_mtx) 902 #define PGRP_LOCK_ASSERT(pg, type) mtx_assert(&(pg)->pg_mtx, (type))
|
| /f-stack/lib/ |
| H A D | ff_init_main.c | 395 mtx_init(&pgrp0.pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); in proc0_init()
|
| /f-stack/freebsd/kern/ |
| H A D | init_main.c | 482 mtx_init(&pgrp0.pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); in proc0_init()
|
| H A D | kern_proc.c | 309 mtx_init(&pg->pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); in pgrp_init() 700 if (!mtx_owned(&pgrp->pg_mtx)) in pgrp_calc_jobc()
|