Lines Matching refs:se_sess

90 	struct se_session *sess = cmd->se_sess;  in target_scsi2_reservation_check()
121 struct se_session *se_sess = cmd->se_sess; in target_check_scsi2_reservation_conflict() local
127 pr_reg = core_scsi3_locate_pr_reg(cmd->se_dev, se_sess->se_node_acl, in target_check_scsi2_reservation_conflict()
128 se_sess); in target_check_scsi2_reservation_conflict()
204 struct se_session *sess = cmd->se_sess; in target_scsi2_reservation_release()
245 struct se_session *sess = cmd->se_sess; in target_scsi2_reservation_reserve()
315 struct se_session *se_sess = cmd->se_sess; in core_scsi3_pr_seq_non_holder() local
316 struct se_node_acl *nacl = se_sess->se_node_acl; in core_scsi3_pr_seq_non_holder()
506 se_sess->se_node_acl->initiatorname, cdb[0], in core_scsi3_pr_seq_non_holder()
558 se_sess->se_node_acl->initiatorname, cdb[0], in core_scsi3_pr_seq_non_holder()
568 struct se_session *sess = cmd->se_sess; in target_scsi3_pr_reservation_check()
1473 struct se_session *se_sess = cmd->se_sess; in core_scsi3_decode_spec_i_port() local
1499 tidh_new->dest_node_acl = se_sess->se_node_acl; in core_scsi3_decode_spec_i_port()
1502 se_sess->se_node_acl, cmd->se_lun, in core_scsi3_decode_spec_i_port()
2039 struct se_session *se_sess = cmd->se_sess; in core_scsi3_emulate_pro_register() local
2050 if (!se_sess || !se_lun) { in core_scsi3_emulate_pro_register()
2054 se_tpg = se_sess->se_tpg; in core_scsi3_emulate_pro_register()
2057 se_tpg->se_tpg_tfo->sess_get_initiator_sid(se_sess, &isid_buf[0], in core_scsi3_emulate_pro_register()
2064 pr_reg = core_scsi3_locate_pr_reg(dev, se_sess->se_node_acl, se_sess); in core_scsi3_emulate_pro_register()
2084 se_sess->se_node_acl, cmd->se_lun, in core_scsi3_emulate_pro_register()
2264 struct se_session *se_sess = cmd->se_sess; in core_scsi3_pro_reserve() local
2271 if (!se_sess || !se_lun) { in core_scsi3_pro_reserve()
2278 pr_reg = core_scsi3_locate_pr_reg(cmd->se_dev, se_sess->se_node_acl, in core_scsi3_pro_reserve()
2279 se_sess); in core_scsi3_pro_reserve()
2340 se_sess->se_node_acl->initiatorname, in core_scsi3_pro_reserve()
2363 se_sess->se_node_acl->initiatorname, in core_scsi3_pro_reserve()
2401 se_sess->se_node_acl->initiatorname, in core_scsi3_pro_reserve()
2505 struct se_session *se_sess = cmd->se_sess; in core_scsi3_emulate_pro_release() local
2511 if (!se_sess || !se_lun) { in core_scsi3_emulate_pro_release()
2518 pr_reg = core_scsi3_locate_pr_reg(dev, se_sess->se_node_acl, se_sess); in core_scsi3_emulate_pro_release()
2591 se_sess->se_node_acl->initiatorname, in core_scsi3_emulate_pro_release()
2615 __core_scsi3_complete_pro_release(dev, se_sess->se_node_acl, in core_scsi3_emulate_pro_release()
2662 struct se_session *se_sess = cmd->se_sess; in core_scsi3_emulate_pro_clear() local
2671 se_sess->se_node_acl, se_sess); in core_scsi3_emulate_pro_clear()
2815 struct se_session *se_sess = cmd->se_sess; in core_scsi3_pro_preempt() local
2824 if (!se_sess) in core_scsi3_pro_preempt()
2827 pr_reg_n = core_scsi3_locate_pr_reg(cmd->se_dev, se_sess->se_node_acl, in core_scsi3_pro_preempt()
2828 se_sess); in core_scsi3_pro_preempt()
3144 struct se_session *se_sess = cmd->se_sess; in core_scsi3_emulate_pro_register_and_move() local
3162 if (!se_sess || !se_lun) { in core_scsi3_emulate_pro_register_and_move()
3167 se_tpg = se_sess->se_tpg; in core_scsi3_emulate_pro_register_and_move()
3175 pr_reg = core_scsi3_locate_pr_reg(cmd->se_dev, se_sess->se_node_acl, in core_scsi3_emulate_pro_register_and_move()
3176 se_sess); in core_scsi3_emulate_pro_register_and_move()
3548 if (!cmd->se_sess || !cmd->se_lun) { in target_try_pr_out_pt()
3607 if (!cmd->se_sess) in target_scsi3_emulate_pr_out()
4171 if (!cmd->se_sess) in target_check_reservation()