Searched refs:spares (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/fs/ufs/
H A Dufs_fs.h393 __fs32 fs_npsect; /* # sectors/track including spares */
473 __fs32 fs_npsect; /* # sectors/track including spares */
757 __u32 s_npsect; /* # sectors/track including spares */
937 __fs32 fs_npsect; /* # sectors/track including spares */
/linux-4.4.14/drivers/md/
H A Dmd.c1121 * for spares (which don't need an event count) */ super_90_validate()
1612 * spares (which don't need an event count) */ super_1_validate()
1988 /* skip spares and non-functional disks */ rdev_for_each()
2225 * if we are allowed to, skip spares which already sync_sbs()
2348 /* just a clean<-> dirty transition, possibly leave spares alone,
2350 * spares after all
2356 /* If the array is degraded, then skipping spares is both
2361 * Pointless because if there are any spares to skip,
2674 * from spares, or by assigning 'slot'. state_store()
5321 * via sysfs - until a lack of spares is confirmed.
6001 * to add "hot spares". They must already have a superblock add_new_disk()
8144 int spares = 0; remove_and_add_spares() local
8177 spares++; rdev_for_each()
8194 spares++; rdev_for_each()
8202 return spares;
8227 /* leave the spares where they are, it shouldn't hurt */ md_start_sync()
8261 * 3/ If recovery has finished, clean up, possibly marking spares active.
8263 * 5/ If array is degraded, try to add spares devices
8264 * 6/ If array has spares or is not in-sync, start a resync thread.
8296 int spares = 0; md_check_recovery() local
8313 * we can activate the spares immediately. md_check_recovery()
8376 * add spares if possible. md_check_recovery()
8388 } else if ((spares = remove_and_add_spares(mddev, NULL))) { md_check_recovery()
8401 if (spares) { md_check_recovery()
8437 /* activate any spares */ md_reap_sync_thread()
H A Draid10.c3969 * This also checks if there are enough spares and adds them raid10_start_reshape()
3971 * We currently require enough spares to make the final raid10_start_reshape()
3983 int spares = 0; raid10_start_reshape() local
4000 spares++; rdev_for_each()
4016 if (spares < mddev->delta_disks)
H A Dmd.h275 * we didn't write it to the spares, then it is safe and simple
H A Draid5.c7379 int spares = 0; raid5_start_reshape() local
7394 spares++; rdev_for_each()
7397 if (spares - mddev->degraded < mddev->delta_disks - conf->max_degraded)
/linux-4.4.14/fs/hpfs/
H A Dhpfs.h158 __le32 n_spares; /* number of spares in hotfix map */
191 Maybe they're spares for 16 and 17, but simple substitution fails. */
/linux-4.4.14/drivers/scsi/
H A D3w-9xxx.h170 {0x0126, "No spares left"},
/linux-4.4.14/drivers/usb/atm/
H A Dusbatm.c1172 /* put all tx URBs on the list of spares */ usbatm_usb_probe()
/linux-4.4.14/drivers/mtd/
H A Dsm_ftl.c1200 dbg("%d zone(s), each consists of %d blocks (+%d spares)", sm_add_mtd()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dcassini.c556 /* replenish spares if needed */ cas_spare_recover()
615 /* we still need spares, so try to allocate some */ cas_spare_recover()
1366 /* NOTE: we use the ENC RX DESC ring for spares. the rx_page[0,1]
4277 /* allocate spares */ cas_open()
/linux-4.4.14/fs/cifs/
H A Dreaddir.c119 * the wire call either way and this spares us an invalidation. cifs_prime_dcache()

Completed in 542 milliseconds