Home
last modified time | relevance | path

Searched refs:s_count (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dsemaphore.c104 ((sema_impl_t *)sp)->s_count = count; in sema_init()
239 ASSERT(s->s_count >= 0); in sema_p()
240 while (s->s_count == 0) { in sema_p()
247 s->s_count--; in sema_p()
274 ASSERT(s->s_count >= 0); in sema_p_sig()
275 while (s->s_count == 0) { in sema_p_sig()
322 s->s_count--; in sema_p_sig()
345 s->s_count++; in sema_v()
385 if (s->s_count > 0) { in sema_tryp()
386 s->s_count--; in sema_tryp()
[all …]
H A Ddriver_lyr.c1348 VERIFY(csp->s_count >= 1); in ldi_mlink_fp()
1349 csp->s_count++; in ldi_mlink_fp()
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c1989 ASSERT(impl_tokenp->s_count == 0); in usb_fini_serialization()
2035 impl_tokenp->s_count, (void *)impl_tokenp->s_thread, in usb_serialize_access()
2049 while (impl_tokenp->s_count != 0) { in usb_serialize_access()
2090 impl_tokenp->s_count++; in usb_serialize_access()
2092 ASSERT(!(impl_tokenp->s_count > 1 && in usb_serialize_access()
2117 impl_tokenp->s_count, (void *)curthread); in usb_try_serialize_access()
2128 impl_tokenp->s_count++; in usb_try_serialize_access()
2142 impl_tokenp->s_count, (void *)impl_tokenp->s_thread); in usb_try_serialize_access()
2161 impl_tokenp->s_count, (void *)curthread); in usb_release_access()
2163 ASSERT(impl_tokenp->s_count > 0); in usb_release_access()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dsema_impl.h57 int s_count; member
/illumos-gate/usr/src/uts/common/sharefs/
H A Dsharetab.h61 uint_t s_count; member
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c180 sp->s_count = 0; in specvp()
248 sp->s_count = 0; in makespecvp()
503 count = sp->s_count + sp->s_mapcnt; in spec_devi_open_count()
565 sp->s_count = 0; in get_cvp()
611 sp->s_count = 0; in commonvp()
899 csp->s_count++; in makectty()
H A Dspecvnops.c156 csp->s_count++; \
162 csp->s_count--; \
163 ASSERT((csp->s_count > 0) || (csp->s_vnode->v_stream == NULL)); \
271 csp->s_count++; /* one more open reference : SN_HOLD */ in spec_lockcsp()
359 if (csp->s_count == 0) { in spec_size()
744 csp->s_count--; /* decrement open count : SN_RELE */ in spec_open()
745 if ((csp->s_count == 0) && /* no outstanding open */ in spec_open()
918 csp->s_count--; /* one fewer open reference : SN_RELE */ in spec_close()
937 if ((csp->s_count == 0) && (csp->s_mapcnt == 0)) { in spec_close()
2536 if (csp->s_count == 0) { in spec_delmap()
/illumos-gate/usr/src/uts/common/io/
H A Dgentty.c242 ASSERT(csp->s_count > 1); in syopen()
243 csp->s_count--; in syopen()
H A Dzcons.c819 ++slave_snodep->s_count; in zc_wput()
876 --slave_snodep->s_count; in zc_wput()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dsnode.h93 int s_count; /* count of opened references */ member
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c148 atomic_dec_32(&sht->s_count); in sharefs_remove()
271 atomic_inc_32(&sht->s_count); in sharefs_add()
/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/
H A Dspecfs.c154 addr, snode->s_vnode, snode->s_count, snode->s_dev, in snode_cb()
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba_types.h441 int s_count; member
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.no_structs405 …r_block)->s_iflags, (struct super_block)->s_magic, (struct super_block)->s_count, (struct super_bl…
416 …r_block)->s_iflags, (struct super_block)->s_magic, (struct super_block)->s_count, (struct super_bl…
459 …r_block)->s_iflags, (struct super_block)->s_magic, (struct super_block)->s_count, (struct super_bl…
510 …per_block)->s_magic, (struct atomic64_t)->counter, (struct super_block)->s_count, (struct super_bl…
554 … raw_spinlock)->owner, (struct lockdep_map)->name, (struct super_block)->s_count, (struct super_bl…
587 … raw_spinlock)->owner, (struct lockdep_map)->name, (struct super_block)->s_count, (struct super_bl…
592 … raw_spinlock)->owner, (struct lockdep_map)->name, (struct super_block)->s_count, (struct super_bl…