Lines Matching refs:sess
77 struct se_session *sess = cmd->se_sess; in spc_emulate_inquiry_std() local
113 if (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) { in spc_emulate_inquiry_std()
469 struct se_session *sess = cmd->se_sess; in spc_emulate_evpd_86() local
476 if (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) { in spc_emulate_evpd_86()
487 (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) && in spc_emulate_evpd_86()
805 struct se_session *sess = cmd->se_sess; in spc_modesense_control() local
912 if (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) { in spc_modesense_control()
913 if (dev->dev_attrib.pi_prot_type || sess->sess_prot_type) in spc_modesense_control()
1240 struct se_session *sess = cmd->se_sess; in spc_emulate_report_luns() local
1256 if (!sess) in spc_emulate_report_luns()
1259 nacl = sess->se_node_acl; in spc_emulate_report_luns()
2116 struct se_session *sess = cmd->se_sess; in spc_rsoc_get_descr() local
2132 sess->se_node_acl->initiatorname); in spc_rsoc_get_descr()