Searched refs:s_count (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dsema_impl.h57 int s_count; member in struct:_sema_impl
/illumos-gate/usr/src/uts/common/sharefs/
H A Dsharetab.h61 uint_t s_count; member in struct:sharetab
/illumos-gate/usr/src/uts/common/os/
H A Dsemaphore.c102 ((sema_impl_t *)sp)->s_count = count;
233 ASSERT(s->s_count >= 0);
234 while (s->s_count == 0) {
245 s->s_count--;
272 ASSERT(s->s_count >= 0);
273 while (s->s_count == 0) {
297 if ((sq != NULL) && (s->s_count > 0)) {
320 s->s_count--;
343 s->s_count++;
379 if (s->s_count >
[all...]
H A Ddriver_lyr.c1286 * increment the common snode s_count.
1289 * are two ways that s_count can be decremented.
1293 * s_count in the common snode. if we don't increment
1294 * s_count here then this could cause spec_close() to
1301 * s_count. if we dont't increment s_count here then this
1307 ASSERT(csp->s_count >= 1);
1308 csp->s_count++;
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c1988 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
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dgentty.c242 ASSERT(csp->s_count > 1);
243 csp->s_count--;
H A Dzcons.c819 ++slave_snodep->s_count;
876 --slave_snodep->s_count;
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dsnode.h93 int s_count; /* count of opened references */ member in struct:snode
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c158 atomic_dec_32(&sht->s_count);
302 atomic_inc_32(&sht->s_count);
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c179 sp->s_count = 0;
247 sp->s_count = 0;
491 * get their s_count fields bumped up on opens.
497 count = sp->s_count + sp->s_mapcnt;
559 sp->s_count = 0;
605 sp->s_count = 0;
893 csp->s_count++;
H A Dspecvnops.c154 csp->s_count++; \
160 csp->s_count--; \
161 ASSERT((csp->s_count > 0) || (csp->s_vnode->v_stream == NULL)); \
269 csp->s_count++; /* one more open reference : SN_HOLD */
357 if (csp->s_count == 0) {
741 csp->s_count--; /* decrement open count : SN_RELE */
742 if ((csp->s_count == 0) && /* no outstanding open */
915 csp->s_count--; /* one fewer open reference : SN_RELE */
932 * s_count on the common vnode.
934 if ((csp->s_count
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/
H A Dspecfs.c156 addr, snode->s_vnode, snode->s_count, snode->s_dev,
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba_types.h402 int s_count; member in struct:usba_serialization_impl

Completed in 110 milliseconds