Lines Matching refs:sess
74 struct se_session *sess = cmd->se_sess; in spc_emulate_inquiry_std() local
110 if (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) { in spc_emulate_inquiry_std()
464 struct se_session *sess = cmd->se_sess; in spc_emulate_evpd_86() local
471 if (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) { in spc_emulate_evpd_86()
774 struct se_session *sess = cmd->se_sess; in spc_modesense_control() local
867 if (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) { in spc_modesense_control()
868 if (dev->dev_attrib.pi_prot_type || sess->sess_prot_type) in spc_modesense_control()
1213 struct se_session *sess = cmd->se_sess; in spc_emulate_report_luns() local
1232 if (!sess) { in spc_emulate_report_luns()
1238 spin_lock_irq(&sess->se_node_acl->device_list_lock); in spc_emulate_report_luns()
1240 deve = sess->se_node_acl->device_list[i]; in spc_emulate_report_luns()
1255 spin_unlock_irq(&sess->se_node_acl->device_list_lock); in spc_emulate_report_luns()