Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/quota/
Dxfs_qm_syscalls.c600 xfs_disk_dquot_t *ddq; in xfs_qm_scall_setqlim() local
639 ddq = &dqp->q_core; in xfs_qm_scall_setqlim()
646 INT_GET(ddq->d_blk_hardlimit, ARCH_CONVERT); in xfs_qm_scall_setqlim()
649 INT_GET(ddq->d_blk_softlimit, ARCH_CONVERT); in xfs_qm_scall_setqlim()
651 INT_SET(ddq->d_blk_hardlimit, ARCH_CONVERT, hard); in xfs_qm_scall_setqlim()
652 INT_SET(ddq->d_blk_softlimit, ARCH_CONVERT, soft); in xfs_qm_scall_setqlim()
662 INT_GET(ddq->d_rtb_hardlimit, ARCH_CONVERT); in xfs_qm_scall_setqlim()
665 INT_GET(ddq->d_rtb_softlimit, ARCH_CONVERT); in xfs_qm_scall_setqlim()
667 INT_SET(ddq->d_rtb_hardlimit, ARCH_CONVERT, hard); in xfs_qm_scall_setqlim()
668 INT_SET(ddq->d_rtb_softlimit, ARCH_CONVERT, soft); in xfs_qm_scall_setqlim()
[all …]
Dxfs_qm.c1497 xfs_disk_dquot_t *ddq; in xfs_qm_reset_dqcounts() local
1510 ddq = (xfs_disk_dquot_t *)XFS_BUF_PTR(bp); in xfs_qm_reset_dqcounts()
1517 (void) xfs_qm_dqcheck(ddq, id+j, type, XFS_QMOPT_DQREPAIR, in xfs_qm_reset_dqcounts()
1519 INT_SET(ddq->d_bcount, ARCH_CONVERT, 0ULL); in xfs_qm_reset_dqcounts()
1520 INT_SET(ddq->d_icount, ARCH_CONVERT, 0ULL); in xfs_qm_reset_dqcounts()
1521 INT_SET(ddq->d_rtbcount, ARCH_CONVERT, 0ULL); in xfs_qm_reset_dqcounts()
1522 INT_SET(ddq->d_btimer, ARCH_CONVERT, (time_t)0); in xfs_qm_reset_dqcounts()
1523 INT_SET(ddq->d_itimer, ARCH_CONVERT, (time_t)0); in xfs_qm_reset_dqcounts()
1524 INT_SET(ddq->d_bwarns, ARCH_CONVERT, 0UL); in xfs_qm_reset_dqcounts()
1525 INT_SET(ddq->d_iwarns, ARCH_CONVERT, 0UL); in xfs_qm_reset_dqcounts()
[all …]
Dxfs_dquot.c585 xfs_disk_dquot_t *ddq; in xfs_qm_dqtobp() local
675 ddq = (xfs_disk_dquot_t *)((char *)XFS_BUF_PTR(bp) + dqp->q_bufoffset); in xfs_qm_dqtobp()
680 if (xfs_qm_dqcheck(ddq, id, in xfs_qm_dqtobp()
692 *O_ddpp = ddq; in xfs_qm_dqtobp()
/linux-2.4.37.9/fs/xfs/
Dxfs_log_recover.c1991 xfs_disk_dquot_t *ddq, in xfs_qm_dqcheck() argument
1997 xfs_dqblk_t *d = (xfs_dqblk_t *)ddq; in xfs_qm_dqcheck()
2015 if (INT_GET(ddq->d_magic, ARCH_CONVERT) != XFS_DQUOT_MAGIC) { in xfs_qm_dqcheck()
2020 INT_GET(ddq->d_magic, ARCH_CONVERT), XFS_DQUOT_MAGIC); in xfs_qm_dqcheck()
2023 if (INT_GET(ddq->d_version, ARCH_CONVERT) != XFS_DQUOT_VERSION) { in xfs_qm_dqcheck()
2028 INT_GET(ddq->d_magic, ARCH_CONVERT), XFS_DQUOT_VERSION); in xfs_qm_dqcheck()
2032 if (INT_GET(ddq->d_flags, ARCH_CONVERT) != XFS_DQ_USER && in xfs_qm_dqcheck()
2033 INT_GET(ddq->d_flags, ARCH_CONVERT) != XFS_DQ_GROUP) { in xfs_qm_dqcheck()
2037 str, id, INT_GET(ddq->d_flags, ARCH_CONVERT)); in xfs_qm_dqcheck()
2041 if (id != -1 && id != INT_GET(ddq->d_id, ARCH_CONVERT)) { in xfs_qm_dqcheck()
[all …]