Lines Matching defs:leaf1
1579 * Return 0 unless leaf2 should go before leaf1.
1636 struct xfs_attr_leafblock *leaf1;
1653 leaf1 = blk1->bp->b_addr;
1655 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr1, leaf1);
1675 leaf1 = blk1->bp->b_addr;
1709 max = ichdr2.firstused - xfs_attr3_leaf_hdr_size(leaf1);
1715 * Move high entries from leaf1 to low end of leaf2.
1717 xfs_attr3_leaf_moveents(args, leaf1, &ichdr1,
1736 * leaf1 is the destination, compact it if it looks tight.
1738 max = ichdr1.firstused - xfs_attr3_leaf_hdr_size(leaf1);
1744 * Move low entries from leaf2 to high end of leaf1.
1746 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1,
1750 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf1, &ichdr1);
1758 entries1 = xfs_attr3_leaf_entryp(leaf1);
1829 struct xfs_attr_leafblock *leaf1 = blk1->bp->b_addr;
1851 entry = xfs_attr3_leaf_entryp(leaf1);
1872 leaf1 = leaf2;
1873 entry = xfs_attr3_leaf_entryp(leaf1);
1880 tmp = totallen + sizeof(*entry) + xfs_attr_leaf_entsize(leaf1,
2820 struct xfs_attr_leafblock *leaf1;
2857 leaf1 = bp1->b_addr;
2858 entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index];
2864 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr1, leaf1);
2873 name_loc = xfs_attr3_leaf_name_local(leaf1, args->index);
2877 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index);
2900 XFS_DA_LOGRANGE(leaf1, entry1, sizeof(*entry1)));
2903 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index);
2907 XFS_DA_LOGRANGE(leaf1, name_rmt, sizeof(*name_rmt)));