Lines Matching refs:highstale
312 int highstale; /* high stale index */ in xfs_dir2_block_compact() local
315 highstale = *lfloghigh = -1; in xfs_dir2_block_compact()
318 if (highstale == -1) in xfs_dir2_block_compact()
319 highstale = toidx; in xfs_dir2_block_compact()
365 int highstale; /* high stale index */ in xfs_dir2_block_addname() local
515 for (highstale = mid + 1; in xfs_dir2_block_addname()
516 highstale < be32_to_cpu(btp->count) && in xfs_dir2_block_addname()
517 blp[highstale].address != in xfs_dir2_block_addname()
519 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
520 highstale++) in xfs_dir2_block_addname()
526 (highstale == be32_to_cpu(btp->count) || in xfs_dir2_block_addname()
527 mid - lowstale <= highstale - mid)) { in xfs_dir2_block_addname()
538 ASSERT(highstale < be32_to_cpu(btp->count)); in xfs_dir2_block_addname()
540 if (highstale - mid) in xfs_dir2_block_addname()
542 (highstale - mid) * sizeof(*blp)); in xfs_dir2_block_addname()
544 lfloghigh = max(highstale, lfloghigh); in xfs_dir2_block_addname()