Lines Matching refs:list_number

424 static inline u32 get_immutable_header_offset(u32 list_number)  in get_immutable_header_offset()  argument
427 list_number * IMMUTABLE_HEADER_SIZE; in get_immutable_header_offset()
431 static inline u32 get_immutable_start(const u8 *memory, u32 list_number) in get_immutable_start() argument
433 return get_field(memory, get_immutable_header_offset(list_number), in get_immutable_start()
438 static inline void set_immutable_start(u8 *memory, u32 list_number, u32 start) in set_immutable_start() argument
440 set_field(start, memory, get_immutable_header_offset(list_number), in set_immutable_start()
922 u32 list_number; in uds_start_restoring_delta_index() local
938 list_number = first_list[z] + i; in uds_start_restoring_delta_index()
939 zone_number = list_number / delta_index->lists_per_zone; in uds_start_restoring_delta_index()
941 list_number -= delta_zone->first_list; in uds_start_restoring_delta_index()
942 delta_zone->delta_lists[list_number + 1].size = delta_list_size; in uds_start_restoring_delta_index()
960 u32 list_number = save_info->index - delta_zone->first_list; in restore_delta_list_to_zone() local
962 if (list_number >= delta_zone->list_count) { in restore_delta_list_to_zone()
969 delta_list = &delta_zone->delta_lists[list_number + 1]; in restore_delta_list_to_zone()
1231 int uds_start_delta_index_search(const struct delta_index *delta_index, u32 list_number, in uds_start_delta_index_search() argument
1239 result = VDO_ASSERT((list_number < delta_index->list_count), in uds_start_delta_index_search()
1240 "Delta list number (%u) is out of range (%u)", list_number, in uds_start_delta_index_search()
1245 zone_number = list_number / delta_index->lists_per_zone; in uds_start_delta_index_search()
1247 list_number -= delta_zone->first_list; in uds_start_delta_index_search()
1248 result = VDO_ASSERT((list_number < delta_zone->list_count), in uds_start_delta_index_search()
1250 list_number, delta_zone->list_count, zone_number); in uds_start_delta_index_search()
1255 delta_list = &delta_zone->delta_lists[list_number + 1]; in uds_start_delta_index_search()
1264 delta_list->start = get_immutable_start(delta_zone->memory, list_number); in uds_start_delta_index_search()
1265 end_offset = get_immutable_start(delta_zone->memory, list_number + 1); in uds_start_delta_index_search()
1292 delta_entry->list_number = list_number; in uds_start_delta_index_search()
1439 int uds_get_delta_index_entry(const struct delta_index *delta_index, u32 list_number, in uds_get_delta_index_entry() argument
1445 result = uds_start_delta_index_search(delta_index, list_number, key, in uds_get_delta_index_entry()
1630 u32 growing_index = delta_entry->list_number + 1; in insert_bits()
1964 delta_entry->list_number, delta_entry->key, in uds_log_delta_index_entry()