Searched refs:minors (Results 1 – 1 of 1) sorted by relevance
580 if (part->partno < disk->minors) { in blk_alloc_devt()790 WARN_ON(disk->minors && !(disk->major || disk->first_minor)); in __device_add_disk()791 WARN_ON(!disk->minors && in __device_add_disk()823 blk_register_region(disk_devt(disk), disk->minors, NULL, in __device_add_disk()936 blk_unregister_region(disk_devt(disk), disk->minors); in del_gendisk()1242 return sprintf(buf, "%d\n", disk->minors); in disk_range_show()1695 if (partno < disk->minors) { in blk_lookup_devt()1715 struct gendisk *__alloc_disk_node(int minors, int node_id) in __alloc_disk_node() argument1720 if (minors > DISK_MAX_PARTS) { in __alloc_disk_node()1724 minors = DISK_MAX_PARTS; in __alloc_disk_node()[all …]