Lines Matching refs:mp

30 	struct xfs_mount		*mp,
33 if (xfs_has_crc(mp))
43 struct xfs_mount *mp,
47 xfs_dir2_data_entsize(mp, dep->namelen) - sizeof(__be16));
52 struct xfs_mount *mp,
55 if (xfs_has_ftype(mp)) {
67 struct xfs_mount *mp,
74 if (xfs_has_ftype(mp))
114 struct xfs_mount *mp = bp->b_mount;
119 struct xfs_da_geometry *geo = mp->m_dir_geo;
153 bf = xfs_dir2_data_bestfree_p(mp, hdr);
222 if (!xfs_verify_dir_ino(mp, be64_to_cpu(dep->inumber)))
224 if (offset + xfs_dir2_data_entsize(mp, dep->namelen) > end)
226 if (be16_to_cpu(*xfs_dir2_data_entry_tag_p(mp, dep)) != offset)
228 if (xfs_dir2_data_get_ftype(mp, dep) >= XFS_DIR3_FT_MAX)
239 hash = xfs_dir2_hashname(mp, &name);
248 offset += xfs_dir2_data_entsize(mp, dep->namelen);
295 struct xfs_mount *mp = bp->b_mount;
301 if (xfs_has_crc(mp)) {
302 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid))
306 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn)))
344 struct xfs_mount *mp = bp->b_mount;
347 if (xfs_has_crc(mp) &&
361 struct xfs_mount *mp = bp->b_mount;
372 if (!xfs_has_crc(mp))
403 struct xfs_mount *mp = dp->i_mount;
405 if (xfs_has_crc(mp)) {
641 struct xfs_mount *mp,
645 struct xfs_da_geometry *geo = mp->m_dir_geo;
646 struct xfs_dir2_data_free *bf = xfs_dir2_data_bestfree_p(mp, hdr);
682 be16_to_cpu(*xfs_dir2_data_entry_tag_p(mp, dep)));
683 offset += xfs_dir2_data_entsize(mp, dep->namelen);
699 struct xfs_mount *mp = dp->i_mount;
722 if (xfs_has_crc(mp)) {
729 uuid_copy(&hdr3->uuid, &mp->m_sb.sb_meta_uuid);
734 bf = xfs_dir2_data_bestfree_p(mp, hdr);
768 struct xfs_mount *mp = bp->b_mount;
777 (uint)((char *)(xfs_dir2_data_entry_tag_p(mp, dep) + 1) -