Lines Matching refs:leaf1
1615 * Return 0 unless leaf2 should go before leaf1.
1672 struct xfs_attr_leafblock *leaf1;
1689 leaf1 = blk1->bp->b_addr;
1691 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr1, leaf1);
1711 leaf1 = blk1->bp->b_addr;
1745 max = ichdr2.firstused - xfs_attr3_leaf_hdr_size(leaf1);
1751 * Move high entries from leaf1 to low end of leaf2.
1753 xfs_attr3_leaf_moveents(args, leaf1, &ichdr1,
1772 * leaf1 is the destination, compact it if it looks tight.
1774 max = ichdr1.firstused - xfs_attr3_leaf_hdr_size(leaf1);
1780 * Move low entries from leaf2 to high end of leaf1.
1782 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1,
1786 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf1, &ichdr1);
1794 entries1 = xfs_attr3_leaf_entryp(leaf1);
1865 struct xfs_attr_leafblock *leaf1 = blk1->bp->b_addr;
1887 entry = xfs_attr3_leaf_entryp(leaf1);
1908 leaf1 = leaf2;
1909 entry = xfs_attr3_leaf_entryp(leaf1);
1916 tmp = totallen + sizeof(*entry) + xfs_attr_leaf_entsize(leaf1,
2854 struct xfs_attr_leafblock *leaf1;
2891 leaf1 = bp1->b_addr;
2892 entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index];
2898 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr1, leaf1);
2907 name_loc = xfs_attr3_leaf_name_local(leaf1, args->index);
2911 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index);
2934 XFS_DA_LOGRANGE(leaf1, entry1, sizeof(*entry1)));
2937 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index);
2941 XFS_DA_LOGRANGE(leaf1, name_rmt, sizeof(*name_rmt)));