Lines Matching refs:dst
640 struct qc_dqblk *dst) in xfs_qm_scall_getquota() argument
663 memset(dst, 0, sizeof(*dst)); in xfs_qm_scall_getquota()
664 dst->d_spc_hardlimit = in xfs_qm_scall_getquota()
666 dst->d_spc_softlimit = in xfs_qm_scall_getquota()
668 dst->d_ino_hardlimit = be64_to_cpu(dqp->q_core.d_ino_hardlimit); in xfs_qm_scall_getquota()
669 dst->d_ino_softlimit = be64_to_cpu(dqp->q_core.d_ino_softlimit); in xfs_qm_scall_getquota()
670 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_res_bcount); in xfs_qm_scall_getquota()
671 dst->d_ino_count = dqp->q_res_icount; in xfs_qm_scall_getquota()
672 dst->d_spc_timer = be32_to_cpu(dqp->q_core.d_btimer); in xfs_qm_scall_getquota()
673 dst->d_ino_timer = be32_to_cpu(dqp->q_core.d_itimer); in xfs_qm_scall_getquota()
674 dst->d_ino_warns = be16_to_cpu(dqp->q_core.d_iwarns); in xfs_qm_scall_getquota()
675 dst->d_spc_warns = be16_to_cpu(dqp->q_core.d_bwarns); in xfs_qm_scall_getquota()
676 dst->d_rt_spc_hardlimit = in xfs_qm_scall_getquota()
678 dst->d_rt_spc_softlimit = in xfs_qm_scall_getquota()
680 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_res_rtbcount); in xfs_qm_scall_getquota()
681 dst->d_rt_spc_timer = be32_to_cpu(dqp->q_core.d_rtbtimer); in xfs_qm_scall_getquota()
682 dst->d_rt_spc_warns = be16_to_cpu(dqp->q_core.d_rtbwarns); in xfs_qm_scall_getquota()
695 dst->d_spc_timer = 0; in xfs_qm_scall_getquota()
696 dst->d_ino_timer = 0; in xfs_qm_scall_getquota()
697 dst->d_rt_spc_timer = 0; in xfs_qm_scall_getquota()
705 if ((dst->d_space > dst->d_spc_softlimit) && in xfs_qm_scall_getquota()
706 (dst->d_spc_softlimit > 0)) { in xfs_qm_scall_getquota()
707 ASSERT(dst->d_spc_timer != 0); in xfs_qm_scall_getquota()
709 if ((dst->d_ino_count > dst->d_ino_softlimit) && in xfs_qm_scall_getquota()
710 (dst->d_ino_softlimit > 0)) { in xfs_qm_scall_getquota()
711 ASSERT(dst->d_ino_timer != 0); in xfs_qm_scall_getquota()