Lines Matching defs:scsidp
1360 static Sg_device *sg_alloc(struct gendisk *disk, struct scsi_device *scsidp)
1362 struct request_queue *q = scsidp->request_queue;
1397 sdp->device = scsidp;
1417 sdev_printk(KERN_WARNING, scsidp,
1419 "number exceeds %d\n", scsidp->type, SG_MAX_DEVS - 1);
1427 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent);
1450 sdp = sg_alloc(disk, scsidp);
1475 error = sysfs_create_link(&scsidp->sdev_gendev.kobj,
1483 sdev_printk(KERN_NOTICE, scsidp,
1485 scsidp->type);
1528 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent);
1547 sysfs_remove_link(&scsidp->sdev_gendev.kobj, "generic");
2473 struct scsi_device *scsidp;
2478 if (sdp && (scsidp = sdp->device) && (!sdp->detached))
2480 scsidp->host->host_no, scsidp->channel,
2481 scsidp->id, scsidp->lun, (int) scsidp->type,
2483 (int) scsidp->queue_depth,
2484 (int) scsidp->device_busy,
2485 (int) scsi_device_online(scsidp));
2501 struct scsi_device *scsidp;
2506 if (sdp && (scsidp = sdp->device) && (!sdp->detached))
2508 scsidp->vendor, scsidp->model, scsidp->rev);
2601 struct scsi_device *scsidp = sdp->device;
2609 scsidp->host->host_no,
2610 scsidp->channel, scsidp->id,
2611 scsidp->lun,
2612 scsidp->host->hostt->emulated);