Lines Matching defs:number
28 * We group bitmap updates into batches. Each batch has a number.
30 * conf->bm_write is the number of the last batch successfully written.
31 * conf->bm_flush is the number of the last batch that was closed to
35 * the number of the batch it will be in. This is bm_flush+1.
399 * If the reshape increases the number of devices,
402 * If the number of devices is being reduced however,
423 * If reshape increases the number of devices, this
886 * slot number conversion for 'faila' and 'failb'
1363 * @num - total number of disks in the array
1389 * 1/ create a new kmem_cache and allocate the required number of
1722 * Input: a 'big' sector number,
1746 * Compute the chunk number and the sector offset inside the chunk
1752 * Compute the stripe number
1921 * Finally, compute the new sector number
4230 * Maybe that number should be configurable, but I'm not sure it is
5196 * number of raid devices
5352 static int raid5_remove_disk(mddev_t *mddev, int number)
5357 struct disk_info *p = conf->disks + number;
5362 if (number >= conf->raid_disks &&
5376 number < conf->raid_disks) {
5548 "before number of disks\n", mdname(mddev));
5570 * Don't add devices if we are reducing the number of
5594 /* When a reshape changes the number of devices, ->degraded
5595 * is measured against the larger of the pre and post number of
5642 * 2 * (datadisks) * chunksize where 'n' is the number of raid devices