Lines Matching refs:bn
1472 struct btree_node *bn = dm_block_data(n->b);
1477 nr = le32_to_cpu(bn->header.nr_entries);
1479 memcpy(&value_le, value_ptr(bn, i), sizeof(value_le));
1487 struct btree_node *bn = dm_block_data(n->b);
1489 return le32_to_cpu(bn->header.flags) & LEAF_NODE;
1524 struct btree_node *bn;
1531 bn = dm_block_data(n->b);
1534 if (n->index < le32_to_cpu(bn->header.nr_entries))
1547 struct btree_node *bn;
1552 bn = dm_block_data(n->b);
1554 if (le32_to_cpu(bn->header.flags) & LEAF_NODE)
1557 memcpy(&value_le, value_ptr(bn, n->index), sizeof(value_le));
1565 if (!r && (le32_to_cpu(bn->header.nr_entries) == 0))
1625 struct btree_node *bn = dm_block_data(n->b);
1627 if (le32_to_cpu(bn->header.flags) & INTERNAL_NODE)
1630 *key = le64_to_cpu(*key_ptr(bn, n->index));
1631 memcpy(value_le, value_ptr(bn, n->index), c->info->value_type.size);