Lines Matching refs:highstale
486 int *highstale)
502 for (*highstale = index; *highstale < leafhdr->count; ++*highstale) {
503 if (ents[*highstale].address ==
506 if (*lowstale >= 0 && index - *lowstale <= *highstale - index)
518 int highstale, /* index of next stale leaf */
554 &lowstale, &highstale);
560 (highstale == leafhdr->count ||
561 index - lowstale - 1 < highstale - index)) {
584 ASSERT(highstale - index >= 0);
585 ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR));
591 if (highstale - index > 0) {
593 (highstale - index) * sizeof(xfs_dir2_leaf_entry_t));
596 *lfloghigh = max(highstale, *lfloghigh);
626 int highstale = 0; /* index of next stale leaf */
770 &highstale, &lfloglow, &lfloghigh);
886 highstale, &lfloglow, &lfloghigh);
975 int highstale; /* stale entry at/after index */
985 xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale);
988 * Pick the better of lowstale and highstale.
991 (highstale == leafhdr->count ||
992 index - lowstale <= highstale - index))
995 keepstale = highstale;
1016 lowstale = highstale = to;
1044 highstale = leafhdr->count;
1047 *highstalep = highstale;