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
991 #define PGRP_LOCK(pg) mtx_lock(&(pg)->pg_mtx)
992 #define PGRP_UNLOCK(pg) mtx_unlock(&(pg)->pg_mtx)
993 #define PGRP_LOCKED(pg) mtx_owned(&(pg)->pg_mtx)
994 #define PGRP_LOCK_ASSERT(pg, type) mtx_assert(&(pg)->pg_mtx, (type))
/freebsd/sys/kern/
H A Dinit_main.c503 mtx_init(&pgrp0.pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); in proc0_init()
H A Dkern_proc.c315 mtx_init(&pg->pg_mtx, "process group", NULL, MTX_DEF | MTX_DUPOK); in pgrp_init()
737 if (!mtx_owned(&pgrp->pg_mtx)) in pgrp_calc_jobc()