Lines Matching refs:se_sess
80 struct se_session *se_sess; in sbp_session_find_by_guid() local
84 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) { in sbp_session_find_by_guid()
85 sess = se_sess->fabric_sess_ptr; in sbp_session_find_by_guid()
114 struct se_session *se_sess; in sbp_login_count_all_by_lun() local
120 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) { in sbp_login_count_all_by_lun()
121 sess = se_sess->fabric_sess_ptr; in sbp_login_count_all_by_lun()
141 struct se_session *se_sess; in sbp_login_find_by_id() local
146 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) { in sbp_login_find_by_id()
147 sess = se_sess->fabric_sess_ptr; in sbp_login_find_by_id()
199 sess->se_sess = target_setup_session(&tpg->se_tpg, 128, in sbp_session_create()
203 if (IS_ERR(sess->se_sess)) { in sbp_session_create()
205 ret = PTR_ERR(sess->se_sess); in sbp_session_create()
225 target_remove_session(sess->se_sess); in sbp_session_release()
913 struct se_session *se_sess = sess->se_sess; in sbp_mgt_get_req() local
917 tag = sbitmap_queue_get(&se_sess->sess_tag_pool, &cpu); in sbp_mgt_get_req()
921 req = &((struct sbp_target_request *)se_sess->sess_cmd_map)[tag]; in sbp_mgt_get_req()
1221 target_submit_cmd(&req->se_cmd, sess->se_sess, req->cmd_buf, in sbp_handle_command()
1442 struct se_session *se_sess = se_cmd->se_sess; in sbp_free_request() local
1447 target_free_tag(se_sess, se_cmd); in sbp_free_request()
1708 static u32 sbp_sess_get_index(struct se_session *se_sess) in sbp_sess_get_index() argument