Searched refs:leaf2 (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/fs/xfs/ |
D | xfs_dir_leaf.c | 1107 xfs_dir_leafblock_t *leaf1, *leaf2; in xfs_dir_leaf_rebalance() local 1117 leaf2 = blk2->bp->data; in xfs_dir_leaf_rebalance() 1119 ASSERT(INT_GET(leaf2->hdr.info.magic, ARCH_CONVERT) == XFS_DIR_LEAF_MAGIC); in xfs_dir_leaf_rebalance() 1130 leaf2 = blk2->bp->data; in xfs_dir_leaf_rebalance() 1134 hdr2 = &leaf2->hdr; in xfs_dir_leaf_rebalance() 1172 leaf2, 0, count, state->mp); 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() 1214 …blk2->hashval = INT_GET(leaf2->entries[ INT_GET(leaf2->hdr.count, ARCH_CONVERT)-1 ].hashval, ARCH_… in xfs_dir_leaf_rebalance() 1238 xfs_dir_leafblock_t *leaf1, *leaf2; in xfs_dir_leaf_figure_balance() local 1248 leaf2 = blk2->bp->data; in xfs_dir_leaf_figure_balance() [all …]
|
D | xfs_attr_leaf.c | 1143 xfs_attr_leafblock_t *leaf1, *leaf2; in xfs_attr_leaf_rebalance() local 1153 leaf2 = blk2->bp->data; in xfs_attr_leaf_rebalance() 1156 ASSERT(INT_GET(leaf2->hdr.info.magic, ARCH_CONVERT) in xfs_attr_leaf_rebalance() 1172 leaf2 = blk2->bp->data; in xfs_attr_leaf_rebalance() 1176 hdr2 = &leaf2->hdr; in xfs_attr_leaf_rebalance() 1219 leaf2, 0, count, state->mp); in xfs_attr_leaf_rebalance() 1251 xfs_attr_leaf_moveents(leaf2, 0, leaf1, in xfs_attr_leaf_rebalance() 1266 INT_GET(leaf2->entries[INT_GET(leaf2->hdr.count, in xfs_attr_leaf_rebalance() 1319 xfs_attr_leafblock_t *leaf1, *leaf2; in xfs_attr_leaf_figure_balance() local 1329 leaf2 = blk2->bp->data; in xfs_attr_leaf_figure_balance() [all …]
|
D | xfs_dir2_node.c | 740 xfs_dir2_leaf_t *leaf2; /* leaf2 structure */ in xfs_dir2_leafn_order() local 743 leaf2 = leaf2_bp->data; in xfs_dir2_leafn_order() 745 ASSERT(INT_GET(leaf2->hdr.info.magic, ARCH_CONVERT) == XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leafn_order() 747 INT_GET(leaf2->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() 749 INT_GET(leaf2->ents[INT_GET(leaf2->hdr.count, ARCH_CONVERT) - 1].hashval, ARCH_CONVERT) < in xfs_dir2_leafn_order() 772 xfs_dir2_leaf_t *leaf2; /* second leaf structure */ in xfs_dir2_leafn_rebalance() local 792 leaf2 = blk2->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 …]
|