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