Lines Matching defs:chunk
133 * chunk size is a multiple of that sector size
328 sector_t chunk;
335 /* find the sector offset inside the chunk */
338 /* chunk in zone */
339 chunk = *sector_offset;
340 /* quotient is the chunk in real device*/
341 sector_div(chunk, zone->nb_dev << chunksect_bits);
344 chunk = *sector_offset;
345 sector_div(chunk, chunk_sects * zone->nb_dev);
349 * real sector = chunk in device + starting of zone
350 * + the position in the chunk
352 *sector_offset = (chunk * chunk_sects) + sect_in_chunk;
380 pr_warn("md/raid0:%s: chunk size must be set.\n", mdname(mddev));
739 * a raid1 doesn't have the notion of chunk size, so
749 /* array size does not allow a suitable chunk size */