Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/persistent-data/
H A Ddm-btree.c355 i = search_fn(ro_node(s), key); in btree_lookup_raw()
357 flags = le32_to_cpu(ro_node(s)->header.flags); in btree_lookup_raw()
363 block = value64(ro_node(s), i); in btree_lookup_raw()
367 *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()
1351 flags = le32_to_cpu(ro_node(s)->header.flags); in find_key()
1352 i = le32_to_cpu(ro_node(s)->header.nr_entries); in find_key()
1359 *result_key = le64_to_cpu(ro_node(s)->keys[i]); in find_key()
1361 *result_key = le64_to_cpu(ro_node(s)->keys[0]); in find_key()
1365 block = value64(ro_node(s), i); in find_key()
[all …]
H A Ddm-btree-internal.h75 struct btree_node *ro_node(struct ro_spine *s);
H A Ddm-btree-spine.c164 struct btree_node *ro_node(struct ro_spine *s) in ro_node() function