Home
last modified time | relevance | path

Searched refs:USYNC_PROCESS (Results 1 – 18 of 18) sorted by relevance

/titanic_50/usr/src/head/
H A Dsynch.h149 {{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 Dsema.c51 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 Dsynch.c143 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 Drwlock.c206 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 Dassfail.c235 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 Dlwp.c57 sp->type = USYNC_PROCESS; in _lwp_sema_init()
/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()
251 pshared ? USYNC_PROCESS : USYNC_THREAD, NULL)) != 0) { in sem_init()
H A Dmqueue.c193 USYNC_PROCESS | LOCK_ROBUST, NULL); in mq_init()
/titanic_50/usr/src/uts/common/sys/
H A Dsynch.h132 #define USYNC_PROCESS 0x01 /* shared by processes */ macro
/titanic_50/usr/src/uts/common/syscall/
H A Dlwp_sobj.c351 (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 Dlockmap.c135 USYNC_PROCESS | LOCK_ROBUST, 0)) { in init_locks_mem()
/titanic_50/usr/src/lib/libnisdb/yptol/
H A Dlock_update.c79 USYNC_PROCESS | LOCK_ROBUST, 0)) != 0) { in init_update_locks_mem()
/titanic_50/usr/src/lib/libc_db/common/
H A Dthread_db.c2526 (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 Duuid.c275 (void) mutex_init(&data->lock, USYNC_PROCESS|LOCK_ROBUST, 0); in map_state()
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dsd_diag.c702 (void) mutex_init(&ERRMUTEX, USYNC_PROCESS, NULL); in init_shm()
/titanic_50/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c2027 if (sema_init(&shstate->sem, 0, USYNC_PROCESS, NULL) != 0) { in main()
/titanic_50/usr/src/cmd/truss/
H A Dmain.c584 i = sharedmem? USYNC_PROCESS : USYNC_THREAD; in main()
H A Dexpound.c534 (USYNC_PROCESS | LOCK_ERRORCHECK | LOCK_RECURSIVE | \
544 if (type & USYNC_PROCESS) in synch_type()