Home
last modified time | relevance | path

Searched refs:ro_node (Results 1 – 3 of 3) sorted by relevance

/drivers/md/persistent-data/
Ddm-btree.c352 i = search_fn(ro_node(s), key); in btree_lookup_raw()
354 flags = le32_to_cpu(ro_node(s)->header.flags); in btree_lookup_raw()
355 nr_entries = le32_to_cpu(ro_node(s)->header.nr_entries); in btree_lookup_raw()
360 block = value64(ro_node(s), i); in btree_lookup_raw()
364 *result_key = le64_to_cpu(ro_node(s)->keys[i]); in btree_lookup_raw()
366 memcpy(v, value_ptr(ro_node(s), i), value_size); in btree_lookup_raw()
1340 flags = le32_to_cpu(ro_node(s)->header.flags); in find_key()
1341 i = le32_to_cpu(ro_node(s)->header.nr_entries); in find_key()
1348 *result_key = le64_to_cpu(ro_node(s)->keys[i]); in find_key()
1350 *result_key = le64_to_cpu(ro_node(s)->keys[0]); in find_key()
[all …]
Ddm-btree-internal.h74 struct btree_node *ro_node(struct ro_spine *s);
Ddm-btree-spine.c164 struct btree_node *ro_node(struct ro_spine *s) in ro_node() function