Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/sys/
Dproc.h507 struct mtx p_slock; /* process spin lock */ member
638 #define PROC_SLOCK(p) mtx_lock_spin(&(p)->p_slock)
639 #define PROC_SUNLOCK(p) mtx_unlock_spin(&(p)->p_slock)
640 #define PROC_SLOCK_ASSERT(p, type) mtx_assert(&(p)->p_slock, (type))
642 #define PROC_STATLOCK(p) mtx_lock_spin(&(p)->p_slock)
643 #define PROC_STATUNLOCK(p) mtx_unlock_spin(&(p)->p_slock)
644 #define PROC_STATLOCK_ASSERT(p, type) mtx_assert(&(p)->p_slock, (type))
646 #define PROC_ITIMLOCK(p) mtx_lock_spin(&(p)->p_slock)
647 #define PROC_ITIMUNLOCK(p) mtx_unlock_spin(&(p)->p_slock)
648 #define PROC_ITIMLOCK_ASSERT(p, type) mtx_assert(&(p)->p_slock, (type))
[all …]
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/
Dfasttrap.c649 mtx_lock_spin(&cp->p_slock); in fasttrap_fork()
651 mtx_unlock_spin(&cp->p_slock); in fasttrap_fork()
/freebsd-10-stable/sys/kern/
Dkern_mutex.c1071 mtx_init(&proc0.p_slock, "process slock", NULL, MTX_SPIN | MTX_RECURSE); in mutex_init()
Dkern_proc.c252 mtx_init(&p->p_slock, "process slock", NULL, MTX_SPIN | MTX_RECURSE); in proc_init()