Home
last modified time | relevance | path

Searched refs:lwp_mutex_t (Results 1 – 20 of 20) sorted by relevance

/titanic_41/usr/src/head/
H A Dsynch.h70 typedef lwp_mutex_t mutex_t;
90 int _lwp_mutex_lock(lwp_mutex_t *);
91 int _lwp_mutex_unlock(lwp_mutex_t *);
92 int _lwp_mutex_trylock(lwp_mutex_t *);
93 int _lwp_cond_wait(lwp_cond_t *, lwp_mutex_t *);
94 int _lwp_cond_timedwait(lwp_cond_t *, lwp_mutex_t *, timespec_t *);
95 int _lwp_cond_reltimedwait(lwp_cond_t *, lwp_mutex_t *, timespec_t *);
/titanic_41/usr/src/lib/libfakekernel/common/
H A Dmutex.c27 int _lwp_mutex_lock(lwp_mutex_t *);
28 int _lwp_mutex_unlock(lwp_mutex_t *);
29 int _lwp_mutex_trylock(lwp_mutex_t *);
34 static const lwp_mutex_t default_mutex =
H A Dcond.c28 int _lwp_cond_wait(lwp_cond_t *, lwp_mutex_t *);
29 int _lwp_cond_timedwait(lwp_cond_t *, lwp_mutex_t *, timespec_t *);
30 int _lwp_cond_reltimedwait(lwp_cond_t *, lwp_mutex_t *, timespec_t *);
/titanic_41/usr/src/cmd/sgs/link_audit/common/
H A Dbindings.h55 lwp_mutex_t bb_lock; /* bucket chain lock */
61 lwp_mutex_t bh_lock;
66 lwp_mutex_t bh_strlock; /* mutex to protect strings */
H A Dbindings.c51 static lwp_mutex_t sharedmutex = SHAREDMUTEX;
91 bt_lock(lwp_mutex_t *lock) in bt_lock()
101 bt_unlock(lwp_mutex_t *lock) in bt_unlock()
217 (void) memcpy(&bhp->bh_lock, &sharedmutex, sizeof (lwp_mutex_t)); in init_locks()
220 sizeof (lwp_mutex_t)); in init_locks()
222 (void) memcpy(&bhp->bh_strlock, &sharedmutex, sizeof (lwp_mutex_t)); in init_locks()
H A Ddumpbind.c53 query_lock(lwp_mutex_t *lock) { in query_lock()
/titanic_41/usr/src/cmd/sgs/include/
H A Dprofile.h50 lwp_mutex_t hd_mutex; /* Provides for process locking */
67 lwp_mutex_t hd_mutex; /* Provides for process locking */
/titanic_41/usr/src/uts/common/sys/
H A Dsynch.h82 } lwp_mutex_t; typedef
122 lwp_mutex_t mutex; /* used with process-shared rwlocks */
H A Dlwp_upimutex_impl.h51 lwp_mutex_t *upi_vaddr; /* virtual address, i.e. user lock ptr */
/titanic_41/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c65 static lwp_mutex_t sharedmutex = SHAREDMUTEX;
68 prof_mutex_init(lwp_mutex_t *mp) in prof_mutex_init()
70 (void) memcpy(mp, &sharedmutex, sizeof (lwp_mutex_t)); in prof_mutex_init()
75 prof_mutex_lock(lwp_mutex_t *mp, sigset_t *oset) in prof_mutex_lock()
327 (void) prof_mutex_init((lwp_mutex_t *)&Hptr->hd_mutex); in profile_open()
/titanic_41/usr/src/lib/libc/sparc/
H A Dgenassym.c46 offsetof(lwp_mutex_t, mutex_lockword)); in main()
/titanic_41/usr/src/lib/libc/i386/
H A Dgenassym.c49 offsetof(lwp_mutex_t, mutex_lockword)); in main()
/titanic_41/usr/src/lib/libc/amd64/
H A Dgenassym.c49 offsetof(lwp_mutex_t, mutex_lockword)); in main()
/titanic_41/usr/src/lib/libfakekernel/common/sys/
H A Dmutex.h61 lwp_mutex_t m_lock;
/titanic_41/usr/src/uts/common/syscall/
H A Dlwp_sobj.c70 static void set_owner_pid(lwp_mutex_t *, uintptr_t, pid_t);
634 lwp_upimutex_owned(lwp_mutex_t *lp, uint8_t type) in lwp_upimutex_owned()
705 lwp_upimutex_lock(lwp_mutex_t *lp, uint8_t type, int try, lwp_timer_t *lwptp) in lwp_upimutex_lock()
971 lwp_upimutex_unlock(lwp_mutex_t *lp, uint8_t type) in lwp_upimutex_unlock()
1028 set_owner_pid(lwp_mutex_t *lp, uintptr_t owner, pid_t pid) in set_owner_pid()
1054 lwp_clear_mutex(lwp_mutex_t *lp, uint16_t lockflg) in lwp_clear_mutex()
1079 lwp_mutex_t *lp; in upi_dead()
1144 lwp_mutex_timedlock(lwp_mutex_t *lp, timespec_t *tsp, uintptr_t owner) in lwp_mutex_timedlock()
1481 lwp_mutex_wakeup(lwp_mutex_t *lp, int release_all) in lwp_mutex_wakeup()
1561 lwp_cond_wait(lwp_cond_t *cv, lwp_mutex_t *mp, timespec_t *tsp, int check_park) in lwp_cond_wait()
[all …]
/titanic_41/usr/src/lib/abi/apptrace/common/
H A Dinterceptlib.c46 static lwp_mutex_t abi_stdio_mutex = DEFAULTMUTEX;
/titanic_41/usr/src/uts/common/os/
H A Dsysent.c232 int lwp_mutex_timedlock(lwp_mutex_t *, timespec_t *, uintptr_t);
233 int lwp_mutex_wakeup(lwp_mutex_t *, int);
234 int lwp_mutex_unlock(lwp_mutex_t *);
235 int lwp_mutex_trylock(lwp_mutex_t *, uintptr_t);
236 int lwp_mutex_register(lwp_mutex_t *, caddr_t);
241 int lwp_cond_wait(lwp_cond_t *, lwp_mutex_t *, timespec_t *, int);
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c517 return (_lwp_mutex_lock((lwp_mutex_t *)mp)); in rt_mutex_lock()
523 return (_lwp_mutex_unlock((lwp_mutex_t *)mp)); in rt_mutex_unlock()
/titanic_41/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c1716 s10_lwp_mutex_timedlock(sysret_t *rval, lwp_mutex_t *lp, timespec_t *tsp) in s10_lwp_mutex_timedlock()
1722 s10_lwp_mutex_trylock(sysret_t *rval, lwp_mutex_t *lp) in s10_lwp_mutex_trylock()
/titanic_41/usr/src/cmd/truss/
H A Dexpound.c570 lwp_mutex_t mutex; in show_mutex()