Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_dir2_leaf.c443 int *highstale) in xfs_dir3_leaf_find_stale() argument
459 for (*highstale = index; *highstale < leafhdr->count; ++*highstale) { in xfs_dir3_leaf_find_stale()
460 if (ents[*highstale].address == in xfs_dir3_leaf_find_stale()
463 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
475 int highstale, /* index of next stale leaf */ in xfs_dir3_leaf_find_entry() argument
511 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
517 (highstale == leafhdr->count || in xfs_dir3_leaf_find_entry()
518 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
541 ASSERT(highstale - index >= 0); in xfs_dir3_leaf_find_entry()
542 ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)); in xfs_dir3_leaf_find_entry()
[all …]
Dxfs_dir2_block.c283 int highstale; /* high stale index */ in xfs_dir2_block_compact() local
286 highstale = *lfloghigh = -1; in xfs_dir2_block_compact()
289 if (highstale == -1) in xfs_dir2_block_compact()
290 highstale = toidx; in xfs_dir2_block_compact()
336 int highstale; /* high stale index */ in xfs_dir2_block_addname() local
486 for (highstale = mid + 1; in xfs_dir2_block_addname()
487 highstale < be32_to_cpu(btp->count) && in xfs_dir2_block_addname()
488 blp[highstale].address != in xfs_dir2_block_addname()
490 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
491 highstale++) in xfs_dir2_block_addname()
[all …]
Dxfs_dir2_priv.h78 int lowstale, int highstale, int *lfloglow, int *lfloghigh);
Dxfs_dir2_node.c434 int highstale = 0; /* next stale entry */ in xfs_dir2_leafn_add() local
477 &highstale, &lfloglow, &lfloghigh); in xfs_dir2_leafn_add()
490 highstale, &lfloglow, &lfloghigh); in xfs_dir2_leafn_add()