Searched refs:PARTN_BITS (Results 1 – 5 of 5) sorted by relevance
914 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()
15 #define IDE_DISK_MINORS (1 << PARTN_BITS)
1800 g = alloc_disk(1 << PARTN_BITS); in ide_cd_probe()
1993 g = alloc_disk(1 << PARTN_BITS); in ide_tape_probe()
162 #define PARTN_BITS 6 /* number of minor dev bits for partitions */ macro