Home
last modified time | relevance | path

Searched refs:highstale (Results 1 – 4 of 4) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_dir2_leaf.c546 int *highstale) in xfs_dir3_leaf_find_stale() argument
562 for (*highstale = index; *highstale < leafhdr->count; ++*highstale) { in xfs_dir3_leaf_find_stale()
563 if (ents[*highstale].address == in xfs_dir3_leaf_find_stale()
566 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
578 int highstale, /* index of next stale leaf */ in xfs_dir3_leaf_find_entry() argument
614 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
620 (highstale == leafhdr->count || in xfs_dir3_leaf_find_entry()
621 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
644 ASSERT(highstale - index >= 0); in xfs_dir3_leaf_find_entry()
645 ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)); in xfs_dir3_leaf_find_entry()
[all …]
H A Dxfs_dir2_block.c319 int highstale; /* high stale index */ in xfs_dir2_block_compact() local
322 highstale = *lfloghigh = -1; in xfs_dir2_block_compact()
325 if (highstale == -1) in xfs_dir2_block_compact()
326 highstale = toidx; in xfs_dir2_block_compact()
372 int highstale; /* high stale index */ in xfs_dir2_block_addname() local
522 for (highstale = mid + 1; in xfs_dir2_block_addname()
523 highstale < be32_to_cpu(btp->count) && in xfs_dir2_block_addname()
524 blp[highstale].address != in xfs_dir2_block_addname()
526 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
527 highstale++) in xfs_dir2_block_addname()
[all …]
H A Dxfs_dir2_priv.h127 int lowstale, int highstale, int *lfloglow, int *lfloghigh);
H A Dxfs_dir2_node.c511 int highstale = 0; /* next stale entry */ in xfs_dir2_leafn_add() local
557 &highstale, &lfloglow, &lfloghigh); in xfs_dir2_leafn_add()
570 highstale, &lfloglow, &lfloghigh); in xfs_dir2_leafn_add()