Home
last modified time | relevance | path

Searched refs:c_lock (Results 1 – 19 of 19) sorted by relevance

/titanic_50/usr/src/uts/common/io/sdcard/impl/
H A Dsda_cmd.c50 kmutex_t c_lock; member
133 mutex_init(&c->c_lock, NULL, MUTEX_DRIVER, NULL); in sda_cmd_ctor()
145 mutex_destroy(&c->c_lock); in sda_cmd_dtor()
169 mutex_enter(&c->c_lock); in sda_cmd_notify()
180 mutex_exit(&c->c_lock); in sda_cmd_notify()
184 mutex_exit(&c->c_lock); in sda_cmd_notify()
187 mutex_exit(&c->c_lock); in sda_cmd_notify()
196 mutex_enter(&c->c_lock); in sda_cmd_wait()
198 cv_wait(&c->c_cv, &c->c_lock); in sda_cmd_wait()
199 mutex_exit(&c->c_lock); in sda_cmd_wait()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dsend.c114 mutex_enter(&conn->c_lock); in rdsv3_send_reset()
126 mutex_exit(&conn->c_lock); in rdsv3_send_reset()
257 mutex_enter(&conn->c_lock); in rdsv3_send_xmit()
271 mutex_exit(&conn->c_lock); in rdsv3_send_xmit()
289 mutex_enter(&conn->c_lock); in rdsv3_send_xmit()
294 mutex_exit(&conn->c_lock); in rdsv3_send_xmit()
406 mutex_enter(&conn->c_lock); in rdsv3_send_xmit()
411 mutex_exit(&conn->c_lock); in rdsv3_send_xmit()
456 mutex_enter(&conn->c_lock); in rdsv3_send_acked_before()
468 mutex_exit(&conn->c_lock); in rdsv3_send_acked_before()
[all …]
H A Dconnection.c445 mutex_enter(&conn->c_lock); in rdsv3_conn_message_info()
455 mutex_exit(&conn->c_lock); in rdsv3_conn_message_info()
H A Drdsv3_impl.c886 mutex_init(&conn->c_lock, NULL, MUTEX_DRIVER, NULL); in rdsv3_conn_constructor()
909 mutex_destroy(&conn->c_lock); in rdsv3_conn_destructor()
/titanic_50/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_cmn_func.c733 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_cmn_bufcall()
736 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_cmn_bufcall()
747 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_cmn_bufcall()
754 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_cmn_bufcall()
1024 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_cmn_wakeup()
1030 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_cmn_wakeup()
1094 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_cmn_bufcb()
1099 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_cmn_bufcb()
1109 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_cmn_bufcb()
1114 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_cmn_bufcb()
[all …]
H A Doplmsu_ioctl_lrp.c182 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_lrioctl_termios()
184 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_lrioctl_termios()
227 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_lrioctl_termios()
229 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_lrioctl_termios()
484 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_lrmsg_error()
489 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_lrmsg_error()
592 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_lrmsg_error()
594 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_lrmsg_error()
703 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_lrdata_xoffxon()
712 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_lrdata_xoffxon()
[all …]
H A Doplmsu.c233 mutex_init(&oplmsu_uinst->c_lock, "ctrl lock", MUTEX_DRIVER, NULL); in _init()
245 mutex_destroy(&oplmsu_uinst->c_lock); in _init()
262 mutex_destroy(&oplmsu_uinst->c_lock); in _fini()
559 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_open()
574 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_open()
596 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_close()
598 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_close()
612 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_close()
639 cv_wait(&ctrl->cvp, &oplmsu_uinst->c_lock); in oplmsu_close()
645 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_close()
[all …]
H A Doplmsu_ioctl_uwp.c346 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_uwioctl_termios()
350 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_uwioctl_termios()
358 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_uwioctl_termios()
434 mutex_enter(&oplmsu_uinst->c_lock); in oplmsu_uwioctl_termios()
436 mutex_exit(&oplmsu_uinst->c_lock); in oplmsu_uwioctl_termios()
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_lock.c599 smb_lock_wait(smb_request_t *sr, smb_lock_t *b_lock, smb_lock_t *c_lock) in smb_lock_wait() argument
614 sr->sr_awaiting = c_lock; in smb_lock_wait()
617 mutex_enter(&c_lock->l_mutex); in smb_lock_wait()
639 b_lock->l_blocked_by = c_lock; in smb_lock_wait()
640 smb_slist_insert_tail(&c_lock->l_conflict_list, b_lock); in smb_lock_wait()
641 smb_llist_exit(&c_lock->l_file->f_node->n_lock_list); in smb_lock_wait()
644 cv_wait(&c_lock->l_cv, &c_lock->l_mutex); in smb_lock_wait()
646 rc = cv_timedwait(&c_lock->l_cv, in smb_lock_wait()
647 &c_lock->l_mutex, b_lock->l_end_time); in smb_lock_wait()
650 mutex_exit(&c_lock->l_mutex); in smb_lock_wait()
[all …]
/titanic_50/usr/src/uts/common/rpc/
H A Drpcib.c1061 mutex_enter(&conn->c_lock); in rib_clnt_scq_handler()
1064 mutex_exit(&conn->c_lock); in rib_clnt_scq_handler()
1139 mutex_enter(&conn->c_lock); in rib_svc_scq_handler()
1142 mutex_exit(&conn->c_lock); in rib_svc_scq_handler()
1230 mutex_enter(&conn->c_lock); in rib_clnt_rcq_handler()
1233 mutex_exit(&conn->c_lock); in rib_clnt_rcq_handler()
1300 mutex_enter(&conn->c_lock); in rib_clnt_rcq_handler()
1303 mutex_exit(&conn->c_lock); in rib_clnt_rcq_handler()
1401 mutex_enter(&conn->c_lock); in rib_svc_rcq_handler()
1405 mutex_exit(&conn->c_lock); in rib_svc_rcq_handler()
[all …]
H A Dclnt_rdma.c1241 mutex_enter(&conn->c_lock); in clnt_return_credit()
1244 mutex_exit(&conn->c_lock); in clnt_return_credit()
1261 mutex_enter(&conn->c_lock); in clnt_update_credit()
1263 mutex_exit(&conn->c_lock); in clnt_update_credit()
1275 mutex_enter(&conn->c_lock); in clnt_check_credit()
1282 cv_wait(&cc_info->clnt_cc_cv, &conn->c_lock); in clnt_check_credit()
1285 mutex_exit(&conn->c_lock); in clnt_check_credit()
H A Drpc_rdma.h359 kmutex_t c_lock; /* protect c_state and c_ref fields */ member
/titanic_50/usr/src/uts/common/io/
H A Dfdc.c540 mutex_init(&fcp->c_lock, NULL, MUTEX_DRIVER, fcp->c_iblock); in fdc_attach()
583 mutex_enter(&fcp->c_lock); in fdc_attach()
593 cv_wait(&fcp->c_iocv, &fcp->c_lock); in fdc_attach()
595 mutex_exit(&fcp->c_lock); in fdc_attach()
607 mutex_enter(&fcp->c_lock); in fdc_attach()
614 cv_wait(&fcp->c_iocv, &fcp->c_lock); in fdc_attach()
616 mutex_exit(&fcp->c_lock); in fdc_attach()
632 mutex_destroy(&fcp->c_lock); in fdc_attach()
873 mutex_destroy(&fcp->c_lock); in fdc_detach()
901 mutex_enter(&fcp->c_lock); in fdc_detach()
[all …]
/titanic_50/usr/src/uts/common/io/audio/impl/
H A Daudio_client.c1061 mutex_init(&c->c_lock, NULL, MUTEX_DRIVER, NULL); in auimpl_client_create()
1101 mutex_destroy(&c->c_lock); in auimpl_client_create()
1122 mutex_destroy(&c->c_lock); in auimpl_client_destroy()
1159 mutex_enter(&c->c_lock); in auclnt_close()
1162 cv_wait(&c->c_cv, &c->c_lock); in auclnt_close()
1164 mutex_exit(&c->c_lock); in auclnt_close()
1196 mutex_enter(&c->c_lock); in auclnt_hold_by_devt()
1199 mutex_exit(&c->c_lock); in auclnt_hold_by_devt()
1201 mutex_exit(&c->c_lock); in auclnt_hold_by_devt()
1214 mutex_enter(&c->c_lock); in auclnt_serialize()
[all …]
H A Daudio_impl.h192 kmutex_t c_lock; member
/titanic_50/usr/src/cmd/sendmail/db/btree/
H A Dbt_delete.c412 DB_LOCK c_lock, p_lock; local
500 p_lock = c_lock = LOCK_INVALID;
520 __bam_lget(dbc, 0, pgno, DB_LOCK_WRITE, &c_lock)) != 0)
582 if (c_lock != LOCK_INVALID)
583 (void)__BT_TLPUT(dbc, c_lock);
/titanic_50/usr/src/uts/sun4u/opl/sys/oplmsu/
H A Doplmsu.h278 kmutex_t c_lock; member
/titanic_50/usr/src/uts/common/sys/
H A Dfdc.h281 kmutex_t c_lock; /* controller mutex */ member
/titanic_50/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3.h134 kmutex_t c_lock; /* protect msg queues */ member