LOCK_RECURSIVE
(USYNC_PROCESS | LOCK_ERRORCHECK | LOCK_RECURSIVE | \
if (type & LOCK_RECURSIVE)
{{0, 0, 0, {USYNC_THREAD|LOCK_RECURSIVE}, MUTEX_MAGIC}, \
{{0, 0, 0, {USYNC_THREAD|LOCK_RECURSIVE|LOCK_ERRORCHECK}, \
USYNC_THREAD | LOCK_RECURSIVE, NULL);
USYNC_THREAD | LOCK_RECURSIVE, NULL);
mtype = USYNC_THREAD | LOCK_RECURSIVE;
type = LOCK_RECURSIVE | LOCK_ERRORCHECK;
(LOCK_RECURSIVE | LOCK_ERRORCHECK | \
ASSERT(mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK));
if (mtype & LOCK_RECURSIVE) {
if ((mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)) && mutex_held(mp))
ASSERT((mtype & ~(USYNC_PROCESS|LOCK_RECURSIVE|LOCK_ERRORCHECK)) == 0);
if ((mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)) && shared_mutex_held(mp))
if (((mtype & ~(LOCK_RECURSIVE|LOCK_ERRORCHECK)) |
(mtype & ~(USYNC_PROCESS|LOCK_RECURSIVE|LOCK_ERRORCHECK))) == 0) {
attr != (LOCK_ERRORCHECK | LOCK_RECURSIVE)) {
if (((mtype & ~(LOCK_RECURSIVE|LOCK_ERRORCHECK)) |
(mtype & ~(USYNC_PROCESS|LOCK_RECURSIVE|LOCK_ERRORCHECK))) == 0) {
if ((mtype & LOCK_RECURSIVE) && mp->mutex_rcount != 0) {
if (((mtype & ~(LOCK_RECURSIVE|LOCK_ERRORCHECK)) |
if ((mtype & LOCK_RECURSIVE) && mp->mutex_rcount != 0) {
if ((mtype & ~(LOCK_RECURSIVE|LOCK_ERRORCHECK)) == 0) {
if ((mtype & LOCK_RECURSIVE) && mp->mutex_rcount != 0) {
~(USYNC_PROCESS|LOCK_RECURSIVE|LOCK_ERRORCHECK)) == 0) {
if ((mtype & LOCK_RECURSIVE) && mp->mutex_rcount != 0) {
attr != (LOCK_ERRORCHECK | LOCK_RECURSIVE)) {
if ((mtype & LOCK_RECURSIVE) && mp->mutex_rcount != 0)
USYNC_THREAD | LOCK_RECURSIVE, NULL);
USYNC_THREAD | LOCK_RECURSIVE, NULL);
USYNC_THREAD | LOCK_RECURSIVE | LOCK_ERRORCHECK, NULL);
if (mutex_init(&varpd_load_lock, USYNC_THREAD | LOCK_RECURSIVE |
.mt_type = USYNC_THREAD | LOCK_RECURSIVE,
.mt_type = USYNC_THREAD | LOCK_RECURSIVE | LOCK_ERRORCHECK,
.mt_type = USYNC_THREAD | LOCK_RECURSIVE | LOCK_ERRORCHECK,