Lines Matching refs:leaf1
1661 * Return 0 unless leaf2 should go before leaf1.
1718 struct xfs_attr_leafblock *leaf1;
1735 leaf1 = blk1->bp->b_addr;
1737 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr1, leaf1);
1757 leaf1 = blk1->bp->b_addr;
1791 max = ichdr2.firstused - xfs_attr3_leaf_hdr_size(leaf1);
1797 * Move high entries from leaf1 to low end of leaf2.
1799 xfs_attr3_leaf_moveents(args, leaf1, &ichdr1,
1818 * leaf1 is the destination, compact it if it looks tight.
1820 max = ichdr1.firstused - xfs_attr3_leaf_hdr_size(leaf1);
1826 * Move low entries from leaf2 to high end of leaf1.
1828 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1,
1832 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf1, &ichdr1);
1840 entries1 = xfs_attr3_leaf_entryp(leaf1);
1911 struct xfs_attr_leafblock *leaf1 = blk1->bp->b_addr;
1933 entry = xfs_attr3_leaf_entryp(leaf1);
1954 leaf1 = leaf2;
1955 entry = xfs_attr3_leaf_entryp(leaf1);
1962 tmp = totallen + sizeof(*entry) + xfs_attr_leaf_entsize(leaf1,
2898 struct xfs_attr_leafblock *leaf1;
2935 leaf1 = bp1->b_addr;
2936 entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index];
2942 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr1, leaf1);
2951 name_loc = xfs_attr3_leaf_name_local(leaf1, args->index);
2955 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index);
2978 XFS_DA_LOGRANGE(leaf1, entry1, sizeof(*entry1)));
2981 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index);
2985 XFS_DA_LOGRANGE(leaf1, name_rmt, sizeof(*name_rmt)));