Lines Matching refs:ents
502 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_add() local
512 ents = leafhdr.ents; in xfs_dir2_leafn_add()
536 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
538 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
548 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add()
561 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
617 return be32_to_cpu(leafhdr.ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash()
676 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_addname()
824 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_entry()
1042 ents1 = hdr1.ents; in xfs_dir2_leafn_order()
1043 ents2 = hdr2.ents; in xfs_dir2_leafn_order()
1095 ents1 = hdr1.ents; in xfs_dir2_leafn_rebalance()
1096 ents2 = hdr2.ents; in xfs_dir2_leafn_rebalance()
1294 lep = &leafhdr.ents[index]; in xfs_dir2_leafn_remove()
1409 (uint)sizeof(leafhdr.ents) * (leafhdr.count - leafhdr.stale)) < in xfs_dir2_leafn_remove()
1499 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_toosmall() local
1510 ents = leafhdr.ents; in xfs_dir2_leafn_toosmall()
1514 bytes = state->args->geo->leaf_hdr_size + count * sizeof(ents[0]); in xfs_dir2_leafn_toosmall()
1572 ents = hdr2.ents; in xfs_dir2_leafn_toosmall()
1574 bytes -= count * sizeof(ents[0]); in xfs_dir2_leafn_toosmall()
1636 sents = savehdr.ents; in xfs_dir2_leafn_unbalance()
1637 dents = drophdr.ents; in xfs_dir2_leafn_unbalance()
2245 be32_to_cpu(leafhdr.ents[blk->index].address))); in xfs_dir2_node_replace()