Searched refs:disk_dev (Results 1 – 2 of 2) sorted by relevance
91 struct device disk_dev; member154 #define to_scsi_disk(obj) container_of(obj, struct scsi_disk, disk_dev)
1782 put_device(&sdkp->disk_dev); in scsi_disk_free_disk()3482 device_initialize(&sdkp->disk_dev); in sd_probe()3483 sdkp->disk_dev.parent = get_device(dev); in sd_probe()3484 sdkp->disk_dev.class = &sd_disk_class; in sd_probe()3485 dev_set_name(&sdkp->disk_dev, "%s", dev_name(dev)); in sd_probe()3487 error = device_add(&sdkp->disk_dev); in sd_probe()3489 put_device(&sdkp->disk_dev); in sd_probe()3530 put_device(&sdkp->disk_dev); in sd_probe()3575 device_del(&sdkp->disk_dev); in sd_remove()