Lines Matching refs:be16_to_cpu
251 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
252 p += be16_to_cpu(dup->length); in xchk_dir_rec()
300 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
303 if (dup_length < be16_to_cpu(bf[XFS_DIR2_DATA_FD_COUNT - 1].length)) in xchk_directory_check_free_entry()
307 if (dup_length == be16_to_cpu(dfp->length)) in xchk_directory_check_free_entry()
361 offset = be16_to_cpu(dfp->offset); in xchk_directory_data_bestfree()
369 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
373 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree()
380 if (smallest_bestfree < be16_to_cpu(dfp->length)) { in xchk_directory_data_bestfree()
385 smallest_bestfree = be16_to_cpu(dfp->length); in xchk_directory_data_bestfree()
412 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
427 newlen = be16_to_cpu(dup->length); in xchk_directory_data_bestfree()
467 if (len != be16_to_cpu(dfp->length)) in xchk_directory_check_freesp()
470 if (len > 0 && be16_to_cpu(dfp->offset) == 0) in xchk_directory_check_freesp()
555 best = be16_to_cpu(*bestp); in xchk_directory_leaf1_bestfree()
605 best = be16_to_cpu(*bestp); in xchk_directory_free_bestfree()