Home
last modified time | relevance | path

Searched refs:ddq (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_dquot_buf.c39 struct xfs_disk_dquot *ddq, in xfs_dquot_verify()
59 if (ddq->d_magic != cpu_to_be16(XFS_DQUOT_MAGIC)) in xfs_dquot_verify()
61 if (ddq->d_version != XFS_DQUOT_VERSION) in xfs_dquot_verify()
64 if (ddq->d_type & ~XFS_DQTYPE_ANY) in xfs_dquot_verify()
66 ddq_type = ddq->d_type & XFS_DQTYPE_REC_MASK; in xfs_dquot_verify()
72 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && in xfs_dquot_verify()
76 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && !ddq->d_id) in xfs_dquot_verify()
79 if (id != -1 && id != be32_to_cpu(ddq->d_id)) in xfs_dquot_verify()
82 if (!ddq in xfs_dquot_verify()
37 xfs_dquot_verify( struct xfs_mount *mp, struct xfs_disk_dquot *ddq, xfs_dqid_t id) xfs_dquot_verify() argument
209 struct xfs_disk_dquot *ddq; xfs_dquot_buf_verify() local
301 xfs_dquot_from_disk_ts( struct xfs_disk_dquot *ddq, __be32 dtimer) xfs_dquot_from_disk_ts() argument
[all...]
H A Dxfs_quota_defs.h140 struct xfs_disk_dquot *ddq, xfs_dqid_t id);
148 time64_t xfs_dquot_from_disk_ts(struct xfs_disk_dquot *ddq,
150 __be32 xfs_dquot_to_disk_ts(struct xfs_dquot *ddq, time64_t timer);
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_dquot_buf.c39 struct xfs_disk_dquot *ddq, in xfs_dquot_verify()
59 if (ddq->d_magic != cpu_to_be16(XFS_DQUOT_MAGIC)) in xfs_dquot_verify()
61 if (ddq->d_version != XFS_DQUOT_VERSION) in xfs_dquot_verify()
64 if (ddq->d_type & ~XFS_DQTYPE_ANY) in xfs_dquot_verify()
66 ddq_type = ddq->d_type & XFS_DQTYPE_REC_MASK; in xfs_dquot_verify()
72 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && in xfs_dquot_verify()
76 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && !ddq->d_id) in xfs_dquot_verify()
79 if (id != -1 && id != be32_to_cpu(ddq->d_id)) in xfs_dquot_verify()
82 if (!ddq in xfs_dquot_verify()
37 xfs_dquot_verify( struct xfs_mount *mp, struct xfs_disk_dquot *ddq, xfs_dqid_t id) xfs_dquot_verify() argument
209 struct xfs_disk_dquot *ddq; xfs_dquot_buf_verify() local
301 xfs_dquot_from_disk_ts( struct xfs_disk_dquot *ddq, __be32 dtimer) xfs_dquot_from_disk_ts() argument
[all...]
H A Dxfs_quota_defs.h134 struct xfs_disk_dquot *ddq, xfs_dqid_t id);
142 time64_t xfs_dquot_from_disk_ts(struct xfs_disk_dquot *ddq,
144 __be32 xfs_dquot_to_disk_ts(struct xfs_dquot *ddq, time64_t timer);
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_dquot_item_recover.c68 struct xfs_disk_dquot *ddq, *recddq; in xlog_recover_dquot_commit_pass2() local
133 ddq = xfs_buf_offset(bp, dq_f->qlf_boffset); in xlog_recover_dquot_commit_pass2()
140 struct xfs_dqblk *dqb = (struct xfs_dqblk *)ddq; in xlog_recover_dquot_commit_pass2()
148 memcpy(ddq, recddq, item->ri_buf[1].i_len); in xlog_recover_dquot_commit_pass2()
150 xfs_update_cksum((char *)ddq, sizeof(struct xfs_dqblk), in xlog_recover_dquot_commit_pass2()
H A Dxfs_dquot_item.c48 struct xfs_disk_dquot ddq; in xfs_qm_dquot_logitem_format() local
62 xfs_dquot_to_disk(&ddq, qlip->qli_dquot); in xfs_qm_dquot_logitem_format()
64 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_DQUOT, &ddq, in xfs_qm_dquot_logitem_format()
H A Dxfs_qm.c857 struct xfs_disk_dquot *ddq; in xfs_qm_reset_dqcounts() local
859 ddq = (struct xfs_disk_dquot *)&dqb[j]; in xfs_qm_reset_dqcounts()
875 ddq->d_type = type; in xfs_qm_reset_dqcounts()
876 ddq->d_bcount = 0; in xfs_qm_reset_dqcounts()
877 ddq->d_icount = 0; in xfs_qm_reset_dqcounts()
878 ddq->d_rtbcount = 0; in xfs_qm_reset_dqcounts()
885 if (ddq->d_id != 0) { in xfs_qm_reset_dqcounts()
886 ddq->d_btimer = 0; in xfs_qm_reset_dqcounts()
887 ddq->d_itimer = 0; in xfs_qm_reset_dqcounts()
888 ddq in xfs_qm_reset_dqcounts()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_dquot_item.c48 struct xfs_disk_dquot ddq; in xfs_qm_dquot_logitem_format() local
62 xfs_dquot_to_disk(&ddq, qlip->qli_dquot); in xfs_qm_dquot_logitem_format()
64 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_DQUOT, &ddq, in xfs_qm_dquot_logitem_format()
H A Dxfs_dquot_item_recover.c70 struct xfs_disk_dquot *ddq, *recddq; in xlog_recover_dquot_commit_pass2() local
136 ddq = &dqb->dd_diskdq; in xlog_recover_dquot_commit_pass2()
150 memcpy(ddq, recddq, item->ri_buf[1].i_len); in xlog_recover_dquot_commit_pass2()
H A Dxfs_qm.c858 struct xfs_disk_dquot *ddq; in xfs_qm_reset_dqcounts() local
860 ddq = (struct xfs_disk_dquot *)&dqb[j]; in xfs_qm_reset_dqcounts()
876 ddq->d_type = type; in xfs_qm_reset_dqcounts()
877 ddq->d_bcount = 0; in xfs_qm_reset_dqcounts()
878 ddq->d_icount = 0; in xfs_qm_reset_dqcounts()
879 ddq->d_rtbcount = 0; in xfs_qm_reset_dqcounts()
886 if (ddq->d_id != 0) { in xfs_qm_reset_dqcounts()
887 ddq->d_btimer = 0; in xfs_qm_reset_dqcounts()
888 ddq->d_itimer = 0; in xfs_qm_reset_dqcounts()
889 ddq in xfs_qm_reset_dqcounts()
[all...]

Completed in 6 milliseconds