Searched refs:tddb (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 6276 struct ql4_tuple_ddb *tddb) in qla4xxx_get_param_ddb() argument 6289 tddb->tpgt = sess->tpgt; in qla4xxx_get_param_ddb() 6290 tddb->port = conn->persistent_port; in qla4xxx_get_param_ddb() 6291 strlcpy(tddb->iscsi_name, sess->targetname, ISCSI_NAME_SIZE); in qla4xxx_get_param_ddb() 6292 strlcpy(tddb->ip_addr, conn->persistent_address, DDB_IPADDR_LEN); in qla4xxx_get_param_ddb() 6296 struct ql4_tuple_ddb *tddb, in qla4xxx_convert_param_ddb() argument 6301 tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_convert_param_ddb() 6302 memcpy(&tddb->iscsi_name[0], &fw_ddb_entry->iscsi_name[0], in qla4xxx_convert_param_ddb() 6303 min(sizeof(tddb->iscsi_name), sizeof(fw_ddb_entry->iscsi_name))); in qla4xxx_convert_param_ddb() 6307 sprintf(tddb->ip_addr, "%pI6", fw_ddb_entry->ip_addr); in qla4xxx_convert_param_ddb() [all …]
|