Lines Matching refs:dqp
34 struct xfs_dquot *dqp) in xfs_fill_statvfs_from_dquot() argument
38 limit = dqp->q_core.d_blk_softlimit ? in xfs_fill_statvfs_from_dquot()
39 be64_to_cpu(dqp->q_core.d_blk_softlimit) : in xfs_fill_statvfs_from_dquot()
40 be64_to_cpu(dqp->q_core.d_blk_hardlimit); in xfs_fill_statvfs_from_dquot()
44 (statp->f_blocks > dqp->q_res_bcount) ? in xfs_fill_statvfs_from_dquot()
45 (statp->f_blocks - dqp->q_res_bcount) : 0; in xfs_fill_statvfs_from_dquot()
48 limit = dqp->q_core.d_ino_softlimit ? in xfs_fill_statvfs_from_dquot()
49 be64_to_cpu(dqp->q_core.d_ino_softlimit) : in xfs_fill_statvfs_from_dquot()
50 be64_to_cpu(dqp->q_core.d_ino_hardlimit); in xfs_fill_statvfs_from_dquot()
54 (statp->f_files > dqp->q_res_icount) ? in xfs_fill_statvfs_from_dquot()
55 (statp->f_ffree - dqp->q_res_icount) : 0; in xfs_fill_statvfs_from_dquot()
73 xfs_dquot_t *dqp; in xfs_qm_statvfs() local
75 if (!xfs_qm_dqget(mp, NULL, xfs_get_projid(ip), XFS_DQ_PROJ, 0, &dqp)) { in xfs_qm_statvfs()
76 xfs_fill_statvfs_from_dquot(statp, dqp); in xfs_qm_statvfs()
77 xfs_qm_dqput(dqp); in xfs_qm_statvfs()