Searched refs:ddq (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_dquot_buf.c | 53 xfs_disk_dquot_t *ddq, in xfs_dqcheck() argument 59 xfs_dqblk_t *d = (xfs_dqblk_t *)ddq; in xfs_dqcheck() 77 if (ddq->d_magic != cpu_to_be16(XFS_DQUOT_MAGIC)) { in xfs_dqcheck() 81 str, id, be16_to_cpu(ddq->d_magic), XFS_DQUOT_MAGIC); in xfs_dqcheck() 84 if (ddq->d_version != XFS_DQUOT_VERSION) { in xfs_dqcheck() 88 str, id, ddq->d_version, XFS_DQUOT_VERSION); in xfs_dqcheck() 92 if (ddq->d_flags != XFS_DQ_USER && in xfs_dqcheck() 93 ddq->d_flags != XFS_DQ_PROJ && in xfs_dqcheck() 94 ddq->d_flags != XFS_DQ_GROUP) { in xfs_dqcheck() 98 str, id, ddq->d_flags); in xfs_dqcheck() [all …]
|
D | xfs_quota_defs.h | 155 extern int xfs_dqcheck(struct xfs_mount *mp, xfs_disk_dquot_t *ddq,
|
/linux-4.1.27/fs/xfs/ |
D | xfs_qm_syscalls.c | 405 struct xfs_disk_dquot *ddq; in xfs_qm_scall_setqlim() local 446 ddq = &dqp->q_core; in xfs_qm_scall_setqlim() 453 be64_to_cpu(ddq->d_blk_hardlimit); in xfs_qm_scall_setqlim() 456 be64_to_cpu(ddq->d_blk_softlimit); in xfs_qm_scall_setqlim() 458 ddq->d_blk_hardlimit = cpu_to_be64(hard); in xfs_qm_scall_setqlim() 459 ddq->d_blk_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim() 470 be64_to_cpu(ddq->d_rtb_hardlimit); in xfs_qm_scall_setqlim() 473 be64_to_cpu(ddq->d_rtb_softlimit); in xfs_qm_scall_setqlim() 475 ddq->d_rtb_hardlimit = cpu_to_be64(hard); in xfs_qm_scall_setqlim() 476 ddq->d_rtb_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim() [all …]
|
D | xfs_qm.c | 833 struct xfs_disk_dquot *ddq; in xfs_qm_reset_dqcounts() local 835 ddq = (struct xfs_disk_dquot *)&dqb[j]; in xfs_qm_reset_dqcounts() 842 xfs_dqcheck(mp, ddq, id+j, type, XFS_QMOPT_DQREPAIR, in xfs_qm_reset_dqcounts() 848 ddq->d_flags = type; in xfs_qm_reset_dqcounts() 849 ddq->d_bcount = 0; in xfs_qm_reset_dqcounts() 850 ddq->d_icount = 0; in xfs_qm_reset_dqcounts() 851 ddq->d_rtbcount = 0; in xfs_qm_reset_dqcounts() 852 ddq->d_btimer = 0; in xfs_qm_reset_dqcounts() 853 ddq->d_itimer = 0; in xfs_qm_reset_dqcounts() 854 ddq->d_rtbtimer = 0; in xfs_qm_reset_dqcounts() [all …]
|
D | xfs_dquot.c | 413 struct xfs_disk_dquot *ddq; in xfs_qm_dqrepair() local 436 ddq = &d[i].dd_diskdq; in xfs_qm_dqrepair() 437 error = xfs_dqcheck(mp, ddq, firstid + i, in xfs_qm_dqrepair()
|
D | xfs_log_recover.c | 2830 struct xfs_disk_dquot *ddq, *recddq; in xlog_recover_dquot_pass2() local 2893 ddq = (xfs_disk_dquot_t *)xfs_buf_offset(bp, dq_f->qlf_boffset); in xlog_recover_dquot_pass2() 2900 struct xfs_dqblk *dqb = (struct xfs_dqblk *)ddq; in xlog_recover_dquot_pass2() 2908 memcpy(ddq, recddq, item->ri_buf[1].i_len); in xlog_recover_dquot_pass2() 2910 xfs_update_cksum((char *)ddq, sizeof(struct xfs_dqblk), in xlog_recover_dquot_pass2()
|