Searched refs:sema_t (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/tools/ctf/cvt/
H A Dbarrier.h46 sema_t bar_sem; /* where everyone waits */
/illumos-gate/usr/src/head/
H A Dsynch.h57 } sema_t; typedef in typeref:struct:_sema
122 int sema_init(sema_t *, unsigned int, int, void *);
123 int sema_destroy(sema_t *);
124 int sema_wait(sema_t *);
125 int sema_timedwait(sema_t *, const timespec_t *);
126 int sema_reltimedwait(sema_t *, const timespec_t *);
127 int sema_post(sema_t *);
128 int sema_trywait(sema_t *);
204 int _sema_held(void *); /* sema_t or sem_t */
/illumos-gate/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 Dcache.h292 sema_t throttle_sema; /* throttle lookups */
293 sema_t revalidate_sema; /* revalidation threads */
H A Dnscd_frontend.c74 static sema_t common_sema;
135 _nscd_get_clearance(sema_t *sema) {
154 _nscd_release_clearance(sema_t *sema) {
1437 _nscd_init_cache_sema(sema_t *sema, char *cache_name)
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsem.c150 error = sema_init((sema_t *)sem, value, USYNC_PROCESS, 0);
250 if ((error = sema_init((sema_t *)sem, value,
265 if ((error = sema_destroy((sema_t *)sem)) != 0) {
279 if ((error = sema_post((sema_t *)sem)) != 0) {
293 if ((error = sema_wait((sema_t *)sem)) != 0) {
307 if ((error = sema_timedwait((sema_t *)sem, abstime)) != 0) {
323 if ((error = sema_reltimedwait((sema_t *)sem, reltime)) != 0) {
339 if ((error = sema_trywait((sema_t *)sem)) != 0) {
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.h55 sema_t *completion_sema;
85 sema_t client_sema; /* Client completion */
H A Dsyseventd.c111 static sema_t sema_eventbuf, sema_dispatch, sema_resource;
820 sema_t *completion_sema)
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsema.c39 sema_held(sema_t *sp)
47 sema_init(sema_t *sp, unsigned int count, int type, void *arg)
75 sema_destroy(sema_t *sp)
83 sema_wait_impl(sema_t *sp, timespec_t *tsp)
203 sema_wait(sema_t *sp)
210 sema_reltimedwait(sema_t *sp, const timespec_t *reltime)
219 sema_timedwait(sema_t *sp, const timespec_t *abstime)
230 sema_trywait(sema_t *sp)
297 sema_post(sema_t *sp)
H A Dtdb_agent.c454 tdb_sema_stats(sema_t *sp)
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Disns_msgq.h74 sema_t q_sema;
/illumos-gate/usr/src/lib/libc/inc/
H A Dtdb_agent.h186 extern tdb_sema_stats_t *tdb_sema_stats(sema_t *);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c53 static sema_t semaphore;
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd.c75 static sema_t signal_sem;
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c140 static sema_t common_sema;
141 static sema_t ldap_sema;
157 sema_t *table_sema = NULL;
191 sema_t *table_sema = NULL;
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c130 static sema_t scratch_sem; /* for scratch zones */
1842 sema_t sem;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c113 static sema_t delay_sema;
/illumos-gate/usr/src/lib/libc_db/common/
H A Dthread_db.c46 sema_t semaphore;
2856 ss_p->ss_info.si_size = sizeof (sema_t);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c164 static sema_t script_process_sema;
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_share.c227 static sema_t smb_proc_sem = DEFAULTSEMA;
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c127 static sema_t dev_sema;

Completed in 147 milliseconds