Lines Matching refs:ents

48 		to->ents = from3->__ents;
58 to->ents = from->__ents;
164 (char *)&hdr->ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp))
173 if (be32_to_cpu(hdr->ents[i].hashval) >
174 be32_to_cpu(hdr->ents[i + 1].hashval))
177 if (hdr->ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR))
180 be32_to_cpu(hdr->ents[i].address)) >=
445 memcpy(leafhdr.ents, blp,
492 struct xfs_dir2_leaf_entry *ents,
501 if (ents[*lowstale].address ==
512 if (ents[*highstale].address ==
523 struct xfs_dir2_leaf_entry *ents,
539 lep = &ents[index];
562 xfs_dir3_leaf_find_stale(leafhdr, ents, index,
572 ASSERT(ents[lowstale].address ==
580 memmove(&ents[lowstale], &ents[lowstale + 1],
587 return &ents[index - 1];
594 ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR));
601 memmove(&ents[index + 1], &ents[index],
607 return &ents[index];
628 struct xfs_dir2_leaf_entry *ents;
663 ents = leafhdr.ents;
673 for (use_block = -1, lep = &ents[index];
722 if ((char *)bestsp - (char *)&ents[leafhdr.count] < needbytes &&
730 else if ((char *)bestsp - (char *)&ents[leafhdr.count] < needbytes) {
778 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale,
894 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale,
939 if (leafhdr->ents[from].address ==
948 leafhdr->ents[to] = leafhdr->ents[from];
976 struct xfs_dir2_leaf_entry *ents,
994 xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale);
1016 ents[from].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) {
1030 ents[to] = ents[from];
1105 firstlep = &hdr->ents[first];
1106 lastlep = &hdr->ents[last];
1188 lep = &leafhdr.ents[index];
1257 for (lep = &leafhdr->ents[index];
1386 lep = &leafhdr.ents[index];
1519 lep = &leafhdr.ents[index];
1563 for (lep = leafhdr.ents, low = 0, high = leafhdr.count - 1,