Lines Matching refs:band
39 * 2) a band map to map a "band" within the original file to a corresponding
40 * "band" in the shadow file. Each band has the same size.
42 * The band map is used to ensure that blocks that are contiguous in the
81 /* a band size of 128K can represent a file up to 8GB */
93 band_number_t * bands; /* band map array */
96 uint32_t next_band; /* next free band */
97 uint32_t zeroth_band; /* special-case 0th band */
321 * Return the mapped band for the given band.
322 * If map_it is FALSE, and the band is not mapped, return FALSE.
326 shadow_map_mapped_band(shadow_map_t * map, band_number_t band,
331 if (band == map->zeroth_band) {
336 *mapped_band = map->bands[band];
341 /* remember the zero'th band */
342 map->zeroth_band = band;
344 *mapped_band = map->bands[band] = map->next_band++;
360 * that is not a contiguous mapped band.
368 band_number_t band = shadow_map_block_to_band(map, start_block);
375 is_mapped = shadow_map_mapped_band(map, band, is_write, &mapped_band);
390 band++;
391 is_mapped = shadow_map_mapped_band(map, band, is_write,
441 * Blocks within a band may or may not have been written, in addition,
560 * and the band mapping table.
594 /* get the band map */