Lines Matching refs:dqp
22 struct xfs_dquot *dqp) in xfs_fill_statvfs_from_dquot() argument
26 limit = dqp->q_blk.softlimit ? in xfs_fill_statvfs_from_dquot()
27 dqp->q_blk.softlimit : in xfs_fill_statvfs_from_dquot()
28 dqp->q_blk.hardlimit; in xfs_fill_statvfs_from_dquot()
32 (statp->f_blocks > dqp->q_blk.reserved) ? in xfs_fill_statvfs_from_dquot()
33 (statp->f_blocks - dqp->q_blk.reserved) : 0; in xfs_fill_statvfs_from_dquot()
36 limit = dqp->q_ino.softlimit ? in xfs_fill_statvfs_from_dquot()
37 dqp->q_ino.softlimit : in xfs_fill_statvfs_from_dquot()
38 dqp->q_ino.hardlimit; in xfs_fill_statvfs_from_dquot()
42 (statp->f_files > dqp->q_ino.reserved) ? in xfs_fill_statvfs_from_dquot()
43 (statp->f_files - dqp->q_ino.reserved) : 0; in xfs_fill_statvfs_from_dquot()
61 struct xfs_dquot *dqp; in xfs_qm_statvfs() local
63 if (!xfs_qm_dqget(mp, ip->i_projid, XFS_DQTYPE_PROJ, false, &dqp)) { in xfs_qm_statvfs()
64 xfs_fill_statvfs_from_dquot(statp, dqp); in xfs_qm_statvfs()
65 xfs_qm_dqput(dqp); in xfs_qm_statvfs()