Lines Matching refs:dst
615 struct qc_dqblk *dst) in xfs_qm_scall_getquota_fill_qc() argument
617 memset(dst, 0, sizeof(*dst)); in xfs_qm_scall_getquota_fill_qc()
618 dst->d_spc_hardlimit = in xfs_qm_scall_getquota_fill_qc()
620 dst->d_spc_softlimit = in xfs_qm_scall_getquota_fill_qc()
622 dst->d_ino_hardlimit = be64_to_cpu(dqp->q_core.d_ino_hardlimit); in xfs_qm_scall_getquota_fill_qc()
623 dst->d_ino_softlimit = be64_to_cpu(dqp->q_core.d_ino_softlimit); in xfs_qm_scall_getquota_fill_qc()
624 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_res_bcount); in xfs_qm_scall_getquota_fill_qc()
625 dst->d_ino_count = dqp->q_res_icount; in xfs_qm_scall_getquota_fill_qc()
626 dst->d_spc_timer = be32_to_cpu(dqp->q_core.d_btimer); in xfs_qm_scall_getquota_fill_qc()
627 dst->d_ino_timer = be32_to_cpu(dqp->q_core.d_itimer); in xfs_qm_scall_getquota_fill_qc()
628 dst->d_ino_warns = be16_to_cpu(dqp->q_core.d_iwarns); in xfs_qm_scall_getquota_fill_qc()
629 dst->d_spc_warns = be16_to_cpu(dqp->q_core.d_bwarns); in xfs_qm_scall_getquota_fill_qc()
630 dst->d_rt_spc_hardlimit = in xfs_qm_scall_getquota_fill_qc()
632 dst->d_rt_spc_softlimit = in xfs_qm_scall_getquota_fill_qc()
634 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_res_rtbcount); in xfs_qm_scall_getquota_fill_qc()
635 dst->d_rt_spc_timer = be32_to_cpu(dqp->q_core.d_rtbtimer); in xfs_qm_scall_getquota_fill_qc()
636 dst->d_rt_spc_warns = be16_to_cpu(dqp->q_core.d_rtbwarns); in xfs_qm_scall_getquota_fill_qc()
649 dst->d_spc_timer = 0; in xfs_qm_scall_getquota_fill_qc()
650 dst->d_ino_timer = 0; in xfs_qm_scall_getquota_fill_qc()
651 dst->d_rt_spc_timer = 0; in xfs_qm_scall_getquota_fill_qc()
659 if ((dst->d_space > dst->d_spc_softlimit) && in xfs_qm_scall_getquota_fill_qc()
660 (dst->d_spc_softlimit > 0)) { in xfs_qm_scall_getquota_fill_qc()
661 ASSERT(dst->d_spc_timer != 0); in xfs_qm_scall_getquota_fill_qc()
663 if ((dst->d_ino_count > dst->d_ino_softlimit) && in xfs_qm_scall_getquota_fill_qc()
664 (dst->d_ino_softlimit > 0)) { in xfs_qm_scall_getquota_fill_qc()
665 ASSERT(dst->d_ino_timer != 0); in xfs_qm_scall_getquota_fill_qc()
677 struct qc_dqblk *dst) in xfs_qm_scall_getquota() argument
699 xfs_qm_scall_getquota_fill_qc(mp, type, dqp, dst); in xfs_qm_scall_getquota()
715 struct qc_dqblk *dst) in xfs_qm_scall_getquota_next() argument
727 xfs_qm_scall_getquota_fill_qc(mp, type, dqp, dst); in xfs_qm_scall_getquota_next()