Lines Matching refs:le32_to_cpu
62 uint32_t nr_entries = le32_to_cpu(n->header.nr_entries); in node_shift()
63 uint32_t value_size = le32_to_cpu(n->header.value_size); in node_shift()
76 BUG_ON(nr_entries + shift > le32_to_cpu(n->header.max_entries)); in node_shift()
88 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in node_copy()
89 uint32_t value_size = le32_to_cpu(left->header.value_size); in node_copy()
91 if (value_size != le32_to_cpu(right->header.value_size)) { in node_copy()
99 if (nr_left + shift > le32_to_cpu(left->header.max_entries)) { in node_copy()
111 if (shift > le32_to_cpu(right->header.max_entries)) { in node_copy()
131 unsigned int nr_entries = le32_to_cpu(n->header.nr_entries); in delete_at()
133 uint32_t value_size = le32_to_cpu(n->header.value_size); in delete_at()
152 return le32_to_cpu(n->header.max_entries) / 3; in merge_threshold()
195 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in shift()
196 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in shift()
197 uint32_t max_entries = le32_to_cpu(left->header.max_entries); in shift()
198 uint32_t r_max_entries = le32_to_cpu(right->header.max_entries); in shift()
242 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in __rebalance2()
243 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in __rebalance2()
316 uint32_t max_entries = le32_to_cpu(left->header.max_entries); in delete_center_node()
357 uint32_t max_entries = le32_to_cpu(left->header.max_entries); in redistribute3()
425 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in __rebalance3()
426 uint32_t nr_center = le32_to_cpu(center->header.nr_entries); in __rebalance3()
427 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in __rebalance3()
491 if (le32_to_cpu(n->header.nr_entries) == 1) { in rebalance_children()
520 has_right_sibling = i < (le32_to_cpu(n->header.nr_entries) - 1); in rebalance_children()
539 (i >= le32_to_cpu(n->header.nr_entries)) || in do_leaf()
578 if (le32_to_cpu(n->header.flags) & LEAF_NODE) in remove_raw()
586 if (le32_to_cpu(n->header.flags) & LEAF_NODE) in remove_raw()
627 BUG_ON(index < 0 || index >= le32_to_cpu(n->header.nr_entries)); in dm_btree_remove()
672 if (le32_to_cpu(n->header.flags) & LEAF_NODE) { in remove_nearest()
682 if (le32_to_cpu(n->header.flags) & LEAF_NODE) { in remove_nearest()
733 if (index >= le32_to_cpu(n->header.nr_entries)) { in remove_one()