Lines Matching refs:highstale
297 int highstale; /* high stale index */ in xfs_dir2_block_compact() local
300 highstale = *lfloghigh = -1; in xfs_dir2_block_compact()
303 if (highstale == -1) in xfs_dir2_block_compact()
304 highstale = toidx; in xfs_dir2_block_compact()
350 int highstale; /* high stale index */ in xfs_dir2_block_addname() local
496 for (highstale = mid + 1; in xfs_dir2_block_addname()
497 highstale < be32_to_cpu(btp->count) && in xfs_dir2_block_addname()
498 blp[highstale].address != in xfs_dir2_block_addname()
500 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
501 highstale++) in xfs_dir2_block_addname()
507 (highstale == be32_to_cpu(btp->count) || in xfs_dir2_block_addname()
508 mid - lowstale <= highstale - mid)) { in xfs_dir2_block_addname()
519 ASSERT(highstale < be32_to_cpu(btp->count)); in xfs_dir2_block_addname()
521 if (highstale - mid) in xfs_dir2_block_addname()
523 (highstale - mid) * sizeof(*blp)); in xfs_dir2_block_addname()
525 lfloghigh = MAX(highstale, lfloghigh); in xfs_dir2_block_addname()