Searched refs:element_at (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-array.c | 97 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, 0), nr_entries); in on_entries() 189 memcpy(element_at(info, ab, i), value, vt->size); in fill_ablock() 210 vt->dec(vt->context, element_at(info, ab, new_nr - 1), delta); in trim_ablock() 719 r = fn(base + i, element_at(info, ab, i), context); in populate_ablock_with_values() 724 vt->inc(vt->context, element_at(info, ab, i), 1); in populate_ablock_with_values() 798 memcpy(value_le, element_at(info, ab, entry), in dm_array_get_value() 832 old_value = element_at(info, ab, entry); in array_set_value() 885 element_at(wi->info, ab, i)); in walk_ablock() 1012 *value_le = element_at(c->info, c->ab, c->index); in dm_array_cursor_get_value()
|