Home
last modified time | relevance | path

Searched refs:mutex_t (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/titanic_44/usr/src/lib/libnsl/rpc/
H A Dmt_misc.c42 extern mutex_t _ti_userlock;
55 mutex_t authdes_lock; /* protects authdes cache (svcauth_des.c) */
56 mutex_t authnone_lock; /* auth_none.c serialization */
57 mutex_t authsvc_lock; /* protects the Auths list (svc_auth.c) */
58 mutex_t clntraw_lock; /* clnt_raw.c serialization */
59 mutex_t dname_lock; /* domainname and domain_fd (getdname.c) */
61 mutex_t dupreq_lock; /* dupreq variables (svc_dg.c) */
62 mutex_t keyserv_lock; /* protects first_time and hostname */
64 mutex_t libnsl_trace_lock; /* serializes rpc_trace() (rpc_trace.c) */
65 mutex_t loopnconf_lock; /* loopnconf (rpcb_clnt.c) */
[all …]
H A Dfdsync.c55 mutex_t lock[CELLTBLSZ]; /* recursive locks */
58 mutex_t rpc_fd_list_lock = DEFAULTMUTEX; /* protects list manipulation */
62 static mutex_t *search(const void *handle, int fd);
89 mutex_t *mp; in rpc_fd_lock()
110 mutex_t *mp; in rpc_fd_unlock()
156 static mutex_t *
H A Dauth_none.c69 extern mutex_t authnone_lock; in authnone_create()
104 extern mutex_t authnone_lock; in authnone_marshal()
149 extern mutex_t ops_lock; in authnone_ops()
/titanic_44/usr/src/lib/libc/inc/
H A Dthr_uberdata.h298 mutex_t tsdm_lock; /* Lock protecting the data */
303 (sizeof (mutex_t) + 2 * sizeof (uint_t) + sizeof (PFrV *))];
314 mutex_t tsdm_lock; /* Lock protecting the data */
319 (sizeof (mutex_t) + 2 * sizeof (uint_t) + sizeof (caddr32_t))];
333 mutex_t tls_lock; /* Lock protecting the data */
337 (sizeof (mutex_t) + 2 * sizeof (tls_t))];
347 mutex_t tls_lock; /* Lock protecting the data */
351 (sizeof (mutex_t) + 2 * sizeof (tls32_t))];
397 mutex_t q_lock;
451 extern void spin_lock_set(mutex_t *);
[all …]
H A Dmtlib.h40 extern void lmutex_lock(mutex_t *);
41 extern void lmutex_unlock(mutex_t *);
45 extern void sig_mutex_lock(mutex_t *);
46 extern void sig_mutex_unlock(mutex_t *);
47 extern int sig_mutex_trylock(mutex_t *);
48 extern int sig_cond_wait(cond_t *, mutex_t *);
49 extern int sig_cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *);
50 extern void cancel_safe_mutex_lock(mutex_t *);
51 extern void cancel_safe_mutex_unlock(mutex_t *);
52 extern int cancel_safe_mutex_trylock(mutex_t *);
H A Dasyncio.h85 mutex_t lio_mutex; /* list mutex */
235 mutex_t work_qlock1; /* lock for work queue 1 */
251 mutex_t hash_lock;
308 extern mutex_t __aio_initlock; /* makes aio initialization atomic */
311 extern mutex_t __aio_mutex; /* global aio lock */
/titanic_44/usr/src/lib/libumem/common/
H A Dstub_stand.c54 cond_wait(cond_t *cv, mutex_t *mutex) in cond_wait()
82 static mutex_t _mp = DEFAULTMUTEX;
86 mutex_init(mutex_t *mp, int type, void *arg) in mutex_init()
88 (void) memcpy(mp, &_mp, sizeof (mutex_t)); in mutex_init()
94 mutex_destroy(mutex_t *mp) in mutex_destroy()
108 mutex_lock(mutex_t *mp) in mutex_lock()
115 mutex_trylock(mutex_t *mp) in mutex_trylock()
122 mutex_unlock(mutex_t *mp) in mutex_unlock()
H A Dumem_base.h60 extern mutex_t umem_init_lock;
62 extern mutex_t umem_cache_lock;
65 extern mutex_t umem_flags_lock;
67 extern mutex_t umem_update_lock;
H A Dumem_impl.h229 #define UMEM_CPU_PAD (UMEM_CPU_CACHE_SIZE - sizeof (mutex_t) - \
235 mutex_t cc_lock; /* protects this cpu's local cache */
302 mutex_t cache_lock; /* protects slab layer */
321 mutex_t cache_depot_lock; /* protects depot */
333 mutex_t clh_lock;
338 char clh_pad[64 - sizeof (mutex_t) - sizeof (char *) -
343 mutex_t lh_lock;
/titanic_44/usr/src/head/
H A Dsynch.h70 typedef lwp_mutex_t mutex_t; typedef
85 mutex_t mutex; /* used with process-shared rwlocks */
104 int cond_wait(cond_t *, mutex_t *);
105 int cond_timedwait(cond_t *, mutex_t *, const timespec_t *);
106 int cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *);
109 int mutex_init(mutex_t *, int, void *);
110 int mutex_destroy(mutex_t *);
111 int mutex_consistent(mutex_t *);
112 int mutex_lock(mutex_t *);
113 int mutex_trylock(mutex_t *);
[all …]
H A Dapptrace_impl.h58 extern int (*abi_mutex_lock)(mutex_t *);
59 extern int (*abi_mutex_unlock)(mutex_t *);
/titanic_44/usr/src/lib/libc/port/threads/
H A Dplockstat.d32 probe mutex__acquire(mutex_t *mp, int rec, int spincount);
33 probe mutex__release(mutex_t *mp, int rec);
34 probe mutex__spin(mutex_t *mp);
35 probe mutex__spun(mutex_t *mp, int successful, int spincount);
36 probe mutex__block(mutex_t *mp);
37 probe mutex__blocked(mutex_t *mp, int successful);
38 probe mutex__error(mutex_t *mp, int err);
H A Dsynch.c50 mutex_t stall_mutex = DEFAULTMUTEX;
52 static int shared_mutex_held(mutex_t *);
53 static int mutex_queuelock_adaptive(mutex_t *);
54 static void mutex_wakeup_all(mutex_t *);
127 mutex_init(mutex_t *mp, int type, void *arg) in mutex_init()
211 _ceil_mylist_del(mutex_t *mp) in _ceil_mylist_del()
234 _ceil_mylist_add(mutex_t *mp) in _ceil_mylist_add()
413 spin_lock_set(mutex_t *mp) in spin_lock_set()
450 spin_lock_clear(mutex_t *mp) in spin_lock_clear()
981 mutex_lock_kernel(mutex_t *mp, timespec_t *tsp, tdb_mutex_stats_t *msp) in mutex_lock_kernel()
[all …]
H A Dpthr_barrier.c91 mutex_t *mp = (mutex_t *)&barrier->__pthread_barrier_lock; in pthread_barrier_init()
131 mutex_t *mp = (mutex_t *)&barrier->__pthread_barrier_lock; in pthread_barrier_destroy()
146 mutex_t *mp = (mutex_t *)&barrier->__pthread_barrier_lock; in pthread_barrier_wait()
/titanic_44/usr/src/cmd/truss/
H A Dramdata.h175 extern mutex_t truss_lock; /* protects almost everything */
177 extern mutex_t count_lock; /* lock protecting count struct Cp */
202 mutex_t fork_lock; /* protects list of truss pids */
204 char p1[CACHE_LN_SZ - (sizeof (mutex_t) + sizeof (cond_t))];
205 mutex_t ps_mutex0; /* see ipc.c:Ecritical */
206 char p2[CACHE_LN_SZ - sizeof (mutex_t)];
207 mutex_t ps_mutex1; /* see ipc.c:Ecritical */
208 char p3[CACHE_LN_SZ - sizeof (mutex_t)];
/titanic_44/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.h108 mutex_t lock; /* Lock to protect each list head */
133 extern mutex_t crash_lock; /* lock for die and crash variables */
138 extern mutex_t sm_trylock; /* Lock to single thread sm_try */
144 extern mutex_t name_addrlock; /* Locks all entries of name-to-addr table */
150 extern mutex_t merges_lock; /* Lock for in_merges variable */
/titanic_44/usr/src/uts/common/rpc/
H A Dsvc_mt.h108 mutex_t send_mutex; /* for sequencing sends */
126 extern mutex_t svc_thr_mutex;
131 extern mutex_t svc_mutex;
132 extern mutex_t svc_exit_mutex;
/titanic_44/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc_impl.h45 mutex_t mt_cache_lock; /* lock for this data structure */
74 #define PERCPU_PAD (PERCPU_SIZE - sizeof (mutex_t) - \
78 mutex_t mt_parent_lock; /* used for hooking in new caches */
/titanic_44/usr/src/lib/libc/port/sys/
H A Dlwp_cond.c37 _lwp_cond_wait(cond_t *cv, mutex_t *mp) in _lwp_cond_wait()
50 _lwp_cond_reltimedwait(cond_t *cv, mutex_t *mp, timespec_t *relts) in _lwp_cond_reltimedwait()
66 _lwp_cond_timedwait(cond_t *cv, mutex_t *mp, timespec_t *absts) in _lwp_cond_timedwait()
H A Dlwp.c37 _lwp_mutex_lock(mutex_t *mp) in _lwp_mutex_lock()
45 _lwp_mutex_trylock(mutex_t *mp) in _lwp_mutex_trylock()
/titanic_44/usr/src/cmd/vntsd/
H A Dvntsd.h263 mutex_t lock; /* protect the client */
277 mutex_t lock; /* protect console port */
294 mutex_t lock; /* protect group */
316 mutex_t lock; /* protect vntsd */
317 mutex_t tmo_lock; /* protect tmo queue */
/titanic_44/usr/src/lib/libnsl/include/
H A Dmt.h58 extern void sig_mutex_lock(mutex_t *);
59 extern void sig_mutex_unlock(mutex_t *);
/titanic_44/usr/src/cmd/nscd/
H A Dnscd_seqnum.c31 static mutex_t seq_mutex = DEFAULTMUTEX;
33 static mutex_t cookie_mutex = DEFAULTMUTEX;
/titanic_44/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c84 prof_mutex_unlock(mutex_t *mp, sigset_t *oset) in prof_mutex_unlock()
329 (void) prof_mutex_lock((mutex_t *)&Hptr->hd_mutex, &mask); in profile_open()
334 (void) prof_mutex_unlock((mutex_t *)&Hptr-> in profile_open()
359 (void) prof_mutex_unlock((mutex_t *)&Hptr->hd_mutex, &mask); in profile_open()
496 (void) prof_mutex_lock((mutex_t *)&Hptr->hd_mutex, &mask); in plt_cg_interp()
506 (void) prof_mutex_unlock((mutex_t *)&Hptr->hd_mutex, in plt_cg_interp()
585 (mutex_t *)&Hptr-> in plt_cg_interp()
613 (void) prof_mutex_unlock((mutex_t *)&Hptr->hd_mutex, &mask); in plt_cg_interp()
/titanic_44/usr/src/lib/sun_sas/common/
H A Dsun_sas.h110 mutex_t all_hbas_lock;
111 mutex_t open_handles_lock;
112 mutex_t log_file_lock;
272 extern void lock(mutex_t *mp);
273 extern void unlock(mutex_t *mp);

12345678910>>...17