Searched refs:ddq (Results 1 – 5 of 5) sorted by relevance
41 xfs_disk_dquot_t *ddq, in xfs_dquot_verify() argument60 if (ddq->d_magic != cpu_to_be16(XFS_DQUOT_MAGIC)) in xfs_dquot_verify()62 if (ddq->d_version != XFS_DQUOT_VERSION) in xfs_dquot_verify()65 if (type && ddq->d_flags != type) in xfs_dquot_verify()67 if (ddq->d_flags != XFS_DQ_USER && in xfs_dquot_verify()68 ddq->d_flags != XFS_DQ_PROJ && in xfs_dquot_verify()69 ddq->d_flags != XFS_DQ_GROUP) in xfs_dquot_verify()72 if (id != -1 && id != be32_to_cpu(ddq->d_id)) in xfs_dquot_verify()75 if (!ddq->d_id) in xfs_dquot_verify()78 if (ddq->d_blk_softlimit && in xfs_dquot_verify()[all …]
141 struct xfs_disk_dquot *ddq, xfs_dqid_t id, uint type);
391 struct xfs_disk_dquot *ddq; in xfs_qm_scall_setqlim() local432 ddq = &dqp->q_core; in xfs_qm_scall_setqlim()439 be64_to_cpu(ddq->d_blk_hardlimit); in xfs_qm_scall_setqlim()442 be64_to_cpu(ddq->d_blk_softlimit); in xfs_qm_scall_setqlim()444 ddq->d_blk_hardlimit = cpu_to_be64(hard); in xfs_qm_scall_setqlim()445 ddq->d_blk_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim()456 be64_to_cpu(ddq->d_rtb_hardlimit); in xfs_qm_scall_setqlim()459 be64_to_cpu(ddq->d_rtb_softlimit); in xfs_qm_scall_setqlim()461 ddq->d_rtb_hardlimit = cpu_to_be64(hard); in xfs_qm_scall_setqlim()462 ddq->d_rtb_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim()[all …]
851 struct xfs_disk_dquot *ddq; in xfs_qm_reset_dqcounts() local853 ddq = (struct xfs_disk_dquot *)&dqb[j]; in xfs_qm_reset_dqcounts()869 ddq->d_flags = type; in xfs_qm_reset_dqcounts()870 ddq->d_bcount = 0; in xfs_qm_reset_dqcounts()871 ddq->d_icount = 0; in xfs_qm_reset_dqcounts()872 ddq->d_rtbcount = 0; in xfs_qm_reset_dqcounts()873 ddq->d_btimer = 0; in xfs_qm_reset_dqcounts()874 ddq->d_itimer = 0; in xfs_qm_reset_dqcounts()875 ddq->d_rtbtimer = 0; in xfs_qm_reset_dqcounts()876 ddq->d_bwarns = 0; in xfs_qm_reset_dqcounts()[all …]
3310 struct xfs_disk_dquot *ddq, *recddq; in xlog_recover_dquot_pass2() local3376 ddq = xfs_buf_offset(bp, dq_f->qlf_boffset); in xlog_recover_dquot_pass2()3383 struct xfs_dqblk *dqb = (struct xfs_dqblk *)ddq; in xlog_recover_dquot_pass2()3391 memcpy(ddq, recddq, item->ri_buf[1].i_len); in xlog_recover_dquot_pass2()3393 xfs_update_cksum((char *)ddq, sizeof(struct xfs_dqblk), in xlog_recover_dquot_pass2()