Lines Matching refs:host_no
1309 int host_no = devip->sdbg_host->shost->host_no; in resp_inquiry() local
1311 port_group_id = (((host_no + 1) & 0x7f) << 8) + in resp_inquiry()
1314 host_no = 0; in resp_inquiry()
1315 lu_id_num = have_wlun ? -1 : (((host_no + 1) * 2000) + in resp_inquiry()
1317 target_dev_id = ((host_no + 1) * 2000) + in resp_inquiry()
1589 int host_no = devip->sdbg_host->shost->host_no; in resp_report_tgtpgs() local
1607 port_group_a = (((host_no + 1) & 0x7f) << 8) + in resp_report_tgtpgs()
1609 port_group_b = (((host_no + 1) & 0x7f) << 8) + in resp_report_tgtpgs()
1617 arr[n++] = host_no % 3; /* Asymm access state */ in resp_report_tgtpgs()
2030 target_dev_id = ((devip->sdbg_host->shost->host_no + 1) * 2000) + in resp_mode_sense()
3619 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun); in scsi_debug_slave_alloc()
3630 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun); in scsi_debug_slave_configure()
3650 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun); in scsi_debug_slave_destroy()