Home
last modified time | relevance | path

Searched refs:sess_lock (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/rnbd/
H A Drnbd-clt.c27 static DEFINE_MUTEX(sess_lock);
776 mutex_lock(&sess_lock); in free_sess()
778 mutex_unlock(&sess_lock); in free_sess()
841 __releases(&sess_lock)
842 __acquires(&sess_lock)
851 mutex_unlock(&sess_lock); variable
855 * reference and is about to take the sess_lock in order to delete
859 mutex_lock(&sess_lock); variable
863 __releases(&sess_lock)
864 __acquires(&sess_lock)
884 mutex_unlock(&sess_lock); global() variable
888 mutex_lock(&sess_lock); global() variable
[all...]
H A Drnbd-srv.c63 static DEFINE_MUTEX(sess_lock);
258 mutex_lock(&sess_lock); in destroy_sess()
260 mutex_unlock(&sess_lock); in destroy_sess()
296 mutex_lock(&sess_lock); in create_sess()
298 mutex_unlock(&sess_lock); in create_sess()
/kernel/linux/linux-6.6/drivers/block/rnbd/
H A Drnbd-clt.c26 static DEFINE_MUTEX(sess_lock);
767 mutex_lock(&sess_lock); in free_sess()
769 mutex_unlock(&sess_lock); in free_sess()
832 __releases(&sess_lock)
833 __acquires(&sess_lock)
842 mutex_unlock(&sess_lock); variable
846 * reference and is about to take the sess_lock in order to delete
850 mutex_lock(&sess_lock); variable
854 __releases(&sess_lock)
855 __acquires(&sess_lock)
875 mutex_unlock(&sess_lock); global() variable
879 mutex_lock(&sess_lock); global() variable
[all...]
H A Drnbd-srv.c63 static DEFINE_MUTEX(sess_lock);
255 mutex_lock(&sess_lock); in destroy_sess()
257 mutex_unlock(&sess_lock); in destroy_sess()
282 mutex_lock(&sess_lock); in create_sess()
284 mutex_unlock(&sess_lock); in create_sess()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_target.c569 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_nack_sp_done()
592 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_nack_sp_done()
594 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_nack_sp_done()
610 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_nack_sp_done()
719 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
721 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
726 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
731 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
737 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
740 spin_unlock_irqrestore(&ha->tgt.sess_lock, flag in qlt_fc_port_added()
[all...]
H A Dqla_dfs.c161 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in qla2x00_dfs_tgt_sess_show()
167 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qla2x00_dfs_tgt_sess_show()
H A Dqla_init.c1025 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1031 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1034 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1037 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1075 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1087 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1106 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl()
1114 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl()
1118 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl()
1413 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flag in __qla24xx_handle_gpdb_event()
[all...]
H A Dtcm_qla2xxx.c372 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in tcm_qla2xxx_close_session()
374 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in tcm_qla2xxx_close_session()
776 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1165 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1203 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1269 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1308 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1372 * Should always be called with qla_hw_data->tgt.sess_lock held.
1431 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in tcm_qla2xxx_session_cb()
1436 spin_unlock_irqrestore(&ha->tgt.sess_lock, flag in tcm_qla2xxx_session_cb()
[all...]
H A Dqla_os.c1114 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in test_fcport_count()
1119 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in test_fcport_count()
2831 spin_lock_init(&ha->tgt.sess_lock); in qla2x00_probe_one()
5064 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5080 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5112 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5134 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5168 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5194 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
H A Dqla_gs.c3122 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_gpnid_sp_done()
3124 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_gpnid_sp_done()
3186 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gpnid()
3190 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gpnid()
3196 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gpnid()
H A Dqla_mbx.c3974 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_report_id_acquisition()
3999 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_report_id_acquisition()
H A Dqla_def.h3833 spinlock_t sess_lock; member
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_target.c545 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_nack_sp_done()
580 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_nack_sp_done()
582 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_nack_sp_done()
598 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla2x00_async_nack_sp_done()
713 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
715 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
720 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
725 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
731 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in qlt_fc_port_added()
734 spin_unlock_irqrestore(&ha->tgt.sess_lock, flag in qlt_fc_port_added()
[all...]
H A Dqla_init.c1068 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1074 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1077 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1080 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1118 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1130 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl_sp_done()
1149 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl()
1157 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl()
1161 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_async_gnl()
1455 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flag in __qla24xx_handle_gpdb_event()
[all...]
H A Dqla_dfs.c161 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in qla2x00_dfs_tgt_sess_show()
167 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qla2x00_dfs_tgt_sess_show()
H A Dqla_os.c1131 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in test_fcport_count()
1151 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in test_fcport_count()
2981 spin_lock_init(&ha->tgt.sess_lock); in qla2x00_probe_one()
5313 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5329 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5367 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5389 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5423 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
5449 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_create_new_sess()
7446 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flag in qla2x00_timer()
[all...]
H A Dtcm_qla2xxx.c781 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1120 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1158 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1224 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1263 * Expected to be called with struct qla_hw_data->tgt.sess_lock held
1327 * Should always be called with qla_hw_data->tgt.sess_lock held.
1384 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in tcm_qla2xxx_session_cb()
1389 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in tcm_qla2xxx_session_cb()
H A Dqla_mbx.c4033 spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags); in qla24xx_report_id_acquisition()
4058 spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); in qla24xx_report_id_acquisition()
H A Dqla_def.h4040 spinlock_t sess_lock; member

Completed in 91 milliseconds