Lines Matching refs:ddq
269 const struct xfs_disk_dquot *ddq, in xrep_quota_fix_timer() argument
285 if (ddq->d_type & XFS_DQTYPE_BIGTIME) in xrep_quota_fix_timer()
302 struct xfs_disk_dquot *ddq; in xrep_quota_block() local
324 ddq = &dqblk[0].dd_diskdq; in xrep_quota_block()
330 if ((ddq->d_type & XFS_DQTYPE_REC_MASK) != dqtype || in xrep_quota_block()
331 id == be32_to_cpu(ddq->d_id)) { in xrep_quota_block()
344 ddq = &dqblk->dd_diskdq; in xrep_quota_block()
348 ddq->d_magic = cpu_to_be16(XFS_DQUOT_MAGIC); in xrep_quota_block()
349 ddq->d_version = XFS_DQUOT_VERSION; in xrep_quota_block()
350 ddq->d_type = dqtype; in xrep_quota_block()
351 ddq->d_id = cpu_to_be32(id + i); in xrep_quota_block()
353 if (xfs_has_bigtime(sc->mp) && ddq->d_id) in xrep_quota_block()
354 ddq->d_type |= XFS_DQTYPE_BIGTIME; in xrep_quota_block()
356 xrep_quota_fix_timer(sc->mp, ddq, ddq->d_blk_softlimit, in xrep_quota_block()
357 ddq->d_bcount, &ddq->d_btimer, in xrep_quota_block()
360 xrep_quota_fix_timer(sc->mp, ddq, ddq->d_ino_softlimit, in xrep_quota_block()
361 ddq->d_icount, &ddq->d_itimer, in xrep_quota_block()
364 xrep_quota_fix_timer(sc->mp, ddq, ddq->d_rtb_softlimit, in xrep_quota_block()
365 ddq->d_rtbcount, &ddq->d_rtbtimer, in xrep_quota_block()