Home
last modified time | relevance | path

Searched refs:kmutex_t (Results 1 – 25 of 1413) sorted by relevance

12345678910>>...57

/titanic_50/usr/src/uts/common/sys/
H A Dcondvar.h94 extern void cv_wait(kcondvar_t *, kmutex_t *);
95 extern void cv_wait_stop(kcondvar_t *, kmutex_t *, int);
96 extern clock_t cv_timedwait(kcondvar_t *, kmutex_t *, clock_t);
97 extern clock_t cv_timedwait_hires(kcondvar_t *, kmutex_t *, hrtime_t, hrtime_t,
99 extern clock_t cv_reltimedwait(kcondvar_t *, kmutex_t *, clock_t, time_res_t);
100 extern int cv_wait_sig(kcondvar_t *, kmutex_t *);
101 extern clock_t cv_timedwait_sig(kcondvar_t *, kmutex_t *, clock_t);
102 extern int cv_timedwait_sig_hrtime(kcondvar_t *, kmutex_t *, hrtime_t);
103 extern clock_t cv_reltimedwait_sig(kcondvar_t *, kmutex_t *, clock_t,
105 extern int cv_wait_sig_swap(kcondvar_t *, kmutex_t *);
[all …]
H A Dmutex.h69 } kmutex_t; typedef
79 kmutex_t pad_mutex;
81 char pad_pad[64 - sizeof (kmutex_t)];
88 extern void mutex_init(kmutex_t *, char *, kmutex_type_t, void *);
89 extern void mutex_destroy(kmutex_t *);
90 extern void mutex_enter(kmutex_t *);
91 extern int mutex_tryenter(kmutex_t *);
92 extern void mutex_exit(kmutex_t *);
93 extern int mutex_owned(const kmutex_t *);
94 extern struct _kthread *mutex_owner(const kmutex_t *);
H A Dipc_impl.h176 kmutex_t ipct_lock; /* bucket lock */
180 char ipct_pad[64 - sizeof (kmutex_t) - 3 * sizeof (void *)];
186 kmutex_t ipcs_lock; /* lock for (de)allocation, keys */
216 kmutex_t *ipc_lock(ipc_service_t *, int);
217 kmutex_t *ipc_relock(ipc_service_t *, int, kmutex_t *);
218 kmutex_t *ipc_lookup(ipc_service_t *, int, kipc_perm_t **);
224 int ipc_get(ipc_service_t *, key_t, int, kipc_perm_t **, kmutex_t **);
226 kmutex_t *ipc_commit_end(ipc_service_t *, kipc_perm_t *);
/titanic_50/usr/src/lib/libfakekernel/common/sys/
H A Dcondvar.h87 extern void cv_wait(kcondvar_t *, kmutex_t *);
88 extern void cv_wait_stop(kcondvar_t *, kmutex_t *, int);
89 extern clock_t cv_timedwait(kcondvar_t *, kmutex_t *, clock_t);
90 extern clock_t cv_reltimedwait(kcondvar_t *, kmutex_t *, clock_t, time_res_t);
91 extern int cv_wait_sig(kcondvar_t *, kmutex_t *);
92 extern clock_t cv_timedwait_sig(kcondvar_t *, kmutex_t *, clock_t);
93 extern int cv_timedwait_sig_hrtime(kcondvar_t *, kmutex_t *, hrtime_t);
94 extern clock_t cv_reltimedwait_sig(kcondvar_t *, kmutex_t *, clock_t,
96 extern int cv_wait_sig_swap(kcondvar_t *, kmutex_t *);
97 extern int cv_wait_sig_swap_core(kcondvar_t *, kmutex_t *, int *);
[all …]
H A Dmutex.h64 typedef struct _kmutex kmutex_t; typedef
69 kmutex_t pad_mutex;
71 char pad_pad[64 - sizeof (kmutex_t)];
86 extern void kmutex_init(kmutex_t *, char *, kmutex_type_t, void *);
87 extern void kmutex_destroy(kmutex_t *);
89 extern void mutex_enter(kmutex_t *);
90 extern int mutex_tryenter(kmutex_t *);
91 extern void mutex_exit(kmutex_t *);
92 extern int mutex_owned(const kmutex_t *);
94 extern void *mutex_owner(const kmutex_t *);
/titanic_50/usr/src/uts/common/rpc/
H A Dib.h122 kmutex_t buflock; /* lock for this structure */
188 kmutex_t open_hca_lock;
193 kmutex_t listen_lock;
238 kmutex_t inuse_lock; /* protects inuse field */
247 kmutex_t cb_lock;
257 kmutex_t avl_lock;
260 kmutex_t cache_allocation_lock;
283 kmutex_t sendwait_lock;
344 kmutex_t posted_rbufs_lock;
352 kmutex_t send_rbufs_lock;
[all …]
/titanic_50/usr/src/lib/libfakekernel/common/
H A Dcond.c38 static int cv__wait(kcondvar_t *, kmutex_t *, int);
39 static clock_t cv__twait(kcondvar_t *, kmutex_t *, clock_t, int);
71 cv_wait(kcondvar_t *cv, kmutex_t *mp) in cv_wait()
77 cv_wait_sig(kcondvar_t *cv, kmutex_t *mp) in cv_wait_sig()
83 cv__wait(kcondvar_t *cv, kmutex_t *mp, int sigok) in cv__wait()
104 cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime) in cv_timedwait()
113 cv_timedwait_sig(kcondvar_t *cv, kmutex_t *mp, clock_t abstime) in cv_timedwait_sig()
122 cv_reltimedwait(kcondvar_t *cv, kmutex_t *mp, clock_t delta, time_res_t res) in cv_reltimedwait()
130 cv_reltimedwait_sig(kcondvar_t *cv, kmutex_t *mp, clock_t delta, in cv_reltimedwait_sig()
146 cv__twait(kcondvar_t *cv, kmutex_t *mp, clock_t delta, int sigok) in cv__twait()
H A Dmutex.c40 kmutex_init(kmutex_t *mp, char *name, kmutex_type_t typ, void *arg) in kmutex_init()
48 kmutex_destroy(kmutex_t *mp) in kmutex_destroy()
54 mutex_enter(kmutex_t *mp) in mutex_enter()
61 mutex_tryenter(kmutex_t *mp) in mutex_tryenter()
74 mutex_exit(kmutex_t *mp) in mutex_exit()
85 mutex_owner(const kmutex_t *mp) in mutex_owner()
91 mutex_owned(const kmutex_t *mp) in mutex_owned()
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h75 kmutex_t scl_lock;
149 kmutex_t spa_evicting_os_lock; /* Evicting objset list lock */
171 kmutex_t spa_cksum_tmpls_lock;
177 kmutex_t spa_scrub_lock; /* resilver/scrub lock */
187 kmutex_t spa_async_lock; /* protect async state */
202 kmutex_t spa_errlog_lock; /* error log lock */
205 kmutex_t spa_errlist_lock; /* error list/ereport lock */
210 kmutex_t spa_history_lock; /* history lock */
212 kmutex_t spa_props_lock; /* property lock */
221 kmutex_t spa_suspend_lock; /* protects suspend_zio_root */
[all …]
/titanic_50/usr/src/uts/sun4v/sys/
H A Dvsw_ldc.h241 kmutex_t dstate_lock;
256 kmutex_t dlock; /* sync access */
269 kmutex_t txlock; /* protect tx desc alloc */
272 kmutex_t restart_lock; /* protect restart_reqd */
323 kmutex_t ldc_cblock; /* sync callback processing */
324 kmutex_t ldc_txlock; /* sync transmits */
325 kmutex_t ldc_rxlock; /* sync rx */
328 kmutex_t drain_cv_lock;
333 kmutex_t status_lock;
354 kmutex_t tx_thr_lock; /* lock for tx thread */
[all …]
/titanic_50/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs.h114 kmutex_t statlock;
120 kmutex_t wqlock;
122 kmutex_t aqlock;
200 kmutex_t cq_thr_lock;
237 kmutex_t lock; /* iport lock */
239 kmutex_t refcnt_lock; /* refcnt lock */
259 kmutex_t smp_lock;
349 kmutex_t lock;
350 kmutex_t dma_lock;
351 kmutex_t axil_lock;
[all …]
/titanic_50/usr/src/uts/common/vm/
H A Dpage_lock.c59 kmutex_t page_freelock;
89 kmutex_t pio_mutex[PIO_TABLE_SIZE];
149 kmutex_t vph_mutex[VPH_TABLE_SIZE + 2];
244 page_lock(page_t *pp, se_t se, kmutex_t *lock, reclaim_t reclaim) in page_lock()
295 page_lock_es(page_t *pp, se_t se, kmutex_t *lock, reclaim_t reclaim, int es) in page_lock_es()
298 kmutex_t *pse = PAGE_SE_MUTEX(pp); in page_lock_es()
480 kmutex_t *pse = PAGE_SE_MUTEX(pp); in page_lock_clr_exclwanted()
505 kmutex_t *pse = PAGE_SE_MUTEX(pp); in page_try_reclaim_lock()
575 kmutex_t *pse = PAGE_SE_MUTEX(pp); in page_trylock()
616 kmutex_t *pse = PAGE_SE_MUTEX(pp); in page_unlock_nocapture()
[all …]
/titanic_50/usr/src/uts/common/inet/
H A Dtcp_stack.h55 kmutex_t tcps_epriv_port_lock;
84 kmutex_t tcps_iss_key_lock;
103 kmutex_t tcps_ixa_cleanup_lock;
108 kmutex_t tcps_reclaim_lock;
114 kmutex_t tcps_listener_conf_lock;
H A Dip_stack.h167 kmutex_t ips_igmp_timer_lock;
168 kmutex_t ips_mld_timer_lock;
169 kmutex_t ips_ip_mi_lock;
170 kmutex_t ips_ip_addr_avail_lock;
176 kmutex_t ips_capab_taskq_lock;
220 kmutex_t ips_igmp_slowtimeout_lock;
225 kmutex_t ips_mld_slowtimeout_lock;
239 kmutex_t ips_ire_ft_init_lock;
281 kmutex_t ips_ip6_asp_lock; /* protect all the above */
323 kmutex_t ips_ip_g_mrouter_mutex;
[all …]
H A Dkeysock.h59 kmutex_t keystack_param_lock;
63 kmutex_t keystack_list_lock;
70 kmutex_t keystack_consumers_lock;
107 kmutex_t keysock_lock; /* Protects the following. */
139 kmutex_t kc_lock; /* Protects instance. */
/titanic_50/usr/src/uts/common/sys/ib/clients/ibd/
H A Dibd.h577 kmutex_t tx_too_big_mutex;
653 kmutex_t chan_list_mutex;
714 kmutex_t dl_mutex;
764 (64 - (sizeof (kmutex_t) + sizeof (ibd_wqe_t *) + sizeof (uint_t)))
766 kmutex_t rx_post_lock;
794 kmutex_t id_txpost_lock;
805 kmutex_t id_lso_lock;
808 kmutex_t id_scq_poll_lock;
839 kmutex_t id_rcq_poll_lock;
862 kmutex_t id_acache_req_lock;
[all …]
/titanic_50/usr/src/uts/common/sys/crypto/
H A Dsched_impl.h135 kmutex_t sn_lock;
169 kmutex_t an_lock;
265 kmutex_t rt_lock;
281 kmutex_t gs_lock;
297 kmutex_t kc_in_use_lock;
381 kmutex_t kp_lock; /* Creator lock */
403 kmutex_t kc_lock;
430 kmutex_t kn_lock;
466 extern kmutex_t cbuf_list_lock;
473 extern kmutex_t ntfy_list_lock;
/titanic_50/usr/src/uts/common/sys/ib/clients/eoib/
H A Deib_impl.h133 kmutex_t bk_lock;
295 kmutex_t wp_lock;
371 kmutex_t pp_gw_lock;
463 kmutex_t ch_pkey_lock;
467 kmutex_t ch_cep_lock;
471 kmutex_t ch_tx_lock;
478 kmutex_t ch_rx_lock;
483 kmutex_t ch_vhub_lock;
547 kmutex_t tb_lock;
563 kmutex_t up_lock;
[all …]
H A Denx_impl.h159 kmutex_t qe_lock;
206 kmutex_t gw_adv_lock;
319 kmutex_t ti_mcg_lock;
348 kmutex_t ti_gw_lock;
354 kmutex_t ti_child_lock;
360 kmutex_t ti_event_lock;
390 kmutex_t nx_lock;
395 kmutex_t nx_nodeq_lock;
401 kmutex_t nx_busop_lock;
/titanic_50/usr/src/uts/sun4u/serengeti/sys/
H A Dsgcn.h119 kmutex_t sgcn_lock; /* protects sgcn_t (soft state) */
122 kmutex_t sgcn_sbbc_in_lock; /* input data lock */
123 kmutex_t sgcn_sbbc_outspace_lock; /* output data lock */
124 kmutex_t sgcn_sbbc_brk_lock; /* break sequence lock */
/titanic_50/usr/src/uts/common/io/bnxe/
H A Dbnxe.h380 kmutex_t txMutex;
384 kmutex_t freeTxDescMutex;
428 kmutex_t rxMutex;
430 kmutex_t doneRxMutex;
519 kmutex_t workQueueMutex;
606 kmutex_t intrMutex[MAX_RSS_CHAINS + 1];
607 kmutex_t intrFlipMutex[MAX_RSS_CHAINS + 1];
608 kmutex_t sbMutex[MAX_RSS_CHAINS + 1];
609 kmutex_t ethConMutex;
610 kmutex_t mcpMutex;
[all …]
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_thread.h51 kmutex_t lock;
67 kmutex_t lock;
81 kmutex_t get_lock;
85 kmutex_t put_lock;
/titanic_50/usr/src/uts/common/avs/ns/rdc/
H A Drdc_io.h135 kmutex_t lock;
205 kmutex_t net_qlock;
308 kmutex_t lock;
337 kmutex_t aio_lock; /* lock for rdc_anon */
386 kmutex_t id_rlock; /* reserve/release lock */
430 kmutex_t lock;
436 kmutex_t addthrnumlk; /* lock for above */
459 kmutex_t diskqmutex; /* enables/disables/reserves */
492 kmutex_t syncbitmutex; /* lock for syncbitpos */
516 kmutex_t dc_sleep;
[all …]
/titanic_50/usr/src/uts/common/inet/ilb/
H A Dilb_stack.h60 kmutex_t ilbs_g_lock;
103 kmutex_t ilbs_nat_src_lock;
109 kmutex_t ilbs_conn_list_lock;
117 kmutex_t ilbs_sticky_list_lock;
/titanic_50/usr/src/uts/common/sys/ib/clients/daplt/
H A Ddaplt.h64 kmutex_t daplka_mutex;
91 kmutex_t ht_key_lock;
111 kmutex_t rs_reflock;
151 kmutex_t ia_lock;
255 kmutex_t evd_lock;
285 kmutex_t srq_lock;
306 kmutex_t ep_lock;
341 kmutex_t mr_lock;
355 kmutex_t mw_lock;
380 kmutex_t sp_lock;
[all …]

12345678910>>...57