Home
last modified time | relevance | path

Searched refs:session_lock (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/fs/smb/server/mgmt/
H A Duser_session.c177 down_write(&conn->session_lock); in ksmbd_expire_session()
189 up_write(&conn->session_lock); in ksmbd_expire_session()
233 down_write(&conn->session_lock); in ksmbd_sessions_deregister()
250 up_write(&conn->session_lock); in ksmbd_sessions_deregister()
258 down_read(&conn->session_lock); in ksmbd_session_lookup()
262 up_read(&conn->session_lock); in ksmbd_session_lookup()
331 down_write(&conn->session_lock); in destroy_previous_session()
353 up_write(&conn->session_lock); in destroy_previous_session()
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_erl0.c750 spin_lock_bh(&se_tpg->session_lock); in iscsit_handle_time2retain_timeout()
752 spin_unlock_bh(&se_tpg->session_lock); in iscsit_handle_time2retain_timeout()
758 spin_unlock_bh(&se_tpg->session_lock); in iscsit_handle_time2retain_timeout()
767 spin_unlock_bh(&se_tpg->session_lock); in iscsit_handle_time2retain_timeout()
802 lockdep_assert_held(&se_tpg->session_lock); in iscsit_stop_time2retain_timer()
811 spin_unlock(&se_tpg->session_lock); in iscsit_stop_time2retain_timer()
815 spin_lock(&se_tpg->session_lock); in iscsit_stop_time2retain_timer()
H A Discsi_target_login.c152 spin_lock_bh(&se_tpg->session_lock); in iscsi_check_for_session_reinstatement()
180 spin_unlock_bh(&se_tpg->session_lock); in iscsi_check_for_session_reinstatement()
496 spin_lock_bh(&se_tpg->session_lock); in iscsi_login_non_zero_tsih_s2()
514 spin_unlock_bh(&se_tpg->session_lock); in iscsi_login_non_zero_tsih_s2()
752 spin_lock_bh(&se_tpg->session_lock); in iscsi_post_login_handler()
754 spin_unlock_bh(&se_tpg->session_lock); in iscsi_post_login_handler()
766 spin_lock_bh(&se_tpg->session_lock); in iscsi_post_login_handler()
796 spin_unlock_bh(&se_tpg->session_lock); in iscsi_post_login_handler()
1160 spin_lock_bh(&se_tpg->session_lock); in iscsi_target_login_sess_out()
1162 spin_unlock_bh(&se_tpg->session_lock); in iscsi_target_login_sess_out()
H A Discsi_target_configfs.c1491 spin_lock_bh(&se_tpg->session_lock); in lio_tpg_close_session()
1498 spin_unlock_bh(&se_tpg->session_lock); in lio_tpg_close_session()
1508 spin_unlock_bh(&se_tpg->session_lock); in lio_tpg_close_session()
H A Discsi_target.c4537 spin_lock_bh(&se_tpg->session_lock); in iscsit_close_session()
4541 spin_unlock_bh(&se_tpg->session_lock); in iscsit_close_session()
4571 spin_lock_bh(&se_tpg->session_lock); in iscsit_close_session()
4586 spin_unlock_bh(&se_tpg->session_lock); in iscsit_close_session()
4805 spin_lock_bh(&se_tpg->session_lock); in iscsit_release_sessions_for_tpg()
4807 spin_unlock_bh(&se_tpg->session_lock); in iscsit_release_sessions_for_tpg()
4831 spin_unlock_bh(&se_tpg->session_lock); in iscsit_release_sessions_for_tpg()
/openbmc/linux/drivers/target/sbp/
H A Dsbp_target.c83 spin_lock_bh(&tpg->se_tpg.session_lock); in sbp_session_find_by_guid()
89 spin_unlock_bh(&tpg->se_tpg.session_lock); in sbp_session_find_by_guid()
119 spin_lock_bh(&tpg->se_tpg.session_lock); in sbp_login_count_all_by_lun()
133 spin_unlock_bh(&tpg->se_tpg.session_lock); in sbp_login_count_all_by_lun()
145 spin_lock_bh(&tpg->se_tpg.session_lock); in sbp_login_find_by_id()
156 spin_unlock_bh(&tpg->se_tpg.session_lock); in sbp_login_find_by_id()
2116 spin_lock_bh(&se_tpg->session_lock); in sbp_enable_tpg()
2118 spin_unlock_bh(&se_tpg->session_lock); in sbp_enable_tpg()
2121 spin_unlock_bh(&se_tpg->session_lock); in sbp_enable_tpg()
/openbmc/linux/fs/smb/server/
H A Dconnection.h53 struct rw_semaphore session_lock; member
H A Dconnection.c89 init_rwsem(&conn->session_lock); in ksmbd_conn_alloc()
H A Dsmb2pdu.c2236 down_write(&conn->session_lock); in smb2_session_logoff()
2238 up_write(&conn->session_lock); in smb2_session_logoff()
/openbmc/linux/drivers/target/
H A Dtarget_core_transport.c451 spin_lock_irqsave(&se_tpg->session_lock, flags); in transport_register_session()
453 spin_unlock_irqrestore(&se_tpg->session_lock, flags); in transport_register_session()
521 spin_lock_bh(&se_tpg->session_lock); in target_show_dynamic_sessions()
534 spin_unlock_bh(&se_tpg->session_lock); in target_show_dynamic_sessions()
662 spin_lock_irqsave(&se_tpg->session_lock, flags); in transport_deregister_session()
666 spin_unlock_irqrestore(&se_tpg->session_lock, flags); in transport_deregister_session()
H A Dtarget_core_tpg.c539 spin_lock_init(&se_tpg->session_lock); in core_tpg_register()
/openbmc/linux/include/target/
H A Dtarget_core_base.h934 spinlock_t session_lock; member