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() 1869 .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 | 9935 int spares = 0; in remove_and_add_spares() local 9950 spares++; in remove_and_add_spares() 9959 spares++; in remove_and_add_spares() 9967 return spares; in remove_and_add_spares() 9970 static bool md_choose_sync_action(struct mddev *mddev, int *spares) in md_choose_sync_action() argument 9998 *spares = remove_and_add_spares(mddev, NULL); in md_choose_sync_action() 9999 if (*spares || test_bit(MD_RECOVERY_LAZY_RECOVER, &mddev->recovery)) { in md_choose_sync_action() 10020 int spares = 0; in md_start_sync() local 10047 if (!md_choose_sync_action(mddev, &spares)) in md_start_sync() 10057 if (spares && md_bitmap_enabled(mddev, true)) in md_start_sync()
|
| H A D | raid10.c | 4364 int spares = 0; in raid10_start_reshape() local 4381 spares++; in raid10_start_reshape() 4398 if (spares < mddev->delta_disks) in raid10_start_reshape()
|
| H A D | raid5.c | 8470 int spares = 0; in raid5_start_reshape() local 8493 spares++; in raid5_start_reshape() 8496 if (spares - mddev->degraded < mddev->delta_disks - conf->max_degraded) in raid5_start_reshape()
|