MCPcopy Create free account
hub / github.com/F-Stack/f-stack / prison_lock

Function prison_lock

freebsd/sys/jail.h:267–272  ·  view source on GitHub ↗

* Lock/unlock a prison. * XXX These exist not so much for general convenience, but to be useable in * the FOREACH_PRISON_DESCENDANT_LOCKED macro which can't handle them in * non-function form as currently defined. */

Source from the content-addressed store, hash-verified

265 * non-function form as currently defined.
266 */
267static __inline void
268prison_lock(struct prison *pr)
269{
270
271 mtx_lock(&pr->pr_mtx);
272}
273
274static __inline void
275prison_unlock(struct prison *pr)

Callers 15

shm_find_prisonFunction · 0.85
shminitFunction · 0.85
shm_prison_checkFunction · 0.85
shm_prison_setFunction · 0.85
shm_prison_getFunction · 0.85
shm_prison_removeFunction · 0.85
prison_priv_checkFunction · 0.85
seminitFunction · 0.85
sem_find_prisonFunction · 0.85
sem_prison_checkFunction · 0.85
sem_prison_setFunction · 0.85
sem_prison_getFunction · 0.85

Calls 1

mtx_lockFunction · 0.50

Tested by

no test coverage detected