CMD_HOST
struct Scsi_Host *host = CMD_HOST(cmd);
ha = (struct scsi_qla_host *)(CMD_HOST(cmd)->hostdata);