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

/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c73 struct xfs_attr3_icleaf_hdr *ichdr1,
1426 struct xfs_attr3_icleaf_hdr ichdr1; xfs_attr_leaf_order() local
1430 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr1, leaf1_bp->b_addr); xfs_attr_leaf_order()
1432 return xfs_attr3_leaf_order(leaf1_bp, &ichdr1, leaf2_bp, &ichdr2); xfs_attr_leaf_order()
1456 struct xfs_attr3_icleaf_hdr ichdr1; xfs_attr3_leaf_rebalance() local
1473 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr1, leaf1); xfs_attr3_leaf_rebalance()
1487 if (xfs_attr3_leaf_order(blk1->bp, &ichdr1, blk2->bp, &ichdr2)) { xfs_attr3_leaf_rebalance()
1496 tmp_ichdr = ichdr1; xfs_attr3_leaf_rebalance()
1497 ichdr1 = ichdr2; xfs_attr3_leaf_rebalance()
1513 state->inleaf = xfs_attr3_leaf_figure_balance(state, blk1, &ichdr1, xfs_attr3_leaf_rebalance()
1522 if (count < ichdr1.count) { xfs_attr3_leaf_rebalance()
1527 count = ichdr1.count - count; xfs_attr3_leaf_rebalance()
1528 space = ichdr1.usedbytes - totallen; xfs_attr3_leaf_rebalance()
1542 xfs_attr3_leaf_moveents(args, leaf1, &ichdr1, xfs_attr3_leaf_rebalance()
1543 ichdr1.count - count, leaf2, &ichdr2, 0, count); xfs_attr3_leaf_rebalance()
1545 } else if (count > ichdr1.count) { xfs_attr3_leaf_rebalance()
1556 count -= ichdr1.count; xfs_attr3_leaf_rebalance()
1557 space = totallen - ichdr1.usedbytes; xfs_attr3_leaf_rebalance()
1563 max = ichdr1.firstused - xfs_attr3_leaf_hdr_size(leaf1); xfs_attr3_leaf_rebalance()
1564 max -= ichdr1.count * sizeof(xfs_attr_leaf_entry_t); xfs_attr3_leaf_rebalance()
1566 xfs_attr3_leaf_compact(args, &ichdr1, blk1->bp); xfs_attr3_leaf_rebalance()
1571 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1, xfs_attr3_leaf_rebalance()
1572 ichdr1.count, count); xfs_attr3_leaf_rebalance()
1575 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf1, &ichdr1); xfs_attr3_leaf_rebalance()
1585 blk1->hashval = be32_to_cpu(entries1[ichdr1.count - 1].hashval); xfs_attr3_leaf_rebalance()
1600 if (blk1->index > ichdr1.count) { xfs_attr3_leaf_rebalance()
1602 blk2->index = blk1->index - ichdr1.count; xfs_attr3_leaf_rebalance()
1605 } else if (blk1->index == ichdr1.count) { xfs_attr3_leaf_rebalance()
1617 blk2->index = blk1->index - ichdr1.count; xfs_attr3_leaf_rebalance()
1648 struct xfs_attr3_icleaf_hdr *ichdr1, xfs_attr3_leaf_figure_balance()
1670 max = ichdr1->count + ichdr2->count; xfs_attr3_leaf_figure_balance()
1672 half += ichdr1->usedbytes + ichdr2->usedbytes + xfs_attr3_leaf_figure_balance()
1696 if (count == ichdr1->count) { xfs_attr3_leaf_figure_balance()
2679 struct xfs_attr3_icleaf_hdr ichdr1; xfs_attr3_leaf_flipflags() local
2714 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr1, leaf1); xfs_attr3_leaf_flipflags()
2715 ASSERT(args->index < ichdr1.count); xfs_attr3_leaf_flipflags()
1645 xfs_attr3_leaf_figure_balance( struct xfs_da_state *state, struct xfs_da_state_blk *blk1, struct xfs_attr3_icleaf_hdr *ichdr1, struct xfs_da_state_blk *blk2, struct xfs_attr3_icleaf_hdr *ichdr2, int *countarg, int *usedbytesarg) xfs_attr3_leaf_figure_balance() argument

Completed in 65 milliseconds