scsidp 1438 drivers/scsi/sg.c sg_alloc(struct gendisk *disk, struct scsi_device *scsidp) scsidp 1440 drivers/scsi/sg.c struct request_queue *q = scsidp->request_queue; scsidp 1448 drivers/scsi/sg.c sdev_printk(KERN_WARNING, scsidp, "%s: kmalloc Sg_device " scsidp 1459 drivers/scsi/sg.c sdev_printk(KERN_WARNING, scsidp, scsidp 1461 drivers/scsi/sg.c scsidp->type, SG_MAX_DEVS - 1); scsidp 1464 drivers/scsi/sg.c sdev_printk(KERN_WARNING, scsidp, "%s: idr " scsidp 1472 drivers/scsi/sg.c SCSI_LOG_TIMEOUT(3, sdev_printk(KERN_INFO, scsidp, scsidp 1477 drivers/scsi/sg.c sdp->device = scsidp; scsidp 1502 drivers/scsi/sg.c struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); scsidp 1525 drivers/scsi/sg.c sdp = sg_alloc(disk, scsidp); scsidp 1549 drivers/scsi/sg.c error = sysfs_create_link(&scsidp->sdev_gendev.kobj, scsidp 1557 drivers/scsi/sg.c sdev_printk(KERN_NOTICE, scsidp, "Attached scsi generic sg%d " scsidp 1558 drivers/scsi/sg.c "type %d\n", sdp->index, scsidp->type); scsidp 1602 drivers/scsi/sg.c struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); scsidp 1626 drivers/scsi/sg.c sysfs_remove_link(&scsidp->sdev_gendev.kobj, "generic"); scsidp 2475 drivers/scsi/sg.c struct scsi_device *scsidp; scsidp 2484 drivers/scsi/sg.c scsidp = sdp->device; scsidp 2486 drivers/scsi/sg.c scsidp->host->host_no, scsidp->channel, scsidp 2487 drivers/scsi/sg.c scsidp->id, scsidp->lun, (int) scsidp->type, scsidp 2489 drivers/scsi/sg.c (int) scsidp->queue_depth, scsidp 2490 drivers/scsi/sg.c (int) atomic_read(&scsidp->device_busy), scsidp 2491 drivers/scsi/sg.c (int) scsi_device_online(scsidp)); scsidp 2501 drivers/scsi/sg.c struct scsi_device *scsidp; scsidp 2506 drivers/scsi/sg.c scsidp = sdp ? sdp->device : NULL; scsidp 2507 drivers/scsi/sg.c if (sdp && scsidp && (!atomic_read(&sdp->detaching))) scsidp 2509 drivers/scsi/sg.c scsidp->vendor, scsidp->model, scsidp->rev); scsidp 2600 drivers/scsi/sg.c struct scsi_device *scsidp = sdp->device; scsidp 2603 drivers/scsi/sg.c scsidp->host->host_no, scsidp 2604 drivers/scsi/sg.c scsidp->channel, scsidp->id, scsidp 2605 drivers/scsi/sg.c scsidp->lun, scsidp 2606 drivers/scsi/sg.c scsidp->host->hostt->emulated);