Lines Matching refs:c_mutex
2305 (MUTEX_HELD(&(csp)->ch_send.c_mutex) && \
2306 MUTEX_HELD(&(csp)->ch_recv.c_mutex))
2308 (mutex_enter(&(csp)->ch_recv.c_mutex, \
2309 mutex_enter(&(csp)->ch_send.c_mutex))
2311 (mutex_exit(&(csp)->ch_send.c_mutex), \
2312 mutex_exit(&(csp)->ch_recv.c_mutex))
2315 (MUTEX_HELD(&(csp)->ch_recv.c_mutex))
2317 (mutex_tryenter(&(csp)->ch_recv.c_mutex))
2319 (mutex_enter(&(csp)->ch_recv.c_mutex))
2321 (mutex_exit(&(csp)->ch_recv.c_mutex))
2324 (MUTEX_HELD(&(csp)->ch_send.c_mutex))
2326 (mutex_tryenter(&(csp)->ch_send.c_mutex))
2328 (mutex_enter(&(csp)->ch_send.c_mutex))
2330 (mutex_exit(&(csp)->ch_send.c_mutex))
2340 * Reading c_state requires either c_mutex or ch_mutex.
2341 * Writing c_state requires both c_mutex and ch_mutex in the order:
2343 * c_mutex
2346 kmutex_t c_mutex;
2347 uchar_t c_state; /* protected by c_mutex */
2350 ushort_t c_waiters; /* protected by c_mutex */
2351 ushort_t c_inprogress; /* protected by c_mutex */
2359 * ch_recv.c_mutex
2360 * ch_send.c_mutex