Searched refs:save_leaf (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/fs/xfs/ |
D | xfs_dir_leaf.c | 1607 xfs_dir_leafblock_t *drop_leaf, *save_leaf, *tmp_leaf; in xfs_dir_leaf_unbalance() local 1619 save_leaf = save_blk->bp->data; in xfs_dir_leaf_unbalance() 1621 ASSERT(INT_GET(save_leaf->hdr.info.magic, ARCH_CONVERT) == XFS_DIR_LEAF_MAGIC); in xfs_dir_leaf_unbalance() 1623 save_hdr = &save_leaf->hdr; in xfs_dir_leaf_unbalance() 1641 xfs_dir_leaf_moveents(drop_leaf, 0, save_leaf, 0, in xfs_dir_leaf_unbalance() 1645 save_leaf, INT_GET(save_hdr->count, ARCH_CONVERT), in xfs_dir_leaf_unbalance() 1667 xfs_dir_leaf_moveents(save_leaf, 0, in xfs_dir_leaf_unbalance() 1671 xfs_dir_leaf_moveents(save_leaf, 0, tmp_leaf, 0, in xfs_dir_leaf_unbalance() 1677 memcpy(save_leaf, tmp_leaf, state->blocksize); in xfs_dir_leaf_unbalance() 1687 …save_blk->hashval = INT_GET(save_leaf->entries[ INT_GET(save_leaf->hdr.count, ARCH_CONVERT)-1 ].ha… in xfs_dir_leaf_unbalance()
|
D | xfs_dir2_node.c | 1274 xfs_dir2_leaf_t *save_leaf; /* surviving leaf structure */ in xfs_dir2_leafn_unbalance() local 1280 save_leaf = save_blk->bp->data; in xfs_dir2_leafn_unbalance() 1282 ASSERT(INT_GET(save_leaf->hdr.info.magic, ARCH_CONVERT) == XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leafn_unbalance() 1289 if (INT_GET(save_leaf->hdr.stale, 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() 1301 …save_blk->hashval = INT_GET(save_leaf->ents[INT_GET(save_leaf->hdr.count, ARCH_CONVERT) - 1].hashv… in xfs_dir2_leafn_unbalance()
|
D | xfs_attr_leaf.c | 1717 xfs_attr_leafblock_t *drop_leaf, *save_leaf, *tmp_leaf; in xfs_attr_leaf_unbalance() local 1729 save_leaf = save_blk->bp->data; in xfs_attr_leaf_unbalance() 1732 ASSERT(INT_GET(save_leaf->hdr.info.magic, ARCH_CONVERT) in xfs_attr_leaf_unbalance() 1735 save_hdr = &save_leaf->hdr; 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() 1786 xfs_attr_leaf_moveents(save_leaf, 0, tmp_leaf, in xfs_attr_leaf_unbalance() 1791 xfs_attr_leaf_moveents(save_leaf, 0, tmp_leaf, 0, in xfs_attr_leaf_unbalance() 1799 memcpy((char *)save_leaf, (char *)tmp_leaf, state->blocksize); in xfs_attr_leaf_unbalance() 1810 INT_GET(save_leaf->entries[INT_GET(save_leaf->hdr.count, in xfs_attr_leaf_unbalance()
|