Searched refs:de_arr (Results 1 – 8 of 8) sorted by relevance
250 if (hd->de_arr) in check_partition()251 de = hd->de_arr[MINOR(dev) >> hd->minor_shift]; in check_partition()314 if (dev->de_arr) { in devfs_register_disc()315 dir = dev->de_arr[devnum]; in devfs_register_disc()337 if (!dev->de_arr) in devfs_register_disc()
1201 sd_gendisks[i].de_arr = kmalloc (SCSI_DISKS_PER_MAJOR * sizeof *sd_gendisks[i].de_arr, in sd_init()1203 if (!sd_gendisks[i].de_arr) in sd_init()1205 memset (sd_gendisks[i].de_arr, 0, in sd_init()1206 SCSI_DISKS_PER_MAJOR * sizeof *sd_gendisks[i].de_arr); in sd_init()1233 kfree(sd_gendisks[i].de_arr); in sd_init()1236 kfree(sd_gendisks[i].de_arr); in sd_init()1337 SD_GENDISK(i).de_arr[devnum] = SDp->de; in sd_attach()1477 kfree(sd_gendisks[i].de_arr); in exit_sd()
1233 gd->de_arr = kmalloc(sizeof *gd->de_arr * units, GFP_KERNEL); in init_gendisk()1235 if (gd->de_arr) in init_gendisk()1236 memset(gd->de_arr, 0, sizeof *gd->de_arr * units); in init_gendisk()
967 if (gd->de_arr) in ide_unregister()968 kfree(gd->de_arr); in ide_unregister()
2050 hwif->gd->de_arr[i] = drive->de; in idefloppy_setup()
1654 hwif->gd->de_arr[i] = drive->de; in idedisk_setup()
104 devfs_handle_t *de_arr; /* one per physical disc */ member
728 major_info->gendisk.de_arr = (devfs_handle_t *) in dasd_register_major()730 if(major_info->gendisk.de_arr == NULL) in dasd_register_major()733 memset (major_info->gendisk.de_arr, 0, in dasd_register_major()867 kfree (major_info->gendisk.de_arr); in dasd_register_major()920 kfree (major_info->gendisk.de_arr); in dasd_unregister_major()4014 device->major_info->gendisk.de_arr[MINOR(device->kdev) in dasd_state_new_to_known()4036 … devfs_unregister(device->major_info->gendisk.de_arr[MINOR(device->kdev) >> DASD_PARTN_BITS]); in dasd_state_known_to_new()