Lines Matching refs:value_size
83 static int insert_at(size_t value_size, struct btree_node *node, unsigned index, in insert_at() argument
100 array_insert(value_base(node), value_size, nr_entries, index, value); in insert_at()
112 static uint32_t calc_max_entries(size_t value_size, size_t block_size) in calc_max_entries() argument
115 size_t elt_size = sizeof(uint64_t) + value_size; /* key + value */ in calc_max_entries()
144 n->header.value_size = cpu_to_le32(info->value_type.size); in dm_btree_empty()
340 uint64_t *result_key, void *v, size_t value_size) in btree_lookup_raw() argument
364 memcpy(v, value_ptr(ro_node(s), i), value_size); in btree_lookup_raw()
507 size_t value_size = le32_to_cpu(dest->header.value_size); in copy_entries() local
509 memcpy(value_ptr(dest, dest_offset), value_ptr(src, src_offset), count * value_size); in copy_entries()
520 size_t value_size = le32_to_cpu(dest->header.value_size); in move_entries() local
522 memmove(value_ptr(dest, dest_offset), value_ptr(src, src_offset), count * value_size); in move_entries()
663 rn->header.value_size = ln->header.value_size; in split_one_into_two()
763 mn->header.value_size = ln->header.value_size; in split_two_into_three()
853 ln->header.value_size = pn->header.value_size; in btree_split_beneath()
870 rn->header.value_size = pn->header.value_size; in btree_split_beneath()
882 pn->header.value_size = cpu_to_le32(sizeof(__le64)); in btree_split_beneath()