Lines Matching refs:dqb
106 struct xfs_dqblk *dqb, in xfs_dqblk_verify() argument
110 !uuid_equal(&dqb->dd_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dqblk_verify()
113 return xfs_dquot_verify(mp, &dqb->dd_diskdq, id); in xfs_dqblk_verify()
122 struct xfs_dqblk *dqb, in xfs_dqblk_repair() argument
130 memset(dqb, 0, sizeof(xfs_dqblk_t)); in xfs_dqblk_repair()
132 dqb->dd_diskdq.d_magic = cpu_to_be16(XFS_DQUOT_MAGIC); in xfs_dqblk_repair()
133 dqb->dd_diskdq.d_version = XFS_DQUOT_VERSION; in xfs_dqblk_repair()
134 dqb->dd_diskdq.d_type = type; in xfs_dqblk_repair()
135 dqb->dd_diskdq.d_id = cpu_to_be32(id); in xfs_dqblk_repair()
138 uuid_copy(&dqb->dd_uuid, &mp->m_sb.sb_meta_uuid); in xfs_dqblk_repair()
139 xfs_update_cksum((char *)dqb, sizeof(struct xfs_dqblk), in xfs_dqblk_repair()
185 struct xfs_dqblk *dqb = bp->b_addr; in xfs_dquot_buf_verify() local
211 ddq = &dqb[i].dd_diskdq; in xfs_dquot_buf_verify()
216 fa = xfs_dqblk_verify(mp, &dqb[i], id + i); in xfs_dquot_buf_verify()
220 __func__, &dqb[i], in xfs_dquot_buf_verify()