Lines Matching refs:lowstale
487 int *lowstale, in xfs_dir3_leaf_find_stale() argument
493 for (*lowstale = index - 1; *lowstale >= 0; --*lowstale) { in xfs_dir3_leaf_find_stale()
494 if (ents[*lowstale].address == in xfs_dir3_leaf_find_stale()
508 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
519 int lowstale, /* index of prev stale leaf */ in xfs_dir3_leaf_find_entry() argument
556 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
561 if (lowstale >= 0 && in xfs_dir3_leaf_find_entry()
563 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
564 ASSERT(index - lowstale - 1 >= 0); in xfs_dir3_leaf_find_entry()
565 ASSERT(ents[lowstale].address == in xfs_dir3_leaf_find_entry()
572 if (index - lowstale - 1 > 0) { in xfs_dir3_leaf_find_entry()
573 memmove(&ents[lowstale], &ents[lowstale + 1], in xfs_dir3_leaf_find_entry()
574 (index - lowstale - 1) * in xfs_dir3_leaf_find_entry()
577 *lfloglow = MIN(lowstale, *lfloglow); in xfs_dir3_leaf_find_entry()
628 int lowstale; /* index of prev stale leaf */ in xfs_dir2_leaf_addname() local
774 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leaf_addname()
887 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leaf_addname()
981 int lowstale; /* stale entry before index */ in xfs_dir3_leaf_compact_x1() local
988 xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale); in xfs_dir3_leaf_compact_x1()
993 if (lowstale >= 0 && in xfs_dir3_leaf_compact_x1()
995 index - lowstale <= highstale - index)) in xfs_dir3_leaf_compact_x1()
996 keepstale = lowstale; in xfs_dir3_leaf_compact_x1()
1019 lowstale = highstale = to; in xfs_dir3_leaf_compact_x1()
1044 if (lowstale >= newindex) in xfs_dir3_leaf_compact_x1()
1045 lowstale = -1; in xfs_dir3_leaf_compact_x1()
1049 *lowstalep = lowstale; in xfs_dir3_leaf_compact_x1()