Lines Matching refs:upimutex_t
95 static kthread_t *lwpsobj_pi_owner(upimutex_t *up);
526 lwpsobj_pi_owner(upimutex_t *up)
625 upi_owned(upimutex_t *upim)
631 * Returns pointer to kernel object (upimutex_t *) if lp is owned.
701 kmem_free(upimutex, sizeof (upimutex_t));
719 upimutex_unlock((upimutex_t *)upimutex, 0);
734 upimutex = kmem_zalloc(sizeof (upimutex_t), KM_SLEEP);
735 upi_chain_add(upibp, (upimutex_t *)upimutex);
741 nupinest = upi_mylist_add((upimutex_t *)upimutex);
746 upimutex_unlock((upimutex_t *)upimutex, flag);
759 upimutex_unlock((upimutex_t *)upimutex, flag);
843 ts = turnstile_lookup((upimutex_t *)upimutex);
845 error = turnstile_block(ts, TS_WRITER_Q, (upimutex_t *)upimutex,
863 (void) upi_mylist_add((upimutex_t *)upimutex);
864 upimutex_unlock((upimutex_t *)upimutex, 0);
871 (error == EDEADLK && !upi_owned((upimutex_t *)upimutex)));
877 nupinest = upi_mylist_add((upimutex_t *)upimutex);
910 upimutex_unlock((upimutex_t *)upimutex, flag);
983 upimutex_unlock((upimutex_t *)upimutex, 0);
1017 upimutex_unlock((upimutex_t *)upimutex, flag);
1075 upi_dead(upimutex_t *upip, uint16_t lockflg)
2882 upimutex_unlock((upimutex_t *)upimutex, 0);
2904 upimutex_unlock((upimutex_t *)upimutex, flag);