Searched refs:element_at (Results 1 – 1 of 1) sorted by relevance
/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 116 fn(info->value_type.context, element_at(info, ab, i)); in on_entries() 189 memcpy(element_at(info, ab, i), value, vt->size); in fill_ablock() 212 vt->dec(vt->context, element_at(info, ab, i - 1)); in trim_ablock() 709 r = fn(base + i, element_at(info, ab, i), context); in populate_ablock_with_values() 714 vt->inc(vt->context, element_at(info, ab, i)); in populate_ablock_with_values() 788 memcpy(value_le, element_at(info, ab, entry), in dm_array_get_value() 822 old_value = element_at(info, ab, entry); in array_set_value() 875 element_at(wi->info, ab, i)); in walk_ablock() 1002 *value_le = element_at(c->info, c->ab, c->index); in dm_array_cursor_get_value()
|