Lines Matching refs:MajorNumber
2021 int MajorNumber = DAC960_MAJOR + Controller->ControllerNumber; in DAC960_RegisterBlockDevice() local
2027 if (devfs_register_blkdev(MajorNumber, "dac960", in DAC960_RegisterBlockDevice()
2031 Controller, MajorNumber); in DAC960_RegisterBlockDevice()
2037 RequestQueue = BLK_DEFAULT_QUEUE(MajorNumber); in DAC960_RegisterBlockDevice()
2053 blksize_size[MajorNumber] = Controller->BlockSizes; in DAC960_RegisterBlockDevice()
2054 max_sectors[MajorNumber] = Controller->MaxSectorsPerRequest; in DAC960_RegisterBlockDevice()
2058 read_ahead[MajorNumber] = 128; in DAC960_RegisterBlockDevice()
2062 Controller->GenericDiskInfo.major = MajorNumber; in DAC960_RegisterBlockDevice()
2088 int MajorNumber = DAC960_MAJOR + Controller->ControllerNumber; in DAC960_UnregisterBlockDevice() local
2092 devfs_unregister_blkdev(MajorNumber, "dac960"); in DAC960_UnregisterBlockDevice()
2096 blk_cleanup_queue(BLK_DEFAULT_QUEUE(MajorNumber)); in DAC960_UnregisterBlockDevice()
2103 blk_size[MajorNumber] = NULL; in DAC960_UnregisterBlockDevice()
2104 blksize_size[MajorNumber] = NULL; in DAC960_UnregisterBlockDevice()
2105 max_sectors[MajorNumber] = NULL; in DAC960_UnregisterBlockDevice()