Lines Matching refs:ents

120 	memcpy(leaf->ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t));
224 for (use_block = -1, lep = &leaf->ents[index];
257 (leaf->hdr.stale ? 0 : (uint)sizeof(leaf->ents[0])) +
269 if ((char *)bestsp - (char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] < needbytes &&
277 else if ((char *)bestsp - (char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] <
471 be32_to_cpu(leaf->ents[lowstale].address) !=
482 be32_to_cpu(leaf->ents[highstale].address) !=
496 ASSERT(be32_to_cpu(leaf->ents[lowstale].address) ==
503 memmove(&leaf->ents[lowstale],
504 &leaf->ents[lowstale + 1],
506 lep = &leaf->ents[index - 1];
515 ASSERT(be32_to_cpu(leaf->ents[highstale].address) ==
522 memmove(&leaf->ents[index + 1],
523 &leaf->ents[index],
525 lep = &leaf->ents[index];
578 ASSERT((char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] <=
585 ASSERT(be32_to_cpu(leaf->ents[i].hashval) <=
586 be32_to_cpu(leaf->ents[i + 1].hashval));
587 if (be32_to_cpu(leaf->ents[i].address) == XFS_DIR2_NULL_DATAPTR)
616 if (be32_to_cpu(leaf->ents[from].address) == XFS_DIR2_NULL_DATAPTR)
624 leaf->ents[to] = leaf->ents[from];
673 be32_to_cpu(leaf->ents[lowstale].address) != XFS_DIR2_NULL_DATAPTR;
682 be32_to_cpu(leaf->ents[highstale].address) != XFS_DIR2_NULL_DATAPTR &&
706 be32_to_cpu(leaf->ents[from].address) == XFS_DIR2_NULL_DATAPTR) {
720 leaf->ents[to] = leaf->ents[from];
1236 firstlep = &leaf->ents[first];
1237 lastlep = &leaf->ents[last];
1312 lep = &leaf->ents[index];
1376 for (lep = &leaf->ents[index], dbp = NULL, curdb = -1;
1474 lep = &leaf->ents[index];
1602 lep = &leaf->ents[index];
1649 for (lep = leaf->ents, low = 0, high = be16_to_cpu(leaf->hdr.count) - 1,
1825 (be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale)) * (uint)sizeof(leaf->ents[0]) +