Searched refs:element_at (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/md/persistent-data/ |
D | dm-array.c | 96 static void *element_at(struct dm_array_info *info, struct array_block *ab, in element_at() function 114 fn(info->value_type.context, element_at(info, ab, 0), nr_entries); in on_entries() 187 memcpy(element_at(info, ab, i), value, vt->size); in fill_ablock() 208 vt->dec(vt->context, element_at(info, ab, new_nr - 1), delta); in trim_ablock() 713 r = fn(base + i, element_at(info, ab, i), context); in populate_ablock_with_values() 718 vt->inc(vt->context, element_at(info, ab, i), 1); in populate_ablock_with_values() 792 memcpy(value_le, element_at(info, ab, entry), in dm_array_get_value() 826 old_value = element_at(info, ab, entry); in array_set_value() 879 element_at(wi->info, ab, i)); in walk_ablock() 1006 *value_le = element_at(c->info, c->ab, c->index); in dm_array_cursor_get_value()
|