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

/linux-4.1.27/drivers/ide/
H A Dide-probe.c886 int unit = *part >> PARTN_BITS; ata_probe()
907 *part &= (1 << PARTN_BITS) - 1; exact_match()
942 disk->first_minor = unit << PARTN_BITS; ide_init_disk()
991 blk_register_region(MKDEV(hwif->major, 0), MAX_DRIVES << PARTN_BITS, hwif_init() local
1547 blk_unregister_region(MKDEV(hwif->major, 0), MAX_DRIVES<<PARTN_BITS); ide_unregister() local
H A Dide-gd.c14 #define IDE_DISK_MINORS (1 << PARTN_BITS)
H A Dide-cd.c1751 g = alloc_disk(1 << PARTN_BITS); ide_cd_probe()
H A Dide-tape.c1980 g = alloc_disk(1 << PARTN_BITS); ide_tape_probe()
/linux-4.1.27/include/linux/
H A Dide.h116 #define PARTN_BITS 6 /* number of minor dev bits for partitions */ macro

Completed in 165 milliseconds