Lines Matching refs:bf
393 struct xfs_dir2_data_free *bf; in xfs_dir2_block_to_leaf() local
423 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_block_to_leaf()
470 bestsp[0] = bf[0].length; in xfs_dir2_block_to_leaf()
636 struct xfs_dir2_data_free *bf; /* bestfree table */ in xfs_dir2_leaf_addname() local
824 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname()
825 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
840 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname()
847 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_leaf_addname()
881 if (be16_to_cpu(bestsp[use_block]) != be16_to_cpu(bf[0].length)) { in xfs_dir2_leaf_addname()
882 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
1361 struct xfs_dir2_data_free *bf; /* bestfree table */ in xfs_dir2_leaf_removename() local
1377 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_removename()
1388 oldbest = be16_to_cpu(bf[0].length); in xfs_dir2_leaf_removename()
1420 if (be16_to_cpu(bf[0].length) != oldbest) { in xfs_dir2_leaf_removename()
1421 bestsp[db] = bf[0].length; in xfs_dir2_leaf_removename()
1428 if (be16_to_cpu(bf[0].length) == in xfs_dir2_leaf_removename()
1623 struct xfs_dir2_data_free *bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_trim_data() local
1627 ASSERT(be16_to_cpu(bf[0].length) == in xfs_dir2_leaf_trim_data()