Lines Matching defs:try
102 * We try harder to acquire queue locks by spinning.
964 * If so, just loop around and try again.
1928 mutex_recursion(mutex_t *mp, int mtype, int try)
1932 ASSERT(try == MUTEX_TRY || try == MUTEX_LOCK);
1943 if (try == MUTEX_LOCK) {
2073 mutex_lock_internal(mutex_t *mp, timespec_t *tsp, int try)
2080 int noceil = try & MUTEX_NOCEIL;
2084 try &= ~MUTEX_NOCEIL;
2085 ASSERT(try == MUTEX_TRY || try == MUTEX_LOCK);
2090 if (msp && try == MUTEX_TRY)
2094 return (mutex_recursion(mp, mtype, try));
2096 if (self->ul_error_detection && try == MUTEX_LOCK &&
2126 if (try == MUTEX_TRY)
2149 if (try == MUTEX_TRY) {
2167 error = mutex_trylock_process(mp, try == MUTEX_LOCK);
2168 if (error == EBUSY && try == MUTEX_LOCK)
2171 error = mutex_trylock_adaptive(mp, try == MUTEX_LOCK);
2172 if (error == EBUSY && try == MUTEX_LOCK)
2191 if (try == MUTEX_TRY) {
2206 fast_process_lock(mutex_t *mp, timespec_t *tsp, int mtype, int try)
2241 return (mutex_recursion(mp, mtype, try));
2243 if (try == MUTEX_LOCK) {