Home
last modified time | relevance | path

Searched refs:delta_index (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/md/dm-vdo/indexer/
H A Ddelta-index.h91 struct delta_index { struct
116 struct delta_index delta_index; member
201 int __must_check uds_initialize_delta_index(struct delta_index *delta_index,
211 void uds_uninitialize_delta_index(struct delta_index *delta_index);
213 void uds_reset_delta_index(const struct delta_index *delta_index);
215 int __must_check uds_pack_delta_index_page(const struct delta_index *delta_index,
221 int __must_check uds_start_restoring_delta_index(struct delta_index *delta_index,
225 int __must_check uds_finish_restoring_delta_index(struct delta_index *delta_index,
232 int __must_check uds_start_saving_delta_index(const struct delta_index *delta_index,
236 int __must_check uds_finish_saving_delta_index(const struct delta_index *delta_index,
[all …]
H A Ddelta-index.c208 void uds_reset_delta_index(const struct delta_index *delta_index) in uds_reset_delta_index() argument
217 for (z = 0; z < delta_index->zone_count; z++) { in uds_reset_delta_index()
222 struct delta_zone *zone = &delta_index->delta_zones[z]; in uds_reset_delta_index()
291 void uds_uninitialize_delta_index(struct delta_index *delta_index) in uds_uninitialize_delta_index() argument
295 if (delta_index->delta_zones == NULL) in uds_uninitialize_delta_index()
298 for (z = 0; z < delta_index->zone_count; z++) { in uds_uninitialize_delta_index()
299 vdo_free(vdo_forget(delta_index->delta_zones[z].new_offsets)); in uds_uninitialize_delta_index()
300 vdo_free(vdo_forget(delta_index->delta_zones[z].delta_lists)); in uds_uninitialize_delta_index()
301 vdo_free(vdo_forget(delta_index->delta_zones[z].memory)); in uds_uninitialize_delta_index()
304 vdo_free(delta_index->delta_zones); in uds_uninitialize_delta_index()
[all …]
H A Dvolume-index.c188 return extract_dlist_num(sub_index, name) / sub_index->delta_index.lists_per_zone; in get_volume_sub_index_zone()
284 uds_uninitialize_delta_index(&sub_index->delta_index); in uninitialize_volume_sub_index()
425 result = uds_start_delta_index_search(&sub_index->delta_index, list_number, 0, in get_volume_index_entry()
493 record->zone_number = delta_list_number / sub_index->delta_index.lists_per_zone; in get_volume_sub_index_record()
511 result = uds_get_delta_index_entry(&sub_index->delta_index, in get_volume_sub_index_record()
637 delta_zone = &sub_index->delta_index.delta_zones[zone_number]; in set_volume_sub_index_zone_open_chapter()
757 result = uds_get_delta_index_entry(&sub_index->delta_index, delta_list_number, in lookup_volume_sub_index_name()
795 uds_reset_delta_index(&sub_index->delta_index); in abort_restoring_volume_sub_index()
891 result = uds_start_restoring_delta_index(&sub_index->delta_index, readers, in start_restoring_volume_sub_index()
961 return uds_finish_restoring_delta_index(&sub_index->delta_index, in finish_restoring_volume_sub_index()
[all …]
H A Dchapter-index.h26 struct delta_index delta_index; member
H A Dvolume-index.h59 struct delta_index delta_index; member
/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c1505 struct fixed31_32 delta_index; in apply_lut_1d() local
1553 delta_index = dc_fixpt_sub(norm_y, index_f); in apply_lut_1d()
1556 dc_fixpt_mul(delta_index, delta_lut)); in apply_lut_1d()
1703 struct fixed31_32 delta_index; in interpolate_user_regamma() local
1757 delta_index = dc_fixpt_sub(norm_x, index_f); in interpolate_user_regamma()
1760 dc_fixpt_mul(delta_index, delta_lut)); in interpolate_user_regamma()