Lines Matching refs:bands
93 band_number_t * bands; /* band map array */
94 uint32_t file_size_blocks; /* size of file in bands */
95 uint32_t shadow_size_bands; /* size of shadow in bands */
336 *mapped_band = map->bands[band];
344 *mapped_band = map->bands[band] = map->next_band++;
362 * If called with is_write = TRUE, this function will map bands as it goes.
473 mapped_band = map->bands[shadow_map_block_to_band(map, block_offset)];
519 mapped_band = map->bands[shadow_map_block_to_band(map, block_offset)];
570 band_number_t * bands = NULL;
595 bands = (band_number_t *)my_malloc(n_bands * sizeof(band_number_t));
596 if (bands == NULL) {
597 printf("failed to allocate bands\n");
600 bzero(bands, n_bands * sizeof(band_number_t));
609 map->bands = bands;
620 if (bands)
621 my_free(bands);
635 if (map->bands)
636 my_free(map->bands);
638 map->bands = NULL;