/titanic_50/usr/src/head/ |
H A D | synch.h | 149 {{0, 0, 0, {USYNC_PROCESS}, MUTEX_MAGIC}, \ 163 {{{0, 0, 0, 0}, USYNC_PROCESS, COND_MAGIC}, 0} 167 {0, USYNC_PROCESS, SEMA_MAGIC, {0, 0, 0}, {0, 0}} 171 {0, USYNC_PROCESS, RWL_MAGIC, SHAREDMUTEX, SHAREDCV, SHAREDCV}
|
/titanic_50/usr/src/lib/libc/port/threads/ |
H A D | sema.c | 51 if ((type != USYNC_THREAD && type != USYNC_PROCESS) || in sema_init() 117 if (lsp->type == USYNC_PROCESS) { /* kernel-level */ in sema_wait_impl() 244 if (lsp->type == USYNC_PROCESS) { /* kernel-level */ in sema_trywait() 311 if (lsp->type == USYNC_PROCESS) { /* kernel-level */ in sema_post()
|
H A D | synch.c | 143 type |= (USYNC_PROCESS | LOCK_ROBUST); in mutex_init() 144 basetype = USYNC_PROCESS; in mutex_init() 149 if ((basetype != USYNC_THREAD && basetype != USYNC_PROCESS) || in mutex_init() 179 if (basetype == USYNC_PROCESS) in mutex_init() 1016 if (mtype & USYNC_PROCESS) { in mutex_lock_kernel() 1075 if (mtype & USYNC_PROCESS) { in mutex_trylock_kernel() 1259 ASSERT(!(mp->mutex_type & USYNC_PROCESS)); in mutex_trylock_adaptive() 1454 ASSERT(mp->mutex_type & USYNC_PROCESS); in mutex_trylock_process() 2091 if ((mtype & (USYNC_PROCESS | LOCK_ROBUST)) in mutex_lock_internal() 2092 == (USYNC_PROCESS | LOCK_ROBUST)) in mutex_lock_internal() [all …]
|
H A D | rwlock.c | 206 if (type != USYNC_THREAD && type != USYNC_PROCESS) in rwlock_init() 746 else if (rwlp->rwlock_type == USYNC_PROCESS) /* kernel-level */ in rw_rdlock_impl() 843 else if (rwlp->rwlock_type == USYNC_PROCESS) /* kernel-level */ in rw_wrlock_impl() 851 if (rwlp->rwlock_type == USYNC_PROCESS) in rw_wrlock_impl() 943 else if (rwlp->rwlock_type == USYNC_PROCESS) /* kernel-level */ in rw_tryrdlock() 982 else if (rwlp->rwlock_type == USYNC_PROCESS) /* kernel-level */ in rw_trywrlock() 989 if (rwlp->rwlock_type == USYNC_PROCESS) in rw_trywrlock() 1086 } else if (rwlp->rwlock_type == USYNC_PROCESS) { in rw_unlock()
|
H A D | assfail.c | 235 else if (!(mcopy.mutex_type & USYNC_PROCESS)) { in lock_error() 299 process = (rcopy.rwlock_type & USYNC_PROCESS); in rwlock_error()
|
/titanic_50/usr/src/lib/libc/port/sys/ |
H A D | lwp.c | 57 sp->type = USYNC_PROCESS; in _lwp_sema_init()
|
/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() 251 pshared ? USYNC_PROCESS : USYNC_THREAD, NULL)) != 0) { in sem_init()
|
H A D | mqueue.c | 193 USYNC_PROCESS | LOCK_ROBUST, NULL); in mq_init()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | synch.h | 132 #define USYNC_PROCESS 0x01 /* shared by processes */ macro
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | lwp_sobj.c | 351 (ent->lwpchan_type & (USYNC_PROCESS | LOCK_ROBUST)) in lwpchan_destroy_cache() 352 == (USYNC_PROCESS | LOCK_ROBUST)) in lwpchan_destroy_cache() 491 if (!(type & USYNC_PROCESS)) { in get_lwpchan() 1206 (type & USYNC_PROCESS)? p->p_pid : 0); in lwp_mutex_timedlock() 1334 set_owner_pid(lp, owner, (type & USYNC_PROCESS)? p->p_pid : 0); in lwp_mutex_timedlock() 2413 if ((mtype != USYNC_PROCESS) || (type != USYNC_PROCESS)) { in lwp_rwlock_lock() 2732 if (type != USYNC_PROCESS) { in lwp_rwlock_unlock() 2872 if ((ent->lwpchan_type & (USYNC_PROCESS | LOCK_ROBUST)) in lwp_mutex_cleanup() 2873 != (USYNC_PROCESS | LOCK_ROBUST)) in lwp_mutex_cleanup() 2982 if ((type & (USYNC_PROCESS|LOCK_ROBUST)) in lwp_mutex_register() [all …]
|
/titanic_50/usr/src/cmd/ypcmd/shared/ |
H A D | lockmap.c | 135 USYNC_PROCESS | LOCK_ROBUST, 0)) { in init_locks_mem()
|
/titanic_50/usr/src/lib/libnisdb/yptol/ |
H A D | lock_update.c | 79 USYNC_PROCESS | LOCK_ROBUST, 0)) != 0) { in init_update_locks_mem()
|
/titanic_50/usr/src/lib/libc_db/common/ |
H A D | thread_db.c | 2526 (generic_so.lock.mutex_type & USYNC_PROCESS); in sync_get_info_common() 2536 if (si_p->si_shared_type & USYNC_PROCESS) in sync_get_info_common() 2546 (generic_so.condition.cond_type & USYNC_PROCESS); in sync_get_info_common() 2561 (generic_so.semaphore.type & USYNC_PROCESS); in sync_get_info_common() 2578 (generic_so.rwlock.rwlock_type & USYNC_PROCESS); in sync_get_info_common() 2588 if (si_p->si_shared_type & USYNC_PROCESS) in sync_get_info_common()
|
/titanic_50/usr/src/lib/libuuid/common/ |
H A D | uuid.c | 275 (void) mutex_init(&data->lock, USYNC_PROCESS|LOCK_ROBUST, 0); in map_state()
|
/titanic_50/usr/src/cmd/avs/sdbc/ |
H A D | sd_diag.c | 702 (void) mutex_init(&ERRMUTEX, USYNC_PROCESS, NULL); in init_shm()
|
/titanic_50/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 2027 if (sema_init(&shstate->sem, 0, USYNC_PROCESS, NULL) != 0) { in main()
|
/titanic_50/usr/src/cmd/truss/ |
H A D | main.c | 584 i = sharedmem? USYNC_PROCESS : USYNC_THREAD; in main()
|
H A D | expound.c | 534 (USYNC_PROCESS | LOCK_ERRORCHECK | LOCK_RECURSIVE | \ 544 if (type & USYNC_PROCESS) in synch_type()
|