Lines Matching defs:disk
49 dev->disk->private_data = NULL;
51 put_disk(dev->disk);
56 static struct mtd_blktrans_dev *blktrans_dev_get(struct gendisk *disk)
61 dev = disk->private_data;
205 static int blktrans_release(struct gendisk *disk, fmode_t mode)
207 struct mtd_blktrans_dev *dev = blktrans_dev_get(disk);
327 * minor numbers and that the disk naming code below can cope
351 new->disk = gd;
417 put_disk(new->disk);
435 sysfs_remove_group(&disk_to_dev(old->disk)->kobj,
439 del_gendisk(old->disk);