Lines Matching refs:be16_to_cpu
267 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
268 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec()
311 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
314 if (dup_length < be16_to_cpu(bf[XFS_DIR2_DATA_FD_COUNT - 1].length)) in xchk_directory_check_free_entry()
318 if (dup_length == be16_to_cpu(dfp->length)) in xchk_directory_check_free_entry()
368 offset = be16_to_cpu(dfp->offset); in xchk_directory_data_bestfree()
376 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
380 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree()
387 if (smallest_bestfree < be16_to_cpu(dfp->length)) { in xchk_directory_data_bestfree()
392 smallest_bestfree = be16_to_cpu(dfp->length); in xchk_directory_data_bestfree()
419 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
434 newlen = be16_to_cpu(dup->length); in xchk_directory_data_bestfree()
474 if (len != be16_to_cpu(dfp->length)) in xchk_directory_check_freesp()
477 if (len > 0 && be16_to_cpu(dfp->offset) == 0) in xchk_directory_check_freesp()
560 best = be16_to_cpu(*bestp); in xchk_directory_leaf1_bestfree()
622 best = be16_to_cpu(freehdr.bests[i]); in xchk_directory_free_bestfree()