/titanic_50/usr/src/head/ |
H A D | synch.h | 57 } 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 D | sem.c | 150 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 D | sema.c | 39 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 D | tdb_agent.c | 454 tdb_sema_stats(sema_t *sp) in tdb_sema_stats()
|
/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 | cache.h | 292 sema_t throttle_sema; /* throttle lookups */ 293 sema_t revalidate_sema; /* revalidation threads */
|
H A D | nscd_frontend.c | 74 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 D | syseventd.h | 55 sema_t *completion_sema; 85 sema_t client_sema; /* Client completion */
|
H A D | syseventd.c | 111 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 D | barrier.h | 46 sema_t bar_sem; /* where everyone waits */
|
/titanic_50/usr/src/cmd/isns/isnsd/ |
H A D | isns_msgq.h | 74 sema_t q_sema;
|
/titanic_50/usr/src/lib/libc/inc/ |
H A D | tdb_agent.h | 186 extern tdb_sema_stats_t *tdb_sema_stats(sema_t *);
|
/titanic_50/usr/src/cmd/hotplugd/ |
H A D | hotplugd.c | 75 static sema_t signal_sem;
|
/titanic_50/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.c | 140 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 D | events.c | 53 static sema_t semaphore;
|
/titanic_50/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 130 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 D | in.rarpd.c | 113 static sema_t delay_sema;
|
/titanic_50/usr/src/lib/libc_db/common/ |
H A D | thread_db.c | 46 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 D | smb_share.c | 227 static sema_t smb_proc_sem = DEFAULTSEMA;
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_script.c | 164 static sema_t script_process_sema;
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 126 static sema_t dev_sema;
|