Home
last modified time | relevance | path

Searched refs:delta_entry (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/md/dm-vdo/indexer/
Ddelta-index.c1213 static int assert_not_at_end(const struct delta_index_entry *delta_entry) in assert_not_at_end() argument
1215 int result = VDO_ASSERT(!delta_entry->at_end, in assert_not_at_end()
1232 u32 key, struct delta_index_entry *delta_entry) in uds_start_delta_index_search() argument
1263 delta_list = &delta_entry->temp_delta_list; in uds_start_delta_index_search()
1272 delta_entry->key = delta_list->save_key; in uds_start_delta_index_search()
1273 delta_entry->offset = delta_list->save_offset; in uds_start_delta_index_search()
1275 delta_entry->key = 0; in uds_start_delta_index_search()
1276 delta_entry->offset = 0; in uds_start_delta_index_search()
1287 delta_entry->at_end = false; in uds_start_delta_index_search()
1288 delta_entry->delta_zone = delta_zone; in uds_start_delta_index_search()
[all …]
Ddelta-index.h248 int __must_check uds_next_delta_index_entry(struct delta_index_entry *delta_entry);
250 int __must_check uds_remember_delta_index_offset(const struct delta_index_entry *delta_entry);
254 struct delta_index_entry *delta_entry);
256 int __must_check uds_get_delta_entry_collision(const struct delta_index_entry *delta_entry,
259 u32 __must_check uds_get_delta_entry_value(const struct delta_index_entry *delta_entry);
261 int __must_check uds_set_delta_entry_value(const struct delta_index_entry *delta_entry, u32 value);
263 int __must_check uds_put_delta_index_entry(struct delta_index_entry *delta_entry, u32 key,
266 int __must_check uds_remove_delta_index_entry(struct delta_index_entry *delta_entry);
277 void uds_log_delta_index_entry(struct delta_index_entry *delta_entry);
Dvolume-index.c393 result = uds_next_delta_index_entry(&record->delta_entry); in flush_invalid_entries()
397 while (!record->delta_entry.at_end) { in flush_invalid_entries()
398 u32 index_chapter = uds_get_delta_entry_value(&record->delta_entry); in flush_invalid_entries()
408 result = uds_remove_delta_index_entry(&record->delta_entry); in flush_invalid_entries()
426 &record->delta_entry); in get_volume_index_entry()
435 } while (!record->delta_entry.at_end && (key > record->delta_entry.key)); in get_volume_index_entry()
437 result = uds_remember_delta_index_offset(&record->delta_entry); in get_volume_index_entry()
443 if (!other_record.delta_entry.at_end && (key == other_record.delta_entry.key)) { in get_volume_index_entry()
452 if (other_record.delta_entry.at_end || in get_volume_index_entry()
453 !other_record.delta_entry.is_collision) in get_volume_index_entry()
[all …]
Dvolume-index.h137 struct delta_index_entry delta_entry; member