Lines Matching refs:ents

509 	struct xfs_dir2_leaf_entry *ents;  in xfs_dir2_leafn_add()  local
519 ents = leafhdr.ents; in xfs_dir2_leafn_add()
544 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
546 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
556 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add()
569 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
625 return be32_to_cpu(leafhdr.ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash()
684 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_addname()
834 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_entry()
1052 ents1 = hdr1.ents; in xfs_dir2_leafn_order()
1053 ents2 = hdr2.ents; in xfs_dir2_leafn_order()
1105 ents1 = hdr1.ents; in xfs_dir2_leafn_rebalance()
1106 ents2 = hdr2.ents; in xfs_dir2_leafn_rebalance()
1304 lep = &leafhdr.ents[index]; in xfs_dir2_leafn_remove()
1419 (uint)sizeof(leafhdr.ents) * (leafhdr.count - leafhdr.stale)) < in xfs_dir2_leafn_remove()
1509 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_toosmall() local
1520 ents = leafhdr.ents; in xfs_dir2_leafn_toosmall()
1524 bytes = state->args->geo->leaf_hdr_size + count * sizeof(ents[0]); in xfs_dir2_leafn_toosmall()
1583 ents = hdr2.ents; in xfs_dir2_leafn_toosmall()
1585 bytes -= count * sizeof(ents[0]); in xfs_dir2_leafn_toosmall()
1647 sents = savehdr.ents; in xfs_dir2_leafn_unbalance()
1648 dents = drophdr.ents; in xfs_dir2_leafn_unbalance()
2256 be32_to_cpu(leafhdr.ents[blk->index].address))); in xfs_dir2_node_replace()