Lines Matching refs:s_count
1988 ASSERT(impl_tokenp->s_count == 0);
2034 impl_tokenp->s_count, (void *)impl_tokenp->s_thread,
2042 * 1) Condition met (s_count == 0) - higher prio test
2048 while (impl_tokenp->s_count != 0) {
2089 impl_tokenp->s_count++;
2091 ASSERT(!(impl_tokenp->s_count > 1 &&
2116 impl_tokenp->s_count, (void *)curthread);
2119 * If lock is not taken (s_count is 0), take it.
2124 if (!impl_tokenp->s_count || ((impl_tokenp->s_thread == curthread) &&
2127 impl_tokenp->s_count++;
2141 impl_tokenp->s_count, (void *)impl_tokenp->s_thread);
2160 impl_tokenp->s_count, (void *)curthread);
2162 ASSERT(impl_tokenp->s_count > 0);
2172 if (--impl_tokenp->s_count == 0) {