Searched refs:dinfo (Results 1 – 1 of 1) sorted by relevance
136 mdu_disk_info_t dinfo; in md_setup_drive() local217 dinfo.number = i; in md_setup_drive()218 dinfo.raid_disk = i; in md_setup_drive()219 dinfo.state = (1<<MD_DISK_ACTIVE)|(1<<MD_DISK_SYNC); in md_setup_drive()220 dinfo.major = MAJOR(dev); in md_setup_drive()221 dinfo.minor = MINOR(dev); in md_setup_drive()222 err = sys_ioctl(fd, ADD_NEW_DISK, (long)&dinfo); in md_setup_drive()230 dinfo.major = MAJOR(dev); in md_setup_drive()231 dinfo.minor = MINOR(dev); in md_setup_drive()232 sys_ioctl(fd, ADD_NEW_DISK, (long)&dinfo); in md_setup_drive()