Lines Matching defs:sess
1985 struct iscsi_session *sess;
2010 sess = conn->session;
2023 *ptid = cpu_to_le16((uint16_t)ddb_entry->sess->target_id);
2032 if (sess->targetname != NULL) {
2033 memcpy(fw_ddb_entry->iscsi_name, sess->targetname,
2034 min(strlen(sess->targetname),
2071 if (sess->username != NULL && sess->password != NULL) {
2072 if (strlen(sess->username) && strlen(sess->password)) {
2075 rval = qla4xxx_get_chap_index(ha, sess->username,
2076 sess->password,
2085 if (sess->username_in != NULL && sess->password_in != NULL) {
2087 if (strlen(sess->username_in) && strlen(sess->password_in)) {
2090 rval = qla4xxx_get_chap_index(ha, sess->username_in,
2091 sess->password_in,
2098 if (sess->initial_r2t_en)
2101 if (sess->imm_data_en)
2110 if (sess->max_r2t)
2111 fw_ddb_entry->iscsi_max_outsnd_r2t = cpu_to_le16(sess->max_r2t);
2113 if (sess->first_burst)
2115 __constant_cpu_to_le16((sess->first_burst / BYTE_UNITS));
2117 if (sess->max_burst)
2119 __constant_cpu_to_le16((sess->max_burst / BYTE_UNITS));
2121 if (sess->time2wait)
2123 cpu_to_le16(sess->time2wait);
2125 if (sess->time2retain)
2127 cpu_to_le16(sess->time2retain);