Home
last modified time | relevance | path

Searched refs:ddqp (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_dquot.c507 struct xfs_disk_dquot *ddqp) in xfs_dquot_check_type() argument
512 ddqp_type = ddqp->d_type & XFS_DQTYPE_REC_MASK; in xfs_dquot_check_type()
515 if (be32_to_cpu(ddqp->d_id) != dqp->q_id) in xfs_dquot_check_type()
545 struct xfs_disk_dquot *ddqp = bp->b_addr + dqp->q_bufoffset; in xfs_dquot_from_disk() local
551 if (!xfs_dquot_check_type(dqp, ddqp)) { in xfs_dquot_from_disk()
560 dqp->q_type = ddqp->d_type; in xfs_dquot_from_disk()
561 dqp->q_blk.hardlimit = be64_to_cpu(ddqp->d_blk_hardlimit); in xfs_dquot_from_disk()
562 dqp->q_blk.softlimit = be64_to_cpu(ddqp->d_blk_softlimit); in xfs_dquot_from_disk()
563 dqp->q_ino.hardlimit = be64_to_cpu(ddqp->d_ino_hardlimit); in xfs_dquot_from_disk()
564 dqp->q_ino.softlimit = be64_to_cpu(ddqp->d_ino_softlimit); in xfs_dquot_from_disk()
[all …]
H A Dxfs_dquot.h199 void xfs_dquot_to_disk(struct xfs_disk_dquot *ddqp, struct xfs_dquot *dqp);