Home
last modified time | relevance | path

Searched refs:drop_leaf (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_dir2_node.c1273 xfs_dir2_leaf_t *drop_leaf; /* dead leaf structure */ in xfs_dir2_leafn_unbalance() local
1279 drop_leaf = drop_blk->bp->data; in xfs_dir2_leafn_unbalance()
1281 ASSERT(INT_GET(drop_leaf->hdr.info.magic, ARCH_CONVERT) == XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leafn_unbalance()
1287 if (INT_GET(drop_leaf->hdr.stale, ARCH_CONVERT)) in xfs_dir2_leafn_unbalance()
1294 …drop_blk->hashval = INT_GET(drop_leaf->ents[INT_GET(drop_leaf->hdr.count, ARCH_CONVERT) - 1].hashv… in xfs_dir2_leafn_unbalance()
1297 INT_GET(drop_leaf->hdr.count, ARCH_CONVERT)); in xfs_dir2_leafn_unbalance()
1300 INT_GET(save_leaf->hdr.count, ARCH_CONVERT), INT_GET(drop_leaf->hdr.count, ARCH_CONVERT)); in xfs_dir2_leafn_unbalance()
Dxfs_dir_leaf.c1607 xfs_dir_leafblock_t *drop_leaf, *save_leaf, *tmp_leaf; in xfs_dir_leaf_unbalance() local
1618 drop_leaf = drop_blk->bp->data; in xfs_dir_leaf_unbalance()
1620 ASSERT(INT_GET(drop_leaf->hdr.info.magic, ARCH_CONVERT) == XFS_DIR_LEAF_MAGIC); in xfs_dir_leaf_unbalance()
1622 drop_hdr = &drop_leaf->hdr; in xfs_dir_leaf_unbalance()
1628 drop_blk->hashval = INT_GET(drop_leaf->entries[ drop_leaf->hdr.count-1 ].hashval, ARCH_CONVERT); in xfs_dir_leaf_unbalance()
1641 xfs_dir_leaf_moveents(drop_leaf, 0, save_leaf, 0, in xfs_dir_leaf_unbalance()
1644 xfs_dir_leaf_moveents(drop_leaf, 0, in xfs_dir_leaf_unbalance()
1665 xfs_dir_leaf_moveents(drop_leaf, 0, tmp_leaf, 0, in xfs_dir_leaf_unbalance()
1673 xfs_dir_leaf_moveents(drop_leaf, 0, in xfs_dir_leaf_unbalance()
Dxfs_attr_leaf.c1717 xfs_attr_leafblock_t *drop_leaf, *save_leaf, *tmp_leaf; in xfs_attr_leaf_unbalance() local
1728 drop_leaf = drop_blk->bp->data; in xfs_attr_leaf_unbalance()
1730 ASSERT(INT_GET(drop_leaf->hdr.info.magic, ARCH_CONVERT) in xfs_attr_leaf_unbalance()
1734 drop_hdr = &drop_leaf->hdr; in xfs_attr_leaf_unbalance()
1741 INT_GET(drop_leaf->entries[INT_GET(drop_leaf->hdr.count, in xfs_attr_leaf_unbalance()
1756 xfs_attr_leaf_moveents(drop_leaf, 0, save_leaf, 0, in xfs_attr_leaf_unbalance()
1759 xfs_attr_leaf_moveents(drop_leaf, 0, save_leaf, in xfs_attr_leaf_unbalance()
1783 xfs_attr_leaf_moveents(drop_leaf, 0, tmp_leaf, 0, in xfs_attr_leaf_unbalance()
1794 xfs_attr_leaf_moveents(drop_leaf, 0, tmp_leaf, in xfs_attr_leaf_unbalance()