Home
last modified time | relevance | path

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

/titanic_50/usr/src/head/
H A Dsynch.h57 } sema_t; typedef
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 *);
/titanic_50/usr/src/lib/libc/port/rt/
H A Dsem.c150 error = sema_init((sema_t *)sem, value, USYNC_PROCESS, 0); in sem_open()
250 if ((error = sema_init((sema_t *)sem, value, in sem_init()
265 if ((error = sema_destroy((sema_t *)sem)) != 0) { in sem_destroy()
279 if ((error = sema_post((sema_t *)sem)) != 0) { in sem_post()
293 if ((error = sema_wait((sema_t *)sem)) != 0) { in sem_wait()
307 if ((error = sema_timedwait((sema_t *)sem, abstime)) != 0) { in sem_timedwait()
323 if ((error = sema_reltimedwait((sema_t *)sem, reltime)) != 0) { in sem_reltimedwait_np()
339 if ((error = sema_trywait((sema_t *)sem)) != 0) { in sem_trywait()
/titanic_50/usr/src/lib/libc/port/threads/
H A Dsema.c39 sema_held(sema_t *sp) in sema_held()
47 sema_init(sema_t *sp, unsigned int count, int type, void *arg) in sema_init()
75 sema_destroy(sema_t *sp) in sema_destroy()
83 sema_wait_impl(sema_t *sp, timespec_t *tsp) in sema_wait_impl()
203 sema_wait(sema_t *sp) in sema_wait()
210 sema_reltimedwait(sema_t *sp, const timespec_t *reltime) in sema_reltimedwait()
219 sema_timedwait(sema_t *sp, const timespec_t *abstime) in sema_timedwait()
230 sema_trywait(sema_t *sp) in sema_trywait()
297 sema_post(sema_t *sp) in sema_post()
H A Dtdb_agent.c454 tdb_sema_stats(sema_t *sp) in tdb_sema_stats()
/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 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) { in _nscd_get_clearance()
154 _nscd_release_clearance(sema_t *sema) { in _nscd_release_clearance()
1437 _nscd_init_cache_sema(sema_t *sema, char *cache_name) in _nscd_init_cache_sema()
/titanic_50/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) in client_deliver_event()
/titanic_50/usr/src/tools/ctf/cvt/
H A Dbarrier.h46 sema_t bar_sem; /* where everyone waits */
/titanic_50/usr/src/cmd/isns/isnsd/
H A Disns_msgq.h74 sema_t q_sema;
/titanic_50/usr/src/lib/libc/inc/
H A Dtdb_agent.h186 extern tdb_sema_stats_t *tdb_sema_stats(sema_t *);
/titanic_50/usr/src/cmd/hotplugd/
H A Dhotplugd.c75 static sema_t signal_sem;
/titanic_50/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; in get_clearance()
191 sema_t *table_sema = NULL; in release_clearance()
/titanic_50/usr/src/lib/libdiskmgt/common/
H A Devents.c53 static sema_t semaphore;
/titanic_50/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c130 static sema_t scratch_sem; /* for scratch zones */
1842 sema_t sem; in main()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c113 static sema_t delay_sema;
/titanic_50/usr/src/lib/libc_db/common/
H A Dthread_db.c46 sema_t semaphore;
2856 ss_p->ss_info.si_size = sizeof (sema_t); in __td_sync_get_stats()
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_share.c227 static sema_t smb_proc_sem = DEFAULTSEMA;
/titanic_50/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c164 static sema_t script_process_sema;
/titanic_50/usr/src/cmd/devfsadm/
H A Ddevfsadm.c126 static sema_t dev_sema;