Lines Matching refs:le32_to_cpu

58 	uint32_t nr_entries = le32_to_cpu(n->header.nr_entries);  in node_shift()
59 uint32_t value_size = le32_to_cpu(n->header.value_size); in node_shift()
72 BUG_ON(nr_entries + shift > le32_to_cpu(n->header.max_entries)); in node_shift()
84 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in node_copy()
85 uint32_t value_size = le32_to_cpu(left->header.value_size); in node_copy()
86 BUG_ON(value_size != le32_to_cpu(right->header.value_size)); in node_copy()
90 BUG_ON(nr_left + shift > le32_to_cpu(left->header.max_entries)); in node_copy()
98 BUG_ON(shift > le32_to_cpu(right->header.max_entries)); in node_copy()
113 unsigned nr_entries = le32_to_cpu(n->header.nr_entries); in delete_at()
115 uint32_t value_size = le32_to_cpu(n->header.value_size); in delete_at()
133 return le32_to_cpu(n->header.max_entries) / 3; in merge_threshold()
175 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in shift()
176 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in shift()
177 uint32_t max_entries = le32_to_cpu(left->header.max_entries); in shift()
178 uint32_t r_max_entries = le32_to_cpu(right->header.max_entries); in shift()
204 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in __rebalance2()
205 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in __rebalance2()
268 uint32_t max_entries = le32_to_cpu(left->header.max_entries); in delete_center_node()
300 uint32_t max_entries = le32_to_cpu(left->header.max_entries); in redistribute3()
348 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in __rebalance3()
349 uint32_t nr_center = le32_to_cpu(center->header.nr_entries); in __rebalance3()
350 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in __rebalance3()
410 if (le32_to_cpu(n->header.nr_entries) == 1) { in rebalance_children()
431 has_right_sibling = i < (le32_to_cpu(n->header.nr_entries) - 1); in rebalance_children()
450 (i >= le32_to_cpu(n->header.nr_entries)) || in do_leaf()
488 if (le32_to_cpu(n->header.flags) & LEAF_NODE) in remove_raw()
496 if (le32_to_cpu(n->header.flags) & LEAF_NODE) in remove_raw()
537 BUG_ON(index < 0 || index >= le32_to_cpu(n->header.nr_entries)); in dm_btree_remove()
580 if (le32_to_cpu(n->header.flags) & LEAF_NODE) { in remove_nearest()
590 if (le32_to_cpu(n->header.flags) & LEAF_NODE) { in remove_nearest()
641 if (index >= le32_to_cpu(n->header.nr_entries)) { in remove_one()