Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ide/
Dide-probe.c914 int unit = *part >> PARTN_BITS; in ata_probe()
935 *part &= (1 << PARTN_BITS) - 1; in exact_match()
970 disk->first_minor = unit << PARTN_BITS; in ide_init_disk()
1024 blk_register_region(MKDEV(hwif->major, 0), MAX_DRIVES << PARTN_BITS, in hwif_init()
1617 blk_unregister_region(MKDEV(hwif->major, 0), MAX_DRIVES<<PARTN_BITS); in ide_unregister()
Dide-gd.c15 #define IDE_DISK_MINORS (1 << PARTN_BITS)
Dide-cd.c1800 g = alloc_disk(1 << PARTN_BITS); in ide_cd_probe()
Dide-tape.c1993 g = alloc_disk(1 << PARTN_BITS); in ide_tape_probe()
/kernel/linux/linux-5.10/include/linux/
Dide.h162 #define PARTN_BITS 6 /* number of minor dev bits for partitions */ macro