Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_dir2_leaf.c495 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()
[all …]
Dxfs_dir2_block.c312 int highstale; /* high stale index */ in xfs_dir2_block_compact() local
315 highstale = *lfloghigh = -1; in xfs_dir2_block_compact()
318 if (highstale == -1) in xfs_dir2_block_compact()
319 highstale = toidx; in xfs_dir2_block_compact()
365 int highstale; /* high stale index */ in xfs_dir2_block_addname() local
515 for (highstale = mid + 1; in xfs_dir2_block_addname()
516 highstale < be32_to_cpu(btp->count) && in xfs_dir2_block_addname()
517 blp[highstale].address != in xfs_dir2_block_addname()
519 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
520 highstale++) in xfs_dir2_block_addname()
[all …]
Dxfs_dir2_priv.h126 int lowstale, int highstale, int *lfloglow, int *lfloghigh);
Dxfs_dir2_node.c504 int highstale = 0; /* next stale entry */ in xfs_dir2_leafn_add() local
549 &highstale, &lfloglow, &lfloghigh); in xfs_dir2_leafn_add()
562 highstale, &lfloglow, &lfloghigh); in xfs_dir2_leafn_add()