Lines Matching refs:bests
301 __be16 *bests; in xfs_dir2_free_log_bests() local
304 bests = args->dp->d_ops->free_bests_p(free); in xfs_dir2_free_log_bests()
308 (uint)((char *)&bests[first] - (char *)free), in xfs_dir2_free_log_bests()
309 (uint)((char *)&bests[last] - (char *)free + in xfs_dir2_free_log_bests()
310 sizeof(bests[0]) - 1)); in xfs_dir2_free_log_bests()
639 __be16 *bests; in xfs_dir2_leafn_lookup_for_addname() local
674 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_leafn_lookup_for_addname()
675 if (unlikely(bests[fi] == cpu_to_be16(NULLDATAOFF))) { in xfs_dir2_leafn_lookup_for_addname()
683 if (be16_to_cpu(bests[fi]) >= length) in xfs_dir2_leafn_lookup_for_addname()
1128 __be16 *bests; in xfs_dir3_data_block_free() local
1133 bests = dp->d_ops->free_bests_p(free); in xfs_dir3_data_block_free()
1139 bests[findex] = cpu_to_be16(longest); in xfs_dir3_data_block_free()
1156 if (bests[i] != cpu_to_be16(NULLDATAOFF)) in xfs_dir3_data_block_free()
1163 bests[findex] = cpu_to_be16(NULLDATAOFF); in xfs_dir3_data_block_free()
1715 __be16 *bests; in xfs_dir2_node_addname_int() local
1737 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_node_addname_int()
1747 ASSERT(be16_to_cpu(bests[findex]) != NULLDATAOFF); in xfs_dir2_node_addname_int()
1748 ASSERT(be16_to_cpu(bests[findex]) >= length); in xfs_dir2_node_addname_int()
1831 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_node_addname_int()
1833 if (be16_to_cpu(bests[findex]) != NULLDATAOFF && in xfs_dir2_node_addname_int()
1834 be16_to_cpu(bests[findex]) >= length) in xfs_dir2_node_addname_int()
1930 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_node_addname_int()
1942 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_node_addname_int()
1960 bests[findex] = cpu_to_be16(NULLDATAOFF); in xfs_dir2_node_addname_int()
1966 if (bests[findex] == cpu_to_be16(NULLDATAOFF)) { in xfs_dir2_node_addname_int()
1978 bests[findex] = bf[0].length; in xfs_dir2_node_addname_int()
2044 bests = dp->d_ops->free_bests_p(free); /* gcc is so stupid */ in xfs_dir2_node_addname_int()
2045 if (be16_to_cpu(bests[findex]) != be16_to_cpu(bf[0].length)) { in xfs_dir2_node_addname_int()
2046 bests[findex] = bf[0].length; in xfs_dir2_node_addname_int()