Lines Matching defs:ents
48 to->ents = from3->__ents;
58 to->ents = from->__ents;
162 (char *)&hdr->ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp))
168 if (be32_to_cpu(hdr->ents[i].hashval) >
169 be32_to_cpu(hdr->ents[i + 1].hashval))
172 if (hdr->ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR))
436 memcpy(leafhdr.ents, blp,
483 struct xfs_dir2_leaf_entry *ents,
492 if (ents[*lowstale].address ==
503 if (ents[*highstale].address ==
514 struct xfs_dir2_leaf_entry *ents,
530 lep = &ents[index];
553 xfs_dir3_leaf_find_stale(leafhdr, ents, index,
563 ASSERT(ents[lowstale].address ==
571 memmove(&ents[lowstale], &ents[lowstale + 1],
578 return &ents[index - 1];
585 ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR));
592 memmove(&ents[index + 1], &ents[index],
598 return &ents[index];
619 struct xfs_dir2_leaf_entry *ents;
654 ents = leafhdr.ents;
664 for (use_block = -1, lep = &ents[index];
713 if ((char *)bestsp - (char *)&ents[leafhdr.count] < needbytes &&
721 else if ((char *)bestsp - (char *)&ents[leafhdr.count] < needbytes) {
769 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale,
885 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale,
930 if (leafhdr->ents[from].address ==
939 leafhdr->ents[to] = leafhdr->ents[from];
967 struct xfs_dir2_leaf_entry *ents,
985 xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale);
1007 ents[from].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) {
1021 ents[to] = ents[from];
1096 firstlep = &hdr->ents[first];
1097 lastlep = &hdr->ents[last];
1179 lep = &leafhdr.ents[index];
1248 for (lep = &leafhdr->ents[index];
1377 lep = &leafhdr.ents[index];
1510 lep = &leafhdr.ents[index];
1554 for (lep = leafhdr.ents, low = 0, high = leafhdr.count - 1,