Lines Matching refs:disk
132 struct gendisk *disk = dev_to_disk(dev);
137 if (partno < disk->minors) {
144 devt = part_devt(disk, partno);
180 /* try disk name without <part number> */
187 /* try disk name without p<part number> */
221 * 3) /dev/<disk_name> represents the device number of disk
223 * of partition - device number of disk plus the partition number
225 * used when disk name of partitioned disk ends on a digit.
230 * filled hex representation of the 32-bit "NT disk signature", and PP
240 * block_class is used to check if something is a disk name. If the disk
279 struct gendisk *disk = dev_to_disk(dev);
288 if (get_capacity(disk) == 0 || (disk->flags & GENHD_FL_HIDDEN))
296 xa_for_each(&disk->part_tbl, idx, part) {