hpnt              747 drivers/scsi/scsi_debug.c 	struct Scsi_Host *hpnt;
hpnt              751 drivers/scsi/scsi_debug.c 		hpnt = sdbg_host->shost;
hpnt              752 drivers/scsi/scsi_debug.c 		if ((hpnt->this_id >= 0) &&
hpnt              753 drivers/scsi/scsi_debug.c 		    (sdebug_num_tgts > hpnt->this_id))
hpnt              754 drivers/scsi/scsi_debug.c 			hpnt->max_id = sdebug_num_tgts + 1;
hpnt              756 drivers/scsi/scsi_debug.c 			hpnt->max_id = sdebug_num_tgts;
hpnt              758 drivers/scsi/scsi_debug.c 		hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1;
hpnt             5781 drivers/scsi/scsi_debug.c 	struct Scsi_Host *hpnt;
hpnt             5790 drivers/scsi/scsi_debug.c 	hpnt = scsi_host_alloc(&sdebug_driver_template, sizeof(sdbg_host));
hpnt             5791 drivers/scsi/scsi_debug.c 	if (NULL == hpnt) {
hpnt             5803 drivers/scsi/scsi_debug.c 	hpnt->nr_hw_queues = submit_queues;
hpnt             5805 drivers/scsi/scsi_debug.c 	sdbg_host->shost = hpnt;
hpnt             5806 drivers/scsi/scsi_debug.c 	*((struct sdebug_host_info **)hpnt->hostdata) = sdbg_host;
hpnt             5807 drivers/scsi/scsi_debug.c 	if ((hpnt->this_id >= 0) && (sdebug_num_tgts > hpnt->this_id))
hpnt             5808 drivers/scsi/scsi_debug.c 		hpnt->max_id = sdebug_num_tgts + 1;
hpnt             5810 drivers/scsi/scsi_debug.c 		hpnt->max_id = sdebug_num_tgts;
hpnt             5812 drivers/scsi/scsi_debug.c 	hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1;
hpnt             5842 drivers/scsi/scsi_debug.c 	scsi_host_set_prot(hpnt, hprot);
hpnt             5855 drivers/scsi/scsi_debug.c 		scsi_host_set_guard(hpnt, SHOST_DIX_GUARD_IP);
hpnt             5857 drivers/scsi/scsi_debug.c 		scsi_host_set_guard(hpnt, SHOST_DIX_GUARD_CRC);
hpnt             5863 drivers/scsi/scsi_debug.c 	error = scsi_add_host(hpnt, &sdbg_host->dev);
hpnt             5867 drivers/scsi/scsi_debug.c 		scsi_host_put(hpnt);
hpnt             5869 drivers/scsi/scsi_debug.c 		scsi_scan_host(hpnt);