Home
last modified time | relevance | path

Searched refs:pg_mtx (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/sys/
H A Dproc.h114 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 Dff_init_main.c395 mtx_init(&pgrp0.pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); in proc0_init()
/f-stack/freebsd/kern/
H A Dinit_main.c482 mtx_init(&pgrp0.pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); in proc0_init()
H A Dkern_proc.c309 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()