Lines Matching refs:mp
52 struct xfs_mount *mp, in xfs_dqcheck() argument
79 xfs_alert(mp, in xfs_dqcheck()
86 xfs_alert(mp, in xfs_dqcheck()
96 xfs_alert(mp, in xfs_dqcheck()
104 xfs_alert(mp, in xfs_dqcheck()
117 xfs_alert(mp, in xfs_dqcheck()
128 xfs_alert(mp, in xfs_dqcheck()
139 xfs_alert(mp, in xfs_dqcheck()
151 xfs_notice(mp, "Re-initializing dquot ID 0x%x", id); in xfs_dqcheck()
165 if (xfs_sb_version_hascrc(&mp->m_sb)) { in xfs_dqcheck()
166 uuid_copy(&d->dd_uuid, &mp->m_sb.sb_uuid); in xfs_dqcheck()
176 struct xfs_mount *mp, in xfs_dquot_buf_verify_crc() argument
183 if (!xfs_sb_version_hascrc(&mp->m_sb)) in xfs_dquot_buf_verify_crc()
191 if (mp->m_quotainfo) in xfs_dquot_buf_verify_crc()
192 ndquots = mp->m_quotainfo->qi_dqperchunk; in xfs_dquot_buf_verify_crc()
195 XFS_BB_TO_FSB(mp, bp->b_length)); in xfs_dquot_buf_verify_crc()
201 if (!uuid_equal(&d->dd_uuid, &mp->m_sb.sb_uuid)) in xfs_dquot_buf_verify_crc()
209 struct xfs_mount *mp, in xfs_dquot_buf_verify() argument
223 if (mp->m_quotainfo) in xfs_dquot_buf_verify()
224 ndquots = mp->m_quotainfo->qi_dqperchunk; in xfs_dquot_buf_verify()
244 error = xfs_dqcheck(mp, ddq, id + i, 0, warn, __func__); in xfs_dquot_buf_verify()
255 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_read_verify() local
257 if (!xfs_dquot_buf_verify_crc(mp, bp)) in xfs_dquot_buf_read_verify()
259 else if (!xfs_dquot_buf_verify(mp, bp, XFS_QMOPT_DOWARN)) in xfs_dquot_buf_read_verify()
276 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_readahead_verify() local
278 if (!xfs_dquot_buf_verify_crc(mp, bp) || in xfs_dquot_buf_readahead_verify()
279 !xfs_dquot_buf_verify(mp, bp, 0)) { in xfs_dquot_buf_readahead_verify()
294 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_write_verify() local
296 if (!xfs_dquot_buf_verify(mp, bp, XFS_QMOPT_DOWARN)) { in xfs_dquot_buf_write_verify()