Lines Matching refs:be16_to_cpu
254 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
255 p += be16_to_cpu(dup->length); in xchk_dir_rec()
303 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
306 if (dup_length < be16_to_cpu(bf[XFS_DIR2_DATA_FD_COUNT - 1].length)) in xchk_directory_check_free_entry()
310 if (dup_length == be16_to_cpu(dfp->length)) in xchk_directory_check_free_entry()
364 offset = be16_to_cpu(dfp->offset); in xchk_directory_data_bestfree()
372 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
376 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree()
383 if (smallest_bestfree < be16_to_cpu(dfp->length)) { in xchk_directory_data_bestfree()
388 smallest_bestfree = be16_to_cpu(dfp->length); in xchk_directory_data_bestfree()
415 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
430 newlen = be16_to_cpu(dup->length); in xchk_directory_data_bestfree()
470 if (len != be16_to_cpu(dfp->length)) in xchk_directory_check_freesp()
473 if (len > 0 && be16_to_cpu(dfp->offset) == 0) in xchk_directory_check_freesp()
558 best = be16_to_cpu(*bestp); in xchk_directory_leaf1_bestfree()
608 best = be16_to_cpu(*bestp); in xchk_directory_free_bestfree()