Searched refs:tddb (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_os.c | 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() [all …]
|