Home
last modified time | relevance | path

Searched refs:bestsp (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_dir2_leaf.c387 __be16 *bestsp; /* leaf's bestsp entries */ in xfs_dir2_block_to_leaf() local
476 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_block_to_leaf()
477 bestsp[0] = bf[0].length; in xfs_dir2_block_to_leaf()
619 __be16 *bestsp; /* freespace table in leaf */ in xfs_dir2_leaf_addname() local
664 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_addname()
680 ASSERT(bestsp[i] != cpu_to_be16(NULLDATAOFF)); in xfs_dir2_leaf_addname()
681 if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname()
694 if (bestsp[i] == cpu_to_be16(NULLDATAOFF) && in xfs_dir2_leaf_addname()
697 else if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname()
716 if (use_block != -1 && bestsp[use_block] == cpu_to_be16(NULLDATAOFF)) in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_block.c927 __be16 *bestsp; /* leaf bests table */ in xfs_dir2_leaf_to_block() local
968 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_to_block()
969 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()