Lines Matching refs:newlim
505 struct qc_dqblk *newlim) in xfs_qm_scall_setqlim() argument
516 if (newlim->d_fieldmask & ~XFS_QC_MASK) in xfs_qm_scall_setqlim()
518 if ((newlim->d_fieldmask & XFS_QC_MASK) == 0) in xfs_qm_scall_setqlim()
569 hard = (newlim->d_fieldmask & QC_SPC_HARD) ? in xfs_qm_scall_setqlim()
570 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim()
572 soft = (newlim->d_fieldmask & QC_SPC_SOFT) ? in xfs_qm_scall_setqlim()
573 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim()
580 if (newlim->d_fieldmask & QC_SPC_WARNS) in xfs_qm_scall_setqlim()
581 xfs_setqlim_warns(res, qlim, newlim->d_spc_warns); in xfs_qm_scall_setqlim()
582 if (newlim->d_fieldmask & QC_SPC_TIMER) in xfs_qm_scall_setqlim()
583 xfs_setqlim_timer(mp, res, qlim, newlim->d_spc_timer); in xfs_qm_scall_setqlim()
586 hard = (newlim->d_fieldmask & QC_RT_SPC_HARD) ? in xfs_qm_scall_setqlim()
587 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : in xfs_qm_scall_setqlim()
589 soft = (newlim->d_fieldmask & QC_RT_SPC_SOFT) ? in xfs_qm_scall_setqlim()
590 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : in xfs_qm_scall_setqlim()
596 if (newlim->d_fieldmask & QC_RT_SPC_WARNS) in xfs_qm_scall_setqlim()
597 xfs_setqlim_warns(res, qlim, newlim->d_rt_spc_warns); in xfs_qm_scall_setqlim()
598 if (newlim->d_fieldmask & QC_RT_SPC_TIMER) in xfs_qm_scall_setqlim()
599 xfs_setqlim_timer(mp, res, qlim, newlim->d_rt_spc_timer); in xfs_qm_scall_setqlim()
602 hard = (newlim->d_fieldmask & QC_INO_HARD) ? in xfs_qm_scall_setqlim()
603 (xfs_qcnt_t) newlim->d_ino_hardlimit : in xfs_qm_scall_setqlim()
605 soft = (newlim->d_fieldmask & QC_INO_SOFT) ? in xfs_qm_scall_setqlim()
606 (xfs_qcnt_t) newlim->d_ino_softlimit : in xfs_qm_scall_setqlim()
612 if (newlim->d_fieldmask & QC_INO_WARNS) in xfs_qm_scall_setqlim()
613 xfs_setqlim_warns(res, qlim, newlim->d_ino_warns); in xfs_qm_scall_setqlim()
614 if (newlim->d_fieldmask & QC_INO_TIMER) in xfs_qm_scall_setqlim()
615 xfs_setqlim_timer(mp, res, qlim, newlim->d_ino_timer); in xfs_qm_scall_setqlim()