Lines Matching refs:dup
260 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local
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()
306 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument
311 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
332 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local
375 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
376 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
379 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree()
380 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree()
402 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
405 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG)) { in xchk_directory_data_bestfree()
419 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
429 xchk_directory_check_free_entry(sc, lblk, bf, dup); in xchk_directory_data_bestfree()
434 newlen = be16_to_cpu(dup->length); in xchk_directory_data_bestfree()