Searched refs:newlim (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/fs/xfs/ |
H A D | xfs_qm_syscalls.c | 402 struct qc_dqblk *newlim) xfs_qm_scall_setqlim() 411 if (newlim->d_fieldmask & ~XFS_QC_MASK) xfs_qm_scall_setqlim() 413 if ((newlim->d_fieldmask & XFS_QC_MASK) == 0) xfs_qm_scall_setqlim() 451 hard = (newlim->d_fieldmask & QC_SPC_HARD) ? xfs_qm_scall_setqlim() 452 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : xfs_qm_scall_setqlim() 454 soft = (newlim->d_fieldmask & QC_SPC_SOFT) ? xfs_qm_scall_setqlim() 455 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : xfs_qm_scall_setqlim() 468 hard = (newlim->d_fieldmask & QC_RT_SPC_HARD) ? xfs_qm_scall_setqlim() 469 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : xfs_qm_scall_setqlim() 471 soft = (newlim->d_fieldmask & QC_RT_SPC_SOFT) ? xfs_qm_scall_setqlim() 472 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : xfs_qm_scall_setqlim() 485 hard = (newlim->d_fieldmask & QC_INO_HARD) ? xfs_qm_scall_setqlim() 486 (xfs_qcnt_t) newlim->d_ino_hardlimit : xfs_qm_scall_setqlim() 488 soft = (newlim->d_fieldmask & QC_INO_SOFT) ? xfs_qm_scall_setqlim() 489 (xfs_qcnt_t) newlim->d_ino_softlimit : xfs_qm_scall_setqlim() 505 if (newlim->d_fieldmask & QC_SPC_WARNS) xfs_qm_scall_setqlim() 506 ddq->d_bwarns = cpu_to_be16(newlim->d_spc_warns); xfs_qm_scall_setqlim() 507 if (newlim->d_fieldmask & QC_INO_WARNS) xfs_qm_scall_setqlim() 508 ddq->d_iwarns = cpu_to_be16(newlim->d_ino_warns); xfs_qm_scall_setqlim() 509 if (newlim->d_fieldmask & QC_RT_SPC_WARNS) xfs_qm_scall_setqlim() 510 ddq->d_rtbwarns = cpu_to_be16(newlim->d_rt_spc_warns); xfs_qm_scall_setqlim() 520 if (newlim->d_fieldmask & QC_SPC_TIMER) { xfs_qm_scall_setqlim() 521 q->qi_btimelimit = newlim->d_spc_timer; xfs_qm_scall_setqlim() 522 ddq->d_btimer = cpu_to_be32(newlim->d_spc_timer); xfs_qm_scall_setqlim() 524 if (newlim->d_fieldmask & QC_INO_TIMER) { xfs_qm_scall_setqlim() 525 q->qi_itimelimit = newlim->d_ino_timer; xfs_qm_scall_setqlim() 526 ddq->d_itimer = cpu_to_be32(newlim->d_ino_timer); xfs_qm_scall_setqlim() 528 if (newlim->d_fieldmask & QC_RT_SPC_TIMER) { xfs_qm_scall_setqlim() 529 q->qi_rtbtimelimit = newlim->d_rt_spc_timer; xfs_qm_scall_setqlim() 530 ddq->d_rtbtimer = cpu_to_be32(newlim->d_rt_spc_timer); xfs_qm_scall_setqlim() 532 if (newlim->d_fieldmask & QC_SPC_WARNS) xfs_qm_scall_setqlim() 533 q->qi_bwarnlimit = newlim->d_spc_warns; xfs_qm_scall_setqlim() 534 if (newlim->d_fieldmask & QC_INO_WARNS) xfs_qm_scall_setqlim() 535 q->qi_iwarnlimit = newlim->d_ino_warns; xfs_qm_scall_setqlim() 536 if (newlim->d_fieldmask & QC_RT_SPC_WARNS) xfs_qm_scall_setqlim() 537 q->qi_rtbwarnlimit = newlim->d_rt_spc_warns; xfs_qm_scall_setqlim() 398 xfs_qm_scall_setqlim( struct xfs_mount *mp, xfs_dqid_t id, uint type, struct qc_dqblk *newlim) xfs_qm_scall_setqlim() argument
|
H A D | xfs_quotaops.c | 126 struct qc_dqblk newlim; xfs_fs_set_info() local 139 newlim.d_fieldmask = info->i_fieldmask; xfs_fs_set_info() 140 newlim.d_spc_timer = info->i_spc_timelimit; xfs_fs_set_info() 141 newlim.d_ino_timer = info->i_ino_timelimit; xfs_fs_set_info() 142 newlim.d_rt_spc_timer = info->i_rt_spc_timelimit; xfs_fs_set_info() 143 newlim.d_ino_warns = info->i_ino_warnlimit; xfs_fs_set_info() 144 newlim.d_spc_warns = info->i_spc_warnlimit; xfs_fs_set_info() 145 newlim.d_rt_spc_warns = info->i_rt_spc_warnlimit; xfs_fs_set_info() 147 return xfs_qm_scall_setqlim(mp, 0, xfs_quota_type(type), &newlim); xfs_fs_set_info()
|
Completed in 82 milliseconds