Lines Matching defs:ddq
39 struct xfs_disk_dquot *ddq,
59 if (ddq->d_magic != cpu_to_be16(XFS_DQUOT_MAGIC))
61 if (ddq->d_version != XFS_DQUOT_VERSION)
64 if (ddq->d_type & ~XFS_DQTYPE_ANY)
66 ddq_type = ddq->d_type & XFS_DQTYPE_REC_MASK;
72 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) &&
76 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && !ddq->d_id)
79 if (id != -1 && id != be32_to_cpu(ddq->d_id))
82 if (!ddq->d_id)
85 if (ddq->d_blk_softlimit &&
86 be64_to_cpu(ddq->d_bcount) > be64_to_cpu(ddq->d_blk_softlimit) &&
87 !ddq->d_btimer)
90 if (ddq->d_ino_softlimit &&
91 be64_to_cpu(ddq->d_icount) > be64_to_cpu(ddq->d_ino_softlimit) &&
92 !ddq->d_itimer)
95 if (ddq->d_rtb_softlimit &&
96 be64_to_cpu(ddq->d_rtbcount) > be64_to_cpu(ddq->d_rtb_softlimit) &&
97 !ddq->d_rtbtimer)
209 struct xfs_disk_dquot *ddq;
211 ddq = &dqb[i].dd_diskdq;
214 id = be32_to_cpu(ddq->d_id);
302 struct xfs_disk_dquot *ddq,
307 if (t != 0 && (ddq->d_type & XFS_DQTYPE_BIGTIME))