Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/libxfs/
Dxfs_dir2_leaf.c486 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()
[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()