/illumos-gate/usr/src/uts/common/sys/ |
H A D | semaphore.h | 57 extern void sema_init(ksema_t *, uint32_t, char *, ksema_type_t, void *);
|
/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | semaphore.h | 56 #define sema_init ksema_init macro
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | msgq.c | 48 if (sema_init(&q->q_sema, 0, USYNC_THREAD, NULL) || in queue_calloc()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | sema.c | 43 #pragma weak _sema_init = sema_init 45 sema_init(sema_t *sp, unsigned int count, int type, void *arg __unused) in sema_init() function
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_log.c | 329 sema_init(&newbp->b_sem, 1, NULL, SEMA_DEFAULT, NULL); in push_dirty_bp() 330 sema_init(&newbp->b_io, 0, NULL, SEMA_DEFAULT, NULL); in push_dirty_bp() 457 sema_init(&bp->b_sem, 1, NULL, SEMA_DEFAULT, NULL); in alloc_wrbuf() 458 sema_init(&bp->b_io, 0, NULL, SEMA_DEFAULT, NULL); in alloc_wrbuf() 514 sema_init(&bp->b_sem, 1, NULL, SEMA_DEFAULT, NULL); in alloc_rdbuf() 515 sema_init(&bp->b_io, 0, NULL, SEMA_DEFAULT, NULL); in alloc_rdbuf()
|
/illumos-gate/usr/src/head/ |
H A D | synch.h | 122 int sema_init(sema_t *, unsigned int, int, void *);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bio.c | 1350 sema_init(&bp->b_io, 0, NULL, SEMA_DEFAULT, NULL); in pageio_setup() 1353 sema_init(&bp->b_sem, 0, NULL, SEMA_DEFAULT, NULL); in pageio_setup() 1600 sema_init(&dp->b_sem, 1, NULL, SEMA_DEFAULT, in bio_bhdr_alloc() 1602 sema_init(&dp->b_io, 0, NULL, SEMA_DEFAULT, in bio_bhdr_alloc() 1985 sema_init(&bp->b_sem, 0, NULL, SEMA_DEFAULT, NULL); in bioinit() 1986 sema_init(&bp->b_io, 0, NULL, SEMA_DEFAULT, NULL); in bioinit()
|
H A D | semaphore.c | 102 sema_init(ksema_t *sp, unsigned count, char *name, ksema_type_t type, void *arg) in sema_init() function
|
H A D | aio_subr.c | 109 sema_init(&bp->b_sem, 0, NULL, SEMA_DEFAULT, NULL); in aphysio() 110 sema_init(&bp->b_io, 0, NULL, SEMA_DEFAULT, NULL); in aphysio()
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.c | 417 (void) sema_init(&sema_eventbuf, SE_EVENT_DISPATCH_CNT, in main() 419 (void) sema_init(&sema_dispatch, 0, USYNC_THREAD, NULL); in main() 420 (void) sema_init(&sema_resource, SE_EVENT_DISPATCH_CNT, in main() 1046 (void) sema_init(&ev_comp->client_sema, 0, USYNC_THREAD, NULL); in dispatch()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | dma_engine.c | 89 sema_init(&dmae_stat[chnl].dch_lock, 1, NULL, SEMA_DRIVER, in i_dmae_init()
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd.c | 132 if (sema_init(&signal_sem, 1, USYNC_THREAD, NULL) != 0) in main()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_doorclt.c | 76 sema_init( in iscsi_door_ini()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fsflush.c | 373 sema_init(&fsflush_sema, 0, NULL, SEMA_DEFAULT, NULL); in fsflush()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | events.c | 196 *errp = sema_init(&semaphore, 0, USYNC_THREAD, NULL); in dm_init_event_queue()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_main.c | 80 sema_init(&kctl.kctl_wr_avail_sem, 0, NULL, SEMA_DRIVER, NULL); in kctl_init()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_frontend.c | 1162 (void) sema_init(&common_sema, frontend_cfg_g.common_worker_threads, in _nscd_setup_server() 1458 (void) sema_init(sema, j, USYNC_THREAD, 0); in _nscd_init_cache_sema()
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.c | 151 (void) sema_init(&common_sema, COMMON_THREADS, USYNC_THREAD, 0); in initialize_lookup_clearance() 152 (void) sema_init(&ldap_sema, TABLE_THREADS, USYNC_THREAD, 0); in initialize_lookup_clearance()
|
/illumos-gate/usr/src/lib/libpthread/common/ |
H A D | mapfile-vers | 213 sema_init { TYPE = FUNCTION };
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_bmap.c | 1269 sema_init(&bp->b_sem, 0, NULL, SEMA_DEFAULT, NULL); in ud_zero_it() 1270 sema_init(&bp->b_io, 0, NULL, SEMA_DEFAULT, NULL); in ud_zero_it()
|
/illumos-gate/usr/src/lib/libthread/common/ |
H A D | mapfile-vers | 273 sema_init { TYPE = FUNCTION };
|
/illumos-gate/usr/src/lib/c_synonyms/ |
H A D | syn_common | 762 sema_init
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 2052 if (sema_init(&shstate->sem, 0, USYNC_PROCESS, NULL) != 0) { in main() 2218 if (sema_init(&scratch_sem, 0, USYNC_THREAD, NULL) == -1) { in main()
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_vnops.c | 928 sema_init(&fio_done[count], 0, NULL, in hsfs_getpage_ra() 1307 sema_init(&fio_done[count], 0, NULL, in hsfs_getapage()
|