Lines Matching refs:highstale
495 int *highstale) in xfs_dir3_leaf_find_stale() argument
511 for (*highstale = index; *highstale < leafhdr->count; ++*highstale) { in xfs_dir3_leaf_find_stale()
512 if (ents[*highstale].address == in xfs_dir3_leaf_find_stale()
515 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
527 int highstale, /* index of next stale leaf */ in xfs_dir3_leaf_find_entry() argument
563 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
569 (highstale == leafhdr->count || in xfs_dir3_leaf_find_entry()
570 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
593 ASSERT(highstale - index >= 0); in xfs_dir3_leaf_find_entry()
594 ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)); in xfs_dir3_leaf_find_entry()
600 if (highstale - index > 0) { in xfs_dir3_leaf_find_entry()
602 (highstale - index) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir3_leaf_find_entry()
605 *lfloghigh = max(highstale, *lfloghigh); in xfs_dir3_leaf_find_entry()
635 int highstale = 0; /* index of next stale leaf */ in xfs_dir2_leaf_addname() local
779 &highstale, &lfloglow, &lfloghigh); in xfs_dir2_leaf_addname()
895 highstale, &lfloglow, &lfloghigh); in xfs_dir2_leaf_addname()
984 int highstale; /* stale entry at/after index */ in xfs_dir3_leaf_compact_x1() local
994 xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale); in xfs_dir3_leaf_compact_x1()
1000 (highstale == leafhdr->count || in xfs_dir3_leaf_compact_x1()
1001 index - lowstale <= highstale - index)) in xfs_dir3_leaf_compact_x1()
1004 keepstale = highstale; in xfs_dir3_leaf_compact_x1()
1025 lowstale = highstale = to; in xfs_dir3_leaf_compact_x1()
1053 highstale = leafhdr->count; in xfs_dir3_leaf_compact_x1()
1056 *highstalep = highstale; in xfs_dir3_leaf_compact_x1()