Lines Matching refs:sess
68 struct se_session *sess = cmd->se_sess; in spc_emulate_inquiry_std() local
104 if (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) { in spc_emulate_inquiry_std()
445 struct se_session *sess = cmd->se_sess; in spc_emulate_evpd_86() local
452 if (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) { in spc_emulate_evpd_86()
463 (sess->sup_prot_ops & (TARGET_PROT_DIN_PASS | TARGET_PROT_DOUT_PASS)) && in spc_emulate_evpd_86()
769 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()
1196 struct se_session *sess = cmd->se_sess; in spc_emulate_report_luns() local
1212 if (!sess) in spc_emulate_report_luns()
1215 nacl = sess->se_node_acl; in spc_emulate_report_luns()