Lines Matching refs:value
176 const void *value, unsigned int new_nr) in fill_ablock() argument
187 vt->inc(vt->context, value, delta); in fill_ablock()
189 memcpy(element_at(info, ab, i), value, vt->size); in fill_ablock()
352 const void *value, dm_block_t *root) in insert_new_ablock() argument
362 fill_ablock(info, ab, value, nr); in insert_new_ablock()
371 unsigned int max_entries, const void *value, in insert_full_ablocks() argument
377 r = insert_new_ablock(info, size_of_block, max_entries, begin_block, max_entries, value, root); in insert_full_ablocks()
425 const void *value; member
515 fill_ablock(resize->info, ab, resize->value, new_nr_entries); in grow_extend_tail_block()
527 resize->value, &resize->root); in grow_add_tail_block()
546 resize->max_entries, resize->value, in grow_needs_more_blocks()
575 static void block_inc(void *context, const void *value, unsigned int count) in block_inc() argument
577 const __le64 *block_le = value; in block_inc()
585 static void __block_dec(void *context, const void *value) in __block_dec() argument
595 memcpy(&block_le, value, sizeof(block_le)); in __block_dec()
624 static void block_dec(void *context, const void *value, unsigned int count) in block_dec() argument
628 for (i = 0; i < count; i++, value += sizeof(__le64)) in block_dec()
629 __block_dec(context, value); in block_dec()
665 const void *value, dm_block_t *new_root) in array_resize() argument
685 resize.value = value; in array_resize()
697 const void *value, dm_block_t *new_root) in dm_array_resize() argument
698 __dm_written_to_disk(value) in dm_array_resize()
700 int r = array_resize(info, root, old_size, new_size, value, new_root); in dm_array_resize()
702 __dm_unbless_for_disk(value); in dm_array_resize()
807 uint32_t index, const void *value, dm_block_t *new_root) in array_set_value() argument
834 (!vt->equal || !vt->equal(vt->context, old_value, value))) { in array_set_value()
837 vt->inc(vt->context, value, 1); in array_set_value()
840 memcpy(old_value, value, info->value_type.size); in array_set_value()
848 uint32_t index, const void *value, dm_block_t *new_root) in dm_array_set_value() argument
849 __dm_written_to_disk(value) in dm_array_set_value()
853 r = array_set_value(info, root, index, value, new_root); in dm_array_set_value()
854 __dm_unbless_for_disk(value); in dm_array_set_value()