Home
last modified time | relevance | path

Searched refs:lowstale (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_dir2_leaf.c204 int lowstale; /* index of prev stale leaf */ in xfs_dir2_leaf_addname() local
346 xfs_dir2_leaf_compact_x1(lbp, &index, &lowstale, &highstale, in xfs_dir2_leaf_addname()
489 for (lowstale = index - 1; in xfs_dir2_leaf_addname()
490 lowstale >= 0 && in xfs_dir2_leaf_addname()
491 INT_GET(leaf->ents[lowstale].address, ARCH_CONVERT) != in xfs_dir2_leaf_addname()
493 lowstale--) in xfs_dir2_leaf_addname()
504 (lowstale < 0 || in xfs_dir2_leaf_addname()
505 index - lowstale - 1 >= highstale - index); in xfs_dir2_leaf_addname()
512 if (lowstale >= 0 && in xfs_dir2_leaf_addname()
514 index - lowstale - 1 < highstale - index)) { in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_block.c101 int lowstale; /* low stale index */ in xfs_dir2_block_addname() local
369 for (lowstale = mid; in xfs_dir2_block_addname()
370 lowstale >= 0 && in xfs_dir2_block_addname()
371 INT_GET(blp[lowstale].address, ARCH_CONVERT) != XFS_DIR2_NULL_DATAPTR; in xfs_dir2_block_addname()
372 lowstale--) in xfs_dir2_block_addname()
377 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
383 if (lowstale >= 0 && in xfs_dir2_block_addname()
385 mid - lowstale <= highstale - mid)) { in xfs_dir2_block_addname()
386 if (mid - lowstale) in xfs_dir2_block_addname()
387 memmove(&blp[lowstale], &blp[lowstale + 1], in xfs_dir2_block_addname()
[all …]
Dxfs_dir2_node.c218 int lowstale; /* previous stale entry */ in xfs_dir2_leafn_add() local
260 xfs_dir2_leaf_compact_x1(bp, &index, &lowstale, &highstale, in xfs_dir2_leafn_add()
294 for (lowstale = index - 1; in xfs_dir2_leafn_add()
295 lowstale >= 0 && in xfs_dir2_leafn_add()
296 INT_GET(leaf->ents[lowstale].address, ARCH_CONVERT) != in xfs_dir2_leafn_add()
298 lowstale--) in xfs_dir2_leafn_add()
309 (lowstale < 0 || in xfs_dir2_leafn_add()
310 index - lowstale - 1 >= highstale - index); in xfs_dir2_leafn_add()
318 if (lowstale >= 0 && in xfs_dir2_leafn_add()
320 index - lowstale - 1 < highstale - index)) { in xfs_dir2_leafn_add()
[all …]