Lines Matching refs:dfp
308 struct xfs_dir2_data_free *dfp; in xchk_directory_check_free_entry() local
317 for (dfp = &bf[XFS_DIR2_DATA_FD_COUNT - 1]; dfp >= bf; dfp--) in xchk_directory_check_free_entry()
318 if (dup_length == be16_to_cpu(dfp->length)) in xchk_directory_check_free_entry()
333 struct xfs_dir2_data_free *dfp; in xchk_directory_data_bestfree() local
367 for (dfp = &bf[0]; dfp < &bf[XFS_DIR2_DATA_FD_COUNT]; dfp++) { in xchk_directory_data_bestfree()
368 offset = be16_to_cpu(dfp->offset); 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()
470 struct xfs_dir2_data_free *dfp; in xchk_directory_check_freesp() local
472 dfp = xfs_dir2_data_bestfree_p(sc->mp, dbp->b_addr); in xchk_directory_check_freesp()
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()