Searched refs:dqb (Results 1 – 4 of 4) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_dquot_buf.c | 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(struct xfs_dqblk)); 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() [all …]
|
D | xfs_quota_defs.h | 136 struct xfs_dqblk *dqb, xfs_dqid_t id); 138 extern void xfs_dqblk_repair(struct xfs_mount *mp, struct xfs_dqblk *dqb,
|
/fs/xfs/ |
D | xfs_dquot_item_recover.c | 140 struct xfs_dqblk *dqb = (struct xfs_dqblk *)ddq; in xlog_recover_dquot_commit_pass2() local 141 xfs_lsn_t lsn = be64_to_cpu(dqb->dd_lsn); in xlog_recover_dquot_commit_pass2()
|
D | xfs_qm.c | 834 struct xfs_dqblk *dqb; in xfs_qm_reset_dqcounts() local 848 dqb = bp->b_addr; in xfs_qm_reset_dqcounts() 852 ddq = (struct xfs_disk_dquot *)&dqb[j]; in xfs_qm_reset_dqcounts() 860 if (xfs_dqblk_verify(mp, &dqb[j], id + j) || in xfs_qm_reset_dqcounts() 861 (dqb[j].dd_diskdq.d_type & XFS_DQTYPE_REC_MASK) != type) in xfs_qm_reset_dqcounts() 862 xfs_dqblk_repair(mp, &dqb[j], id + j, type); in xfs_qm_reset_dqcounts() 890 xfs_update_cksum((char *)&dqb[j], in xfs_qm_reset_dqcounts()
|