Home
last modified time | relevance | path

Searched refs:LOCK_RECURSIVE (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/test/libc-tests/tests/
H A Dmutex-16200.c108 .mt_type = USYNC_THREAD | LOCK_RECURSIVE,
113 .mt_type = USYNC_THREAD | LOCK_RECURSIVE | LOCK_ERRORCHECK,
123 .mt_type = USYNC_THREAD | LOCK_RECURSIVE | LOCK_ERRORCHECK,
/illumos-gate/usr/src/head/
H A Dsynch.h152 {{0, 0, 0, {USYNC_THREAD|LOCK_RECURSIVE}, MUTEX_MAGIC}, \
158 {{0, 0, 0, {USYNC_THREAD|LOCK_RECURSIVE|LOCK_ERRORCHECK}, \
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsynch.c114 (LOCK_RECURSIVE | LOCK_ERRORCHECK | \
1904 ASSERT(mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)); in mutex_recursion()
1907 if (mtype & LOCK_RECURSIVE) { in mutex_recursion()
2066 if ((mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)) && mutex_held(mp)) in mutex_lock_internal()
2189 ASSERT((mtype & ~(USYNC_PROCESS|LOCK_RECURSIVE|LOCK_ERRORCHECK)) == 0); in fast_process_lock()
2213 if ((mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)) && shared_mutex_held(mp)) in fast_process_lock()
2247 if (((mtype & ~(LOCK_RECURSIVE|LOCK_ERRORCHECK)) | in mutex_lock_impl()
2296 (mtype & ~(USYNC_PROCESS|LOCK_RECURSIVE|LOCK_ERRORCHECK))) == 0) { in mutex_lock_impl()
2338 attr != (LOCK_ERRORCHECK | LOCK_RECURSIVE)) { in mutex_enter()
2431 if (((mtype & ~(LOCK_RECURSIVE|LOCK_ERRORCHECK)) | in mutex_trylock()
[all …]
H A Dc11_thr.c134 mtype = USYNC_THREAD | LOCK_RECURSIVE; in mtx_init()
H A Dpthr_mutex.c240 type = LOCK_RECURSIVE | LOCK_ERRORCHECK; in pthread_mutex_init()
H A Dthr.c1671 USYNC_THREAD | LOCK_RECURSIVE, NULL); in postfork1_child()
1673 USYNC_THREAD | LOCK_RECURSIVE, NULL); in postfork1_child()
/illumos-gate/usr/src/uts/common/sys/
H A Dsynch.h136 #define LOCK_RECURSIVE 0x04 /* recursive lock */ macro
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dfdsync.c131 USYNC_THREAD | LOCK_RECURSIVE | LOCK_ERRORCHECK, NULL); in create_block()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_plugin.c223 if (mutex_init(&varpd_load_lock, USYNC_THREAD | LOCK_RECURSIVE | in libvarpd_plugin_init()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dflush.c367 USYNC_THREAD | LOCK_RECURSIVE, NULL); in _findiop()
375 USYNC_THREAD | LOCK_RECURSIVE, NULL); in _findiop()
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c530 (USYNC_PROCESS | LOCK_ERRORCHECK | LOCK_RECURSIVE | \
547 if (type & LOCK_RECURSIVE) in synch_type()