/titanic_50/usr/src/cmd/nscd/ |
H A D | nscd_frontend.h | 83 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 D | nscd_frontend.c | 135 _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 D | tdb_agent.c | 466 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 D | hsfs_vnops.c | 759 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 D | hsfs_node.h | 190 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 D | sysinfo.h | 99 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 D | Makefile.com | 33 sema.o \
|
/titanic_50/usr/src/lib/libc/inc/ |
H A D | tdb_agent.h | 147 tdb_sema_stats_t sema; member
|
/titanic_50/usr/src/cmd/sa/ |
H A D | sa.h | 122 uint64_t sema; member
|
H A D | sar.c | 947 (float)xx->csi.sema / sec_diff); in prt_m_opt()
|
/titanic_50/usr/src/lib/libc_db/common/ |
H A D | thread_db.c | 2853 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 D | mboxsc.c | 1728 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 D | thread_db.h | 365 td_sema_stats_t sema; member
|
/titanic_50/usr/src/uts/common/os/ |
H A D | modsysfile.c | 101 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 D | cpu.c | 214 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 D | modctl.c | 108 ksema_t sema; member 2639 sema_v(<p->sema); in modload_thread() 3416 sema_init(<.sema, 0, NULL, SEMA_DEFAULT, NULL); in mod_load() 3423 sema_p(<.sema); in mod_load() 3425 sema_destroy(<.sema); in mod_load()
|
/titanic_50/usr/src/lib/libc/amd64/ |
H A D | Makefile | 837 sema.o \ 1143 sema.o \
|
/titanic_50/usr/src/lib/libc/sparcv9/ |
H A D | Makefile.com | 855 sema.o \ 1164 sema.o \
|
/titanic_50/usr/src/lib/libc/i386/ |
H A D | Makefile.com | 881 sema.o \ 1207 sema.o \
|
/titanic_50/usr/src/uts/common/krtld/ |
H A D | kobj.c | 195 ksema_t sema; member 3537 sema_p(<p->sema); in kobj_open() 3597 sema_v(<p->sema); in kobjopen_thread() 3616 sema_init(<p->sema, 0, NULL, SEMA_DEFAULT, NULL); in kobjopen_alloc() 3626 sema_destroy(<p->sema); in kobjopen_free()
|
/titanic_50/usr/src/lib/libc/sparc/ |
H A D | Makefile.com | 909 sema.o \ 1237 sema.o \
|
/titanic_50/usr/src/cmd/truss/ |
H A D | expound.c | 596 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 D | sem.c | 880 CPU_STATS_ADDQ(CPU, sys, sema, 1); /* bump semaphore op count */ in semop()
|
/titanic_50/usr/src/cmd/stat/kstat/ |
H A D | kstat.c | 949 SAVE_UINT32(ksi, sysinfo, sema); in save_cpu_stat()
|
/titanic_50/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/ |
H A D | Kstat.xs | 237 SAVE_UINT32(self, sysinfop, sema); in save_cpu_stat()
|