Lines Matching refs:bf
388 struct xfs_dir2_data_free *bf; in xfs_dir2_block_to_leaf() local
418 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_block_to_leaf()
465 bestsp[0] = bf[0].length; in xfs_dir2_block_to_leaf()
631 struct xfs_dir2_data_free *bf; /* bestfree table */ in xfs_dir2_leaf_addname() local
819 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname()
820 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
835 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname()
842 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_leaf_addname()
876 if (be16_to_cpu(bestsp[use_block]) != be16_to_cpu(bf[0].length)) { in xfs_dir2_leaf_addname()
877 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
1356 struct xfs_dir2_data_free *bf; /* bestfree table */ in xfs_dir2_leaf_removename() local
1372 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_removename()
1383 oldbest = be16_to_cpu(bf[0].length); in xfs_dir2_leaf_removename()
1415 if (be16_to_cpu(bf[0].length) != oldbest) { in xfs_dir2_leaf_removename()
1416 bestsp[db] = bf[0].length; in xfs_dir2_leaf_removename()
1423 if (be16_to_cpu(bf[0].length) == in xfs_dir2_leaf_removename()
1618 struct xfs_dir2_data_free *bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_trim_data() local
1622 ASSERT(be16_to_cpu(bf[0].length) == in xfs_dir2_leaf_trim_data()