Lines Matching defs:bn
1003 struct btree_node *bn = dm_block_data(n->b);
1008 nr = le32_to_cpu(bn->header.nr_entries);
1010 memcpy(&value_le, value_ptr(bn, i), sizeof(value_le));
1018 struct btree_node *bn = dm_block_data(n->b);
1020 return le32_to_cpu(bn->header.flags) & LEAF_NODE;
1055 struct btree_node *bn;
1062 bn = dm_block_data(n->b);
1065 if (n->index < le32_to_cpu(bn->header.nr_entries))
1078 struct btree_node *bn;
1083 bn = dm_block_data(n->b);
1085 if (le32_to_cpu(bn->header.flags) & LEAF_NODE)
1088 memcpy(&value_le, value_ptr(bn, n->index), sizeof(value_le));
1096 if (!r && (le32_to_cpu(bn->header.nr_entries) == 0))
1155 struct btree_node *bn = dm_block_data(n->b);
1157 if (le32_to_cpu(bn->header.flags) & INTERNAL_NODE)
1160 *key = le64_to_cpu(*key_ptr(bn, n->index));
1161 memcpy(value_le, value_ptr(bn, n->index), c->info->value_type.size);