Lines Matching refs:tddb
6279 struct ql4_tuple_ddb *tddb) in qla4xxx_get_param_ddb() argument
6292 tddb->tpgt = sess->tpgt; in qla4xxx_get_param_ddb()
6293 tddb->port = conn->persistent_port; in qla4xxx_get_param_ddb()
6294 strscpy(tddb->iscsi_name, sess->targetname, sizeof(tddb->iscsi_name)); in qla4xxx_get_param_ddb()
6295 strscpy(tddb->ip_addr, conn->persistent_address, sizeof(tddb->ip_addr)); in qla4xxx_get_param_ddb()
6299 struct ql4_tuple_ddb *tddb, in qla4xxx_convert_param_ddb() argument
6304 tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_convert_param_ddb()
6305 memcpy(&tddb->iscsi_name[0], &fw_ddb_entry->iscsi_name[0], in qla4xxx_convert_param_ddb()
6306 min(sizeof(tddb->iscsi_name), sizeof(fw_ddb_entry->iscsi_name))); in qla4xxx_convert_param_ddb()
6310 sprintf(tddb->ip_addr, "%pI6", fw_ddb_entry->ip_addr); in qla4xxx_convert_param_ddb()
6312 sprintf(tddb->ip_addr, "%pI4", fw_ddb_entry->ip_addr); in qla4xxx_convert_param_ddb()
6314 tddb->port = le16_to_cpu(fw_ddb_entry->port); in qla4xxx_convert_param_ddb()
6317 memcpy(&tddb->isid[0], &fw_ddb_entry->isid[0], in qla4xxx_convert_param_ddb()
6318 sizeof(tddb->isid)); in qla4xxx_convert_param_ddb()
6320 memcpy(&tddb->isid[0], &flash_isid[0], sizeof(tddb->isid)); in qla4xxx_convert_param_ddb()