Home
last modified time | relevance | path

Searched refs:ddq (Results 1 – 5 of 5) sorted by relevance

/fs/xfs/libxfs/
Dxfs_dquot_buf.c39 xfs_disk_dquot_t *ddq, in xfs_dquot_verify() argument
58 if (ddq->d_magic != cpu_to_be16(XFS_DQUOT_MAGIC)) in xfs_dquot_verify()
60 if (ddq->d_version != XFS_DQUOT_VERSION) in xfs_dquot_verify()
63 if (type && ddq->d_flags != type) in xfs_dquot_verify()
65 if (ddq->d_flags != XFS_DQ_USER && in xfs_dquot_verify()
66 ddq->d_flags != XFS_DQ_PROJ && in xfs_dquot_verify()
67 ddq->d_flags != XFS_DQ_GROUP) in xfs_dquot_verify()
70 if (id != -1 && id != be32_to_cpu(ddq->d_id)) in xfs_dquot_verify()
73 if (!ddq->d_id) in xfs_dquot_verify()
76 if (ddq->d_blk_softlimit && in xfs_dquot_verify()
[all …]
Dxfs_quota_defs.h141 struct xfs_disk_dquot *ddq, xfs_dqid_t id, uint type);
/fs/xfs/
Dxfs_qm_syscalls.c386 struct xfs_disk_dquot *ddq; in xfs_qm_scall_setqlim() local
427 ddq = &dqp->q_core; in xfs_qm_scall_setqlim()
434 be64_to_cpu(ddq->d_blk_hardlimit); in xfs_qm_scall_setqlim()
437 be64_to_cpu(ddq->d_blk_softlimit); in xfs_qm_scall_setqlim()
439 ddq->d_blk_hardlimit = cpu_to_be64(hard); in xfs_qm_scall_setqlim()
440 ddq->d_blk_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim()
451 be64_to_cpu(ddq->d_rtb_hardlimit); in xfs_qm_scall_setqlim()
454 be64_to_cpu(ddq->d_rtb_softlimit); in xfs_qm_scall_setqlim()
456 ddq->d_rtb_hardlimit = cpu_to_be64(hard); in xfs_qm_scall_setqlim()
457 ddq->d_rtb_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim()
[all …]
Dxfs_qm.c847 struct xfs_disk_dquot *ddq; in xfs_qm_reset_dqcounts() local
849 ddq = (struct xfs_disk_dquot *)&dqb[j]; in xfs_qm_reset_dqcounts()
865 ddq->d_flags = type; in xfs_qm_reset_dqcounts()
866 ddq->d_bcount = 0; in xfs_qm_reset_dqcounts()
867 ddq->d_icount = 0; in xfs_qm_reset_dqcounts()
868 ddq->d_rtbcount = 0; in xfs_qm_reset_dqcounts()
869 ddq->d_btimer = 0; in xfs_qm_reset_dqcounts()
870 ddq->d_itimer = 0; in xfs_qm_reset_dqcounts()
871 ddq->d_rtbtimer = 0; in xfs_qm_reset_dqcounts()
872 ddq->d_bwarns = 0; in xfs_qm_reset_dqcounts()
[all …]
Dxfs_log_recover.c3234 struct xfs_disk_dquot *ddq, *recddq; in xlog_recover_dquot_pass2() local
3300 ddq = xfs_buf_offset(bp, dq_f->qlf_boffset); in xlog_recover_dquot_pass2()
3307 struct xfs_dqblk *dqb = (struct xfs_dqblk *)ddq; in xlog_recover_dquot_pass2()
3315 memcpy(ddq, recddq, item->ri_buf[1].i_len); in xlog_recover_dquot_pass2()
3317 xfs_update_cksum((char *)ddq, sizeof(struct xfs_dqblk), in xlog_recover_dquot_pass2()