Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_dir2_leaf.c395 __be16 *bestsp; /* leaf's bestsp entries */ in xfs_dir2_block_to_leaf() local
485 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_block_to_leaf()
486 bestsp[0] = bf[0].length; in xfs_dir2_block_to_leaf()
626 __be16 *bestsp; /* freespace table in leaf */ in xfs_dir2_leaf_addname() local
676 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_addname()
692 ASSERT(bestsp[i] != cpu_to_be16(NULLDATAOFF)); in xfs_dir2_leaf_addname()
693 if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname()
706 if (bestsp[i] == cpu_to_be16(NULLDATAOFF) && in xfs_dir2_leaf_addname()
709 else if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname()
728 if (use_block != -1 && bestsp[use_block] == cpu_to_be16(NULLDATAOFF)) in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_block.c902 __be16 *bestsp; /* leaf bests table */ in xfs_dir2_leaf_to_block() local
945 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_to_block()
946 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()