Home
last modified time | relevance | path

Searched refs:spares (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/nvdimm/test/
H A Dnfit_test.h118 __u8 spares; member
129 __u8 spares; member
140 __u8 spares; member
H A Dnfit.c158 .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 Dintel.h21 u8 spares; member
/linux/drivers/md/
H A Dmd.c10083 int spares = 0; in remove_and_add_spares() local
10098 spares++; in remove_and_add_spares()
10107 spares++; in remove_and_add_spares()
10115 return spares; in remove_and_add_spares()
10118 static bool md_choose_sync_action(struct mddev *mddev, int *spares) in md_choose_sync_action() argument
10146 *spares = remove_and_add_spares(mddev, NULL); in md_choose_sync_action()
10147 if (*spares || test_bit(MD_RECOVERY_LAZY_RECOVER, &mddev->recovery)) { in md_choose_sync_action()
10168 int spares = 0; in md_start_sync() local
10195 if (!md_choose_sync_action(mddev, &spares)) in md_start_sync()
10205 if (spares && md_bitmap_enabled(mddev, true)) in md_start_sync()
H A Draid10.c4366 int spares = 0; in raid10_start_reshape() local
4383 spares++; in raid10_start_reshape()
4400 if (spares < mddev->delta_disks) in raid10_start_reshape()
H A Draid5.c8482 int spares = 0; in raid5_start_reshape() local
8505 spares++; in raid5_start_reshape()
8508 if (spares - mddev->degraded < mddev->delta_disks - conf->max_degraded) in raid5_start_reshape()