Searched refs:raid_disk (Results 1 – 9 of 9) sorted by relevance
/linux-2.4.37.9/drivers/md/ |
D | multipath.c | 412 tmp->raid_disk || tmp->used_slot) in print_multipath_conf() 415 tmp->number,tmp->raid_disk,tmp->used_slot, in print_multipath_conf() 556 if (spare_desc->raid_disk != sdisk->raid_disk) { in multipath_diskop() 562 if (sdisk->raid_disk != spare_disk) { in multipath_diskop() 568 if (failed_desc->raid_disk != fdisk->raid_disk) { in multipath_diskop() 574 if (fdisk->raid_disk != failed_disk) { in multipath_diskop() 600 xchg_values(spare_desc->raid_disk, failed_desc->raid_disk); in multipath_diskop() 601 xchg_values(sdisk->raid_disk, fdisk->raid_disk); in multipath_diskop() 648 adisk->raid_disk = added_desc->raid_disk; in multipath_diskop() 877 disk_idx = desc->raid_disk; in multipath_run() [all …]
|
D | raid5.c | 1369 int i, j, raid_disk, memory; in raid5_run() local 1418 raid_disk = desc->raid_disk; in raid5_run() 1419 disk = conf->disks + raid_disk; in raid5_run() 1428 disk->raid_disk = raid_disk; in raid5_run() 1443 if (raid_disk > sb->raid_disks) { in raid5_run() 1448 …aid5: disabled device %s (device %d already operational)\n", partition_name(rdev->dev), raid_disk); in raid5_run() 1451 …(KERN_INFO "raid5: device %s operational as raid disk %d\n", partition_name(rdev->dev), raid_disk); in raid5_run() 1454 disk->raid_disk = raid_disk; in raid5_run() 1466 disk->raid_disk = raid_disk; in raid5_run() 1478 raid_disk = desc->raid_disk; in raid5_run() [all …]
|
D | raid1.c | 853 tmp->number,tmp->raid_disk,tmp->used_slot, in print_raid1_conf() 1044 if (spare_desc->raid_disk != sdisk->raid_disk) { in raid1_diskop() 1050 if (sdisk->raid_disk != spare_disk) { in raid1_diskop() 1056 if (failed_desc->raid_disk != fdisk->raid_disk) { in raid1_diskop() 1062 if (fdisk->raid_disk != failed_disk) { in raid1_diskop() 1092 xchg_values(spare_desc->raid_disk, failed_desc->raid_disk); in raid1_diskop() 1093 xchg_values(sdisk->raid_disk, fdisk->raid_disk); in raid1_diskop() 1141 adisk->raid_disk = added_desc->raid_disk; in raid1_diskop() 1624 disk_idx = descriptor->raid_disk; in raid1_run() 1629 disk->raid_disk = disk_idx; in raid1_run() [all …]
|
D | md.c | 772 desc->major,desc->minor,desc->raid_disk,desc->state); in print_desc() 797 desc->raid_disk || (desc->state && (desc->state != 4))) { in print_sb() 1297 desc->raid_disk = desc_nr; in analyze_sbs() 2198 SET_FROM_SB(raid_disk); in get_disk_info() 2265 SET_SB(raid_disk); in add_new_disk() 2484 disk->raid_disk = disk->number; in hot_add_disk() 4019 dinfo.raid_disk = i; in md_setup_drive()
|
/linux-2.4.37.9/include/linux/raid/ |
D | md_u.h | 93 int raid_disk; member 104 int raid_disk; member
|
D | multipath.h | 8 int raid_disk; member
|
D | raid1.h | 8 int raid_disk; member
|
D | raid5.h | 192 int raid_disk; member
|
D | md_p.h | 86 __u32 raid_disk; /* 3 The role of the device in the raid set */ member
|