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

/linux-4.1.27/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.1.27/drivers/md/
H A Dmd.c1136 * for spares (which don't need an event count) */ super_90_validate()
1627 * spares (which don't need an event count) */ super_1_validate()
1964 /* skip spares and non-functional disks */ rdev_for_each()
2015 if (rdev->raid_disk < 0) /* skip spares */ md_integrity_add_rdev()
2201 * if we are allowed to, skip spares which already sync_sbs()
2270 /* just a clean<-> dirty transition, possibly leave spares alone,
2272 * spares after all
2278 /* If the array is degraded, then skipping spares is both
2283 * Pointless because if there are any spares to skip,
2587 * from spares, or by assigning 'slot'. state_store()
5858 * to add "hot spares". They must already have a superblock add_new_disk()
7981 int spares = 0; remove_and_add_spares() local
8008 spares++; rdev_for_each()
8023 spares++; rdev_for_each()
8031 return spares;
8045 /* leave the spares where they are, it shouldn't hurt */ md_start_sync()
8079 * 3/ If recovery has finished, clean up, possibly marking spares active.
8081 * 5/ If array is degraded, try to add spares devices
8082 * 6/ If array has spares or is not in-sync, start a resync thread.
8114 int spares = 0; md_check_recovery() local
8122 * we can activate the spares immediately. md_check_recovery()
8188 * add spares if possible. md_check_recovery()
8200 } else if ((spares = remove_and_add_spares(mddev, NULL))) { md_check_recovery()
8213 if (spares) { md_check_recovery()
8249 /* activate any spares */ md_reap_sync_thread()
H A Draid10.c4041 * This also checks if there are enough spares and adds them raid10_start_reshape()
4043 * We currently require enough spares to make the final raid10_start_reshape()
4055 int spares = 0; raid10_start_reshape() local
4072 spares++; rdev_for_each()
4088 if (spares < mddev->delta_disks)
H A Dmd.h265 * we didn't write it to the spares, then it is safe and simple
H A Draid5.c7292 int spares = 0; raid5_start_reshape() local
7307 spares++; rdev_for_each()
7310 if (spares - mddev->degraded < mddev->delta_disks - conf->max_degraded)
/linux-4.1.27/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.1.27/drivers/scsi/
H A D3w-9xxx.h170 {0x0126, "No spares left"},
/linux-4.1.27/drivers/mtd/
H A Dsm_ftl.c1200 dbg("%d zone(s), each consists of %d blocks (+%d spares)", sm_add_mtd()
/linux-4.1.27/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]
4278 /* allocate spares */ cas_open()
/linux-4.1.27/drivers/usb/atm/
H A Dusbatm.c1170 /* put all tx URBs on the list of spares */ usbatm_usb_probe()
/linux-4.1.27/fs/cifs/
H A Dreaddir.c119 * the wire call either way and this spares us an invalidation. cifs_prime_dcache()

Completed in 576 milliseconds