Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dproc.h111 struct mtx pg_mtx; /* Mutex to protect members */ member
967 #define PGRP_LOCK(pg) mtx_lock(&(pg)->pg_mtx)
968 #define PGRP_UNLOCK(pg) mtx_unlock(&(pg)->pg_mtx)
969 #define PGRP_LOCKED(pg) mtx_owned(&(pg)->pg_mtx)
970 #define PGRP_LOCK_ASSERT(pg, type) mtx_assert(&(pg)->pg_mtx, (type))
/freebsd/sys/kern/
H A Dinit_main.c500 mtx_init(&pgrp0.pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); in proc0_init()
H A Dkern_proc.c313 mtx_init(&pg->pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); in pgrp_init()
735 if (!mtx_owned(&pgrp->pg_mtx)) in pgrp_calc_jobc()