Searched refs:leaf1 (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/fs/xfs/ |
D | xfs_dir2_node.c | 739 xfs_dir2_leaf_t *leaf1; /* leaf1 structure */ in xfs_dir2_leafn_order() local 742 leaf1 = leaf1_bp->data; in xfs_dir2_leafn_order() 744 ASSERT(INT_GET(leaf1->hdr.info.magic, ARCH_CONVERT) == XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leafn_order() 746 if (INT_GET(leaf1->hdr.count, ARCH_CONVERT) > 0 && in xfs_dir2_leafn_order() 748 … (INT_GET(leaf2->ents[0].hashval, ARCH_CONVERT) < INT_GET(leaf1->ents[0].hashval, ARCH_CONVERT) || in xfs_dir2_leafn_order() 750 INT_GET(leaf1->ents[INT_GET(leaf1->hdr.count, ARCH_CONVERT) - 1].hashval, ARCH_CONVERT))) in xfs_dir2_leafn_order() 771 xfs_dir2_leaf_t *leaf1; /* first leaf structure */ in xfs_dir2_leafn_rebalance() local 791 leaf1 = blk1->bp->data; in xfs_dir2_leafn_rebalance() 793 oldsum = INT_GET(leaf1->hdr.count, ARCH_CONVERT) + INT_GET(leaf2->hdr.count, ARCH_CONVERT); in xfs_dir2_leafn_rebalance() 795 oldstale = INT_GET(leaf1->hdr.stale, ARCH_CONVERT) + INT_GET(leaf2->hdr.stale, ARCH_CONVERT); in xfs_dir2_leafn_rebalance() [all …]
|
D | xfs_attr_leaf.c | 1143 xfs_attr_leafblock_t *leaf1, *leaf2; in xfs_attr_leaf_rebalance() local 1152 leaf1 = blk1->bp->data; in xfs_attr_leaf_rebalance() 1154 ASSERT(INT_GET(leaf1->hdr.info.magic, ARCH_CONVERT) in xfs_attr_leaf_rebalance() 1171 leaf1 = blk1->bp->data; in xfs_attr_leaf_rebalance() 1175 hdr1 = &leaf1->hdr; in xfs_attr_leaf_rebalance() 1217 xfs_attr_leaf_moveents(leaf1, in xfs_attr_leaf_rebalance() 1251 xfs_attr_leaf_moveents(leaf2, 0, leaf1, in xfs_attr_leaf_rebalance() 1263 INT_GET(leaf1->entries[INT_GET(leaf1->hdr.count, in xfs_attr_leaf_rebalance() 1281 if (blk1->index > INT_GET(leaf1->hdr.count, ARCH_CONVERT)) { in xfs_attr_leaf_rebalance() 1284 - INT_GET(leaf1->hdr.count, ARCH_CONVERT); in xfs_attr_leaf_rebalance() [all …]
|
D | xfs_dir_leaf.c | 1107 xfs_dir_leafblock_t *leaf1, *leaf2; in xfs_dir_leaf_rebalance() local 1116 leaf1 = blk1->bp->data; in xfs_dir_leaf_rebalance() 1118 ASSERT(INT_GET(leaf1->hdr.info.magic, ARCH_CONVERT) == XFS_DIR_LEAF_MAGIC); in xfs_dir_leaf_rebalance() 1129 leaf1 = blk1->bp->data; in xfs_dir_leaf_rebalance() 1133 hdr1 = &leaf1->hdr; in xfs_dir_leaf_rebalance() 1171 xfs_dir_leaf_moveents(leaf1, INT_GET(hdr1->count, ARCH_CONVERT) - count, in xfs_dir_leaf_rebalance() 1201 xfs_dir_leaf_moveents(leaf2, 0, leaf1, (int)INT_GET(hdr1->count, ARCH_CONVERT), in xfs_dir_leaf_rebalance() 1213 …blk1->hashval = INT_GET(leaf1->entries[ INT_GET(leaf1->hdr.count, ARCH_CONVERT)-1 ].hashval, ARCH_… in xfs_dir_leaf_rebalance() 1221 blk2->index = blk1->index - INT_GET(leaf1->hdr.count, ARCH_CONVERT); in xfs_dir_leaf_rebalance() 1238 xfs_dir_leafblock_t *leaf1, *leaf2; in xfs_dir_leaf_figure_balance() local [all …]
|