Searched refs:spares (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/nvdimm/test/ |
| H A D | nfit_test.h | 118 __u8 spares; member 129 __u8 spares; member 140 __u8 spares; member
|
| H A D | nfit.c | 158 .spares = 75, 740 __func__, thresh->alarm_control, thresh->spares, in smart_notify() 741 smart->spares, thresh->media_temperature, in smart_notify() 745 && smart->spares in smart_notify() 746 <= thresh->spares) in smart_notify() 798 smart->spares = inj->spares; in nfit_test_cmd_smart_inject() 800 smart->spares = smart_def.spares; in nfit_test_cmd_smart_inject() 1868 .spares = 5, in smart_init()
|
| /linux/drivers/acpi/nfit/ |
| H A D | intel.h | 21 u8 spares; member
|
| /linux/drivers/md/ |
| H A D | md.c | 10174 int spares = 0; in remove_and_add_spares() local 10189 spares++; in remove_and_add_spares() 10198 spares++; in remove_and_add_spares() 10206 return spares; in remove_and_add_spares() 10209 static bool md_choose_sync_action(struct mddev *mddev, int *spares) in md_choose_sync_action() argument 10237 *spares = remove_and_add_spares(mddev, NULL); in md_choose_sync_action() 10238 if (*spares || test_bit(MD_RECOVERY_LAZY_RECOVER, &mddev->recovery)) { in md_choose_sync_action() 10259 int spares = 0; in md_start_sync() local 10301 if (!md_choose_sync_action(mddev, &spares)) in md_start_sync() 10311 if (spares && md_bitmap_enabled(mddev, true)) in md_start_sync()
|
| H A D | raid10.c | 4363 int spares = 0; in raid10_start_reshape() local 4387 spares++; in raid10_start_reshape() 4404 if (spares < mddev->delta_disks) in raid10_start_reshape()
|
| H A D | raid5.c | 8639 int spares = 0; in raid5_start_reshape() local 8665 spares++; in raid5_start_reshape() 8668 if (spares - mddev->degraded < mddev->delta_disks - conf->max_degraded) in raid5_start_reshape()
|