Home
last modified time | relevance | path

Searched refs:PARTN_BITS (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/ide/
Dide-probe.c899 int unit = *part >> PARTN_BITS; in ata_probe()
920 *part &= (1 << PARTN_BITS) - 1; in exact_match()
955 disk->first_minor = unit << PARTN_BITS; in ide_init_disk()
1005 blk_register_region(MKDEV(hwif->major, 0), MAX_DRIVES << PARTN_BITS, in hwif_init()
1571 blk_unregister_region(MKDEV(hwif->major, 0), MAX_DRIVES<<PARTN_BITS); in ide_unregister()
Dide-gd.c14 #define IDE_DISK_MINORS (1 << PARTN_BITS)
Dide-cd.c1756 g = alloc_disk(1 << PARTN_BITS); in ide_cd_probe()
Dide-tape.c1967 g = alloc_disk(1 << PARTN_BITS); in ide_tape_probe()
/Linux-v4.19/include/linux/
Dide.h161 #define PARTN_BITS 6 /* number of minor dev bits for partitions */ macro