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()
271 uint32_t max_entries = le32_to_cpu(left->header.max_entries); in delete_center_node()
303 uint32_t max_entries = le32_to_cpu(left->header.max_entries); in redistribute3()
351 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in __rebalance3()
352 uint32_t nr_center = le32_to_cpu(center->header.nr_entries); in __rebalance3()
353 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in __rebalance3()
429 *result = le32_to_cpu(n->header.nr_entries); in get_nr_entries()
444 if (le32_to_cpu(n->header.nr_entries) == 1) { in rebalance_children()
471 has_right_sibling = i < (le32_to_cpu(n->header.nr_entries) - 1); in rebalance_children()
490 (i >= le32_to_cpu(n->header.nr_entries)) || in do_leaf()
528 if (le32_to_cpu(n->header.flags) & LEAF_NODE) in remove_raw()
536 if (le32_to_cpu(n->header.flags) & LEAF_NODE) in remove_raw()
577 BUG_ON(index < 0 || index >= le32_to_cpu(n->header.nr_entries)); in dm_btree_remove()