Lines Matching refs:major
26 #include <linux/major.h>
922 blk_register_region(MKDEV(disk->major, disk->first_minor),
930 blk_unregister_region(MKDEV(disk->major, disk->first_minor),
941 disk->major = hwif->major;
970 if (register_blkdev(hwif->major, hwif->name))
991 blk_register_region(MKDEV(hwif->major, 0), MAX_DRIVES << PARTN_BITS,
996 unregister_blkdev(hwif->major, hwif->name);
1160 hwif->major = ide_hwif_to_major[index];
1547 blk_unregister_region(MKDEV(hwif->major, 0), MAX_DRIVES<<PARTN_BITS);
1549 unregister_blkdev(hwif->major, hwif->name);