Searched refs:SD_GENDISK (Results 1 – 1 of 1) sorted by relevance
589 #define SD_GENDISK(i) sd_gendisks[(i) / SCSI_DISKS_PER_MAJOR] macro1277 register_disk(&SD_GENDISK(i), MKDEV_SD(i), in sd_finish()1337 SD_GENDISK(i).de_arr[devnum] = SDp->de; in sd_attach()1339 SD_GENDISK(i).flags[devnum] |= GENHD_FL_REMOVABLE; in sd_attach()1376 sdgd = &SD_GENDISK(target); in revalidate_scsidisk()1402 grok_partitions(&SD_GENDISK(target), target % SCSI_DISKS_PER_MAJOR, in revalidate_scsidisk()1429 sdgd = &SD_GENDISK(i); in sd_detach()