Lines Matching refs:leaf1
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()
1287 } else if (blk1->index == INT_GET(leaf1->hdr.count, ARCH_CONVERT)) { in xfs_attr_leaf_rebalance()
1295 - INT_GET(leaf1->hdr.count, ARCH_CONVERT); in xfs_attr_leaf_rebalance()
1319 xfs_attr_leafblock_t *leaf1, *leaf2; in xfs_attr_leaf_figure_balance() local
1328 leaf1 = blk1->bp->data; in xfs_attr_leaf_figure_balance()
1330 hdr1 = &leaf1->hdr; in xfs_attr_leaf_figure_balance()
1348 entry = &leaf1->entries[0]; in xfs_attr_leaf_figure_balance()
1371 leaf1 = leaf2; in xfs_attr_leaf_figure_balance()
1372 entry = &leaf1->entries[0]; in xfs_attr_leaf_figure_balance()
1379 tmp = totallen + sizeof(*entry) + xfs_attr_leaf_entsize(leaf1, in xfs_attr_leaf_figure_balance()
2168 xfs_attr_leafblock_t *leaf1, *leaf2; in xfs_attr_leaf_order() local
2170 leaf1 = leaf1_bp->data; in xfs_attr_leaf_order()
2172 ASSERT((INT_GET(leaf1->hdr.info.magic, ARCH_CONVERT) in xfs_attr_leaf_order()
2176 if ( (INT_GET(leaf1->hdr.count, ARCH_CONVERT) > 0) in xfs_attr_leaf_order()
2179 INT_GET(leaf1->entries[ 0 ].hashval, ARCH_CONVERT)) in xfs_attr_leaf_order()
2182 INT_GET(leaf1->entries[INT_GET(leaf1->hdr.count, in xfs_attr_leaf_order()
2571 xfs_attr_leafblock_t *leaf1, *leaf2; in xfs_attr_leaf_flipflags() local
2606 leaf1 = bp1->data; in xfs_attr_leaf_flipflags()
2607 ASSERT(INT_GET(leaf1->hdr.info.magic, ARCH_CONVERT) in xfs_attr_leaf_flipflags()
2609 ASSERT(args->index < INT_GET(leaf1->hdr.count, ARCH_CONVERT)); in xfs_attr_leaf_flipflags()
2611 entry1 = &leaf1->entries[ args->index ]; in xfs_attr_leaf_flipflags()
2622 name_loc = XFS_ATTR_LEAF_NAME_LOCAL(leaf1, args->index); in xfs_attr_leaf_flipflags()
2626 name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf1, args->index); in xfs_attr_leaf_flipflags()
2649 XFS_DA_LOGRANGE(leaf1, entry1, sizeof(*entry1))); in xfs_attr_leaf_flipflags()
2652 name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf1, args->index); in xfs_attr_leaf_flipflags()
2656 XFS_DA_LOGRANGE(leaf1, name_rmt, sizeof(*name_rmt))); in xfs_attr_leaf_flipflags()