Lines Matching refs:target
52 /** Context for the SCSI target scan. */
97 uint8_t target;
130 /** Scan results for the current target. */
376 if (disk->info.target == target_id) {
387 static void _virtio_scsi_dev_scan_tgt(struct virtio_scsi_scan_base *base, uint8_t target);
390 static int virtio_scsi_dev_scan_tgt(struct virtio_scsi_dev *svdev, uint8_t target);
457 req->lun[1] = disk->info.target;
480 tmf_req->lun[1] = disk->info.target;
1063 req->lun[1] = base->info.target;
1266 base->info.target, (int)base->info.unmap_supported);
1313 /* To be called only from the thread performing target scan */
1322 if (disk->info.target == info->target) {
1329 SPDK_ERRLOG("%s: invalid target %u: bs=%"PRIu32" blocks=%"PRIu64"\n",
1330 svdev->vdev.name, info->target, info->block_size, info->num_blocks);
1344 bdev->name = spdk_sprintf_alloc("%st%"PRIu8, svdev->vdev.name, info->target);
1389 SPDK_ERRLOG("READ CAPACITY (10) failed for target %"PRIu8".\n", target_id);
1420 SPDK_ERRLOG("READ CAPACITY (16) failed for target %"PRIu8".\n", target_id);
1444 SPDK_ERRLOG("Received target scan message with invalid length.\n");
1498 SPDK_ERRLOG("Received invalid target scan message: cdb[0] = %"PRIu8".\n", req->cdb[0]);
1522 base->info.target);
1528 target_id = base->info.target + 1;
1544 target_id = next->target;
1568 SPDK_ERRLOG("couldn't allocate memory for scsi target scan.\n");
1592 _virtio_scsi_dev_scan_tgt(struct virtio_scsi_scan_base *base, uint8_t target)
1597 base->info.target = target;
1647 virtio_scsi_dev_scan_tgt(struct virtio_scsi_dev *svdev, uint8_t target)
1661 info->target = target;
1673 _virtio_scsi_dev_scan_tgt(base, target);