Lines Matching refs:value_size
83 static int insert_at(size_t value_size, struct btree_node *node, unsigned index, in insert_at() argument
102 array_insert(value_base(node), value_size, nr_entries, index, value); in insert_at()
114 static uint32_t calc_max_entries(size_t value_size, size_t block_size) in calc_max_entries() argument
117 size_t elt_size = sizeof(uint64_t) + value_size; /* key + value */ in calc_max_entries()
146 n->header.value_size = cpu_to_le32(info->value_type.size); in dm_btree_empty()
342 uint64_t *result_key, void *v, size_t value_size) in btree_lookup_raw() argument
366 memcpy(v, value_ptr(ro_node(s), i), value_size); in btree_lookup_raw()
509 size_t value_size = le32_to_cpu(dest->header.value_size); in copy_entries() local
511 memcpy(value_ptr(dest, dest_offset), value_ptr(src, src_offset), count * value_size); in copy_entries()
522 size_t value_size = le32_to_cpu(dest->header.value_size); in move_entries() local
524 memmove(value_ptr(dest, dest_offset), value_ptr(src, src_offset), count * value_size); in move_entries()
665 rn->header.value_size = ln->header.value_size; in split_one_into_two()
765 mn->header.value_size = ln->header.value_size; in split_two_into_three()
855 ln->header.value_size = pn->header.value_size; in btree_split_beneath()
872 rn->header.value_size = pn->header.value_size; in btree_split_beneath()
884 pn->header.value_size = cpu_to_le32(sizeof(__le64)); in btree_split_beneath()