Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
Ddm-btree.c356 i = search_fn(ro_node(s), key); in btree_lookup_raw()
358 flags = le32_to_cpu(ro_node(s)->header.flags); in btree_lookup_raw()
359 nr_entries = le32_to_cpu(ro_node(s)->header.nr_entries); in btree_lookup_raw()
364 block = value64(ro_node(s), i); in btree_lookup_raw()
368 *result_key = le64_to_cpu(ro_node(s)->keys[i]); in btree_lookup_raw()
369 memcpy(v, value_ptr(ro_node(s), i), value_size); in btree_lookup_raw()
879 flags = le32_to_cpu(ro_node(s)->header.flags); in find_key()
880 i = le32_to_cpu(ro_node(s)->header.nr_entries); in find_key()
887 *result_key = le64_to_cpu(ro_node(s)->keys[i]); in find_key()
889 *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.c170 struct btree_node *ro_node(struct ro_spine *s) in ro_node() function