Searched refs:leaf2 (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c1397 * Return 0 unless leaf2 should go before leaf1.
1455 struct xfs_attr_leafblock *leaf2; xfs_attr3_leaf_rebalance() local
1472 leaf2 = blk2->bp->b_addr; xfs_attr3_leaf_rebalance()
1474 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr2, leaf2); xfs_attr3_leaf_rebalance()
1501 leaf2 = blk2->bp->b_addr; xfs_attr3_leaf_rebalance()
1532 * leaf2 is the destination, compact it if it looks tight. xfs_attr3_leaf_rebalance()
1540 * Move high entries from leaf1 to low end of leaf2. xfs_attr3_leaf_rebalance()
1543 ichdr1.count - count, leaf2, &ichdr2, 0, count); xfs_attr3_leaf_rebalance()
1569 * Move low entries from leaf2 to high end of leaf1. xfs_attr3_leaf_rebalance()
1571 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1, xfs_attr3_leaf_rebalance()
1576 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf2, &ichdr2); xfs_attr3_leaf_rebalance()
1584 entries2 = xfs_attr3_leaf_entryp(leaf2); xfs_attr3_leaf_rebalance()
1655 struct xfs_attr_leafblock *leaf2 = blk2->bp->b_addr; xfs_attr3_leaf_figure_balance() local
1697 leaf1 = leaf2; xfs_attr3_leaf_figure_balance()
2671 struct xfs_attr_leafblock *leaf2; xfs_attr3_leaf_flipflags() local
2710 leaf2 = bp2->b_addr; xfs_attr3_leaf_flipflags()
2711 entry2 = &xfs_attr3_leaf_entryp(leaf2)[args->index2]; xfs_attr3_leaf_flipflags()
2718 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr2, leaf2); xfs_attr3_leaf_flipflags()
2732 name_loc = xfs_attr3_leaf_name_local(leaf2, args->index2); xfs_attr3_leaf_flipflags()
2736 name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); xfs_attr3_leaf_flipflags()
2762 XFS_DA_LOGRANGE(leaf2, entry2, sizeof(*entry2))); xfs_attr3_leaf_flipflags()
2764 name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); xfs_attr3_leaf_flipflags()
2768 XFS_DA_LOGRANGE(leaf2, name_rmt, sizeof(*name_rmt))); xfs_attr3_leaf_flipflags()
H A Dxfs_dir2_node.c912 * Returns 1 if both are valid and leaf2 should be before leaf1, else 0.
918 struct xfs_buf *leaf2_bp) /* leaf2 buffer */ xfs_dir2_leafn_order()
921 struct xfs_dir2_leaf *leaf2 = leaf2_bp->b_addr; xfs_dir2_leafn_order() local
928 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); xfs_dir2_leafn_order()
930 ents2 = dp->d_ops->leaf_ents_p(leaf2); xfs_dir2_leafn_order()
957 xfs_dir2_leaf_t *leaf2; /* second leaf structure */ xfs_dir2_leafn_rebalance() local
982 leaf2 = blk2->bp->b_addr; xfs_dir2_leafn_rebalance()
984 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); xfs_dir2_leafn_rebalance()
986 ents2 = dp->d_ops->leaf_ents_p(leaf2); xfs_dir2_leafn_rebalance()
1033 dp->d_ops->leaf_hdr_to_disk(leaf2, &hdr2); xfs_dir2_leafn_rebalance()

Completed in 76 milliseconds