Lines Matching refs:raid_slot
112 __le32 raid_slot; member
509 char raid_slot[16]; in process_add_new_disk() local
510 char *envp[] = {event_name, disk_uuid, raid_slot, NULL}; in process_add_new_disk()
515 snprintf(raid_slot, 16, "RAID_DISK=%d", le32_to_cpu(cmsg->raid_slot)); in process_add_new_disk()
516 pr_info("%s:%d Sending kobject change with %s and %s\n", __func__, __LINE__, disk_uuid, raid_slot); in process_add_new_disk()
531 mddev->good_device_nr = le32_to_cpu(msg->raid_slot); in process_metadata_update()
550 rdev = md_find_rdev_nr_rcu(mddev, le32_to_cpu(msg->raid_slot)); in process_remove_disk()
558 __func__, __LINE__, le32_to_cpu(msg->raid_slot)); in process_remove_disk()
567 rdev = md_find_rdev_nr_rcu(mddev, le32_to_cpu(msg->raid_slot)); in process_readd_disk()
572 __func__, __LINE__, le32_to_cpu(msg->raid_slot)); in process_readd_disk()
1084 int raid_slot = -1; in metadata_update_finish() local
1092 raid_slot = rdev->desc_nr; in metadata_update_finish()
1095 if (raid_slot >= 0) { in metadata_update_finish()
1096 cmsg.raid_slot = cpu_to_le32(raid_slot); in metadata_update_finish()
1264 int raid_slot = -1; in update_size() local
1276 raid_slot = rdev->desc_nr; in update_size()
1279 if (raid_slot >= 0) { in update_size()
1280 cmsg.raid_slot = cpu_to_le32(raid_slot); in update_size()
1418 cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); in add_new_disk()
1481 cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); in remove_disk()
1546 cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); in gather_bitmaps()