Home
last modified time | relevance | path

Searched refs:sema (Results 1 – 25 of 25) sorted by relevance

/titanic_50/usr/src/cmd/nscd/
H A Dnscd_frontend.h83 int _nscd_get_clearance(sema_t *sema);
84 int _nscd_release_clearance(sema_t *sema);
85 void _nscd_init_cache_sema(sema_t *sema, char *cache_name);
H A Dnscd_frontend.c135 _nscd_get_clearance(sema_t *sema) { in _nscd_get_clearance() argument
141 if (sema_trywait(sema) == 0) { in _nscd_get_clearance()
154 _nscd_release_clearance(sema_t *sema) { in _nscd_release_clearance() argument
163 (void) sema_post(sema); in _nscd_release_clearance()
1437 _nscd_init_cache_sema(sema_t *sema, char *cache_name) in _nscd_init_cache_sema() argument
1451 (void) sema_init(sema, j, USYNC_THREAD, 0); in _nscd_init_cache_sema()
/titanic_50/usr/src/lib/libc/port/threads/
H A Dtdb_agent.c466 tssp->un.sema.sema_max_count = sp->count; in tdb_sema_stats()
467 tssp->un.sema.sema_min_count = sp->count; in tdb_sema_stats()
469 return (&tssp->un.sema); in tdb_sema_stats()
/titanic_50/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c759 while (sema_tryp(&(info->sema[count])) == 0) { in hsfs_ra_task()
761 sema_p(&(info->sema[count])); in hsfs_ra_task()
765 sema_destroy(&(info->sema[count])); in hsfs_ra_task()
776 kmem_free(info->sema, info->bufcnt * sizeof (ksema_t)); in hsfs_ra_task()
1025 hsio->sema = &fio_done[count]; in hsfs_getpage_ra()
1048 info->sema = fio_done; in hsfs_getpage_ra()
1412 hsio->sema = &fio_done[count]; in hsfs_getapage()
2280 prev->contig_chain->sema = tio->sema; in hsched_invoke_strategy()
2313 sema_v(nio->sema); in hsched_invoke_strategy()
2328 sema_v(nio->sema); in hsched_invoke_strategy()
[all …]
/titanic_50/usr/src/uts/common/sys/fs/
H A Dhsfs_node.h190 ksema_t *sema; /* Completion flag */ member
204 ksema_t *sema; /* Semaphores used in the bufs */ member
/titanic_50/usr/src/uts/common/sys/
H A Dsysinfo.h99 uint_t sema; /* semaphore ops count (semop() calls) */ member
225 uint64_t sema; /* semaphore ops count (semop()) */ member
/titanic_50/usr/src/lib/libfakekernel/
H A DMakefile.com33 sema.o \
/titanic_50/usr/src/lib/libc/inc/
H A Dtdb_agent.h147 tdb_sema_stats_t sema; member
/titanic_50/usr/src/cmd/sa/
H A Dsa.h122 uint64_t sema; member
H A Dsar.c947 (float)xx->csi.sema / sec_diff); in prt_m_opt()
/titanic_50/usr/src/lib/libc_db/common/
H A Dthread_db.c2853 td_sema_stats_t *ssp = &ss_p->ss_un.sema; in __td_sync_get_stats()
2858 sync_stats.un.sema.sema_wait; in __td_sync_get_stats()
2860 sync_stats.un.sema.sema_wait_sleep; in __td_sync_get_stats()
2862 sync_stats.un.sema.sema_wait_sleep_time; in __td_sync_get_stats()
2864 sync_stats.un.sema.sema_trywait; in __td_sync_get_stats()
2866 sync_stats.un.sema.sema_trywait_fail; in __td_sync_get_stats()
2868 sync_stats.un.sema.sema_post; in __td_sync_get_stats()
2870 sync_stats.un.sema.sema_max_count; in __td_sync_get_stats()
2872 sync_stats.un.sema.sema_min_count; in __td_sync_get_stats()
/titanic_50/usr/src/uts/sun4u/starcat/io/
H A Dmboxsc.c1728 uint32_t sema; in mboxsc_lock_flags() local
1754 ((error = iosram_sema_acquire(&sema)) == 0)) { in mboxsc_lock_flags()
1774 if (IOSRAM_SEMA_GET_IDX(sema) != IOSRAM_SEMA_SMS_IDX) { in mboxsc_lock_flags()
1778 sema); in mboxsc_lock_flags()
/titanic_50/usr/src/head/
H A Dthread_db.h365 td_sema_stats_t sema; member
/titanic_50/usr/src/uts/common/os/
H A Dmodsysfile.c101 ksema_t sema; member
1986 sema_p(&pltp->sema); in hwc_parse()
2013 sema_v(&pltp->sema); in hwc_parse_thread()
2035 sema_init(&pltp->sema, 0, NULL, SEMA_DEFAULT, NULL); in hwc_parse_mtalloc()
2045 sema_destroy(&pltp->sema); in hwc_parse_mtfree()
H A Dcpu.c214 kstat_named_t sema; member
3245 csskd->sema.value.ui64 = css->sema; in cpu_sys_stats_ks_update()
3383 cso->cpu_sysinfo.sema = CPU_STATS(cp, sys.sema); in cpu_stat_ks_update()
H A Dmodctl.c108 ksema_t sema; member
2639 sema_v(&ltp->sema); in modload_thread()
3416 sema_init(&lt.sema, 0, NULL, SEMA_DEFAULT, NULL); in mod_load()
3423 sema_p(&lt.sema); in mod_load()
3425 sema_destroy(&lt.sema); in mod_load()
/titanic_50/usr/src/lib/libc/amd64/
H A DMakefile837 sema.o \
1143 sema.o \
/titanic_50/usr/src/lib/libc/sparcv9/
H A DMakefile.com855 sema.o \
1164 sema.o \
/titanic_50/usr/src/lib/libc/i386/
H A DMakefile.com881 sema.o \
1207 sema.o \
/titanic_50/usr/src/uts/common/krtld/
H A Dkobj.c195 ksema_t sema; member
3537 sema_p(&ltp->sema); in kobj_open()
3597 sema_v(&ltp->sema); in kobjopen_thread()
3616 sema_init(&ltp->sema, 0, NULL, SEMA_DEFAULT, NULL); in kobjopen_alloc()
3626 sema_destroy(&ltp->sema); in kobjopen_free()
/titanic_50/usr/src/lib/libc/sparc/
H A DMakefile.com909 sema.o \
1237 sema.o \
/titanic_50/usr/src/cmd/truss/
H A Dexpound.c596 lwp_sema_t sema; in show_sema() local
598 if (Pread(Proc, &sema, sizeof (sema), offset) == sizeof (sema)) { in show_sema()
601 synch_type(pri, sema.sema_type), in show_sema()
602 sema.sema_count); in show_sema()
/titanic_50/usr/src/uts/common/syscall/
H A Dsem.c880 CPU_STATS_ADDQ(CPU, sys, sema, 1); /* bump semaphore op count */ in semop()
/titanic_50/usr/src/cmd/stat/kstat/
H A Dkstat.c949 SAVE_UINT32(ksi, sysinfo, sema); in save_cpu_stat()
/titanic_50/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/
H A DKstat.xs237 SAVE_UINT32(self, sysinfop, sema); in save_cpu_stat()