Lines Matching refs:ents

391 	struct xfs_dir2_leaf_entry *ents;  in xfs_dir2_leafn_add()  local
398 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_add()
420 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
422 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
432 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add()
445 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
490 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_lasthash() local
503 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_lasthash()
504 return be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_dir2_leafn_lasthash()
533 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_lookup_for_addname() local
541 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_lookup_for_addname()
565 for (lep = &ents[index]; in xfs_dir2_leafn_lookup_for_addname()
685 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_lookup_for_entry() local
693 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_lookup_for_entry()
712 for (lep = &ents[index]; in xfs_dir2_leafn_lookup_for_entry()
1174 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_remove() local
1182 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_remove()
1187 lep = &ents[index]; in xfs_dir2_leafn_remove()
1303 (uint)sizeof(ents[0]) * (leafhdr.count - leafhdr.stale)) < in xfs_dir2_leafn_remove()
1393 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_toosmall() local
1404 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_toosmall()
1408 bytes = dp->d_ops->leaf_hdr_size + count * sizeof(ents[0]); in xfs_dir2_leafn_toosmall()
1467 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_toosmall()
1469 bytes -= count * sizeof(ents[0]); in xfs_dir2_leafn_toosmall()
2172 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_node_replace() local
2179 ents = args->dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_node_replace()
2180 lep = &ents[blk->index]; in xfs_dir2_node_replace()