Lines Matching refs:delta_lists
162 delta_list = &delta_zone->delta_lists[first]; in rebalance_delta_zone()
183 delta_list = &delta_zone->delta_lists[middle]; in rebalance_delta_zone()
223 struct delta_list *delta_lists = zone->delta_lists; in uds_reset_delta_index() local
226 memset(delta_lists, 0, in uds_reset_delta_index()
231 delta_lists[zone->list_count + 1].start = list_bits; in uds_reset_delta_index()
232 delta_lists[zone->list_count + 1].size = GUARD_BITS; in uds_reset_delta_index()
240 delta_lists[i].start = offset; in uds_reset_delta_index()
300 vdo_free(vdo_forget(delta_index->delta_zones[z].delta_lists)); in uds_uninitialize_delta_index()
325 &delta_zone->delta_lists); in initialize_delta_zone()
544 delta_zone->delta_lists = NULL; in uds_initialize_delta_index_page()
712 struct delta_list *delta_lists; in uds_pack_delta_index_page() local
722 delta_lists = &delta_zone->delta_lists[first_list + 1]; in uds_pack_delta_index_page()
742 bits = IMMUTABLE_HEADER_SIZE + delta_lists[n_lists].size; in uds_pack_delta_index_page()
763 offset += delta_lists[i].size; in uds_pack_delta_index_page()
769 move_bits(delta_zone->memory, delta_lists[i].start, memory, in uds_pack_delta_index_page()
770 get_immutable_start(memory, i), delta_lists[i].size); in uds_pack_delta_index_page()
785 struct delta_list *delta_lists = delta_zone->delta_lists; in compute_new_list_offsets() local
793 get_delta_list_byte_size(&delta_lists[i]) + spacing); in compute_new_list_offsets()
795 delta_zone->new_offsets[i] += delta_lists[i].start % BITS_PER_BYTE; in compute_new_list_offsets()
803 (delta_zone->size * BITS_PER_BYTE - delta_lists[tail_guard_index].size); in compute_new_list_offsets()
808 struct delta_list *delta_lists; in rebalance_lists() local
813 delta_lists = delta_zone->delta_lists; in rebalance_lists()
815 used_space += get_delta_list_byte_size(&delta_lists[i]); in rebalance_lists()
819 delta_lists[i].start = delta_zone->new_offsets[i]; in rebalance_lists()
942 delta_zone->delta_lists[list_number + 1].size = delta_list_size; in uds_start_restoring_delta_index()
969 delta_list = &delta_zone->delta_lists[list_number + 1]; in restore_delta_list_to_zone()
1095 delta_list = &zone->delta_lists[flush_index + 1]; in flush_delta_list()
1154 delta_list = &delta_zone->delta_lists[i + 1]; in uds_start_saving_delta_index()
1178 delta_list = &delta_zone->delta_lists[i + 1]; in uds_finish_saving_delta_index()
1255 delta_list = &delta_zone->delta_lists[list_number + 1]; in uds_start_delta_index_search()
1550 struct delta_list *delta_lists; in extend_delta_zone() local
1557 delta_lists = delta_zone->delta_lists; in extend_delta_zone()
1560 used_space += get_delta_list_byte_size(&delta_lists[i]); in extend_delta_zone()