Home
last modified time | relevance | path

Searched refs:newlim (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_qm_syscalls.c505 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()
[all …]
Dxfs_quotaops.c113 struct qc_dqblk newlim; in xfs_fs_set_info() local
126 newlim.d_fieldmask = info->i_fieldmask; in xfs_fs_set_info()
127 newlim.d_spc_timer = info->i_spc_timelimit; in xfs_fs_set_info()
128 newlim.d_ino_timer = info->i_ino_timelimit; in xfs_fs_set_info()
129 newlim.d_rt_spc_timer = info->i_rt_spc_timelimit; in xfs_fs_set_info()
130 newlim.d_ino_warns = info->i_ino_warnlimit; in xfs_fs_set_info()
131 newlim.d_spc_warns = info->i_spc_warnlimit; in xfs_fs_set_info()
132 newlim.d_rt_spc_warns = info->i_rt_spc_warnlimit; in xfs_fs_set_info()
134 return xfs_qm_scall_setqlim(mp, 0, xfs_quota_type(type), &newlim); in xfs_fs_set_info()
Dxfs_qm.h160 struct qc_dqblk *newlim);
/kernel/linux/linux-5.10/tools/kvm/kvm_stat/
Dkvm_stat630 newlim = len(groupids) * len(fields) + 50
634 if hardlim < newlim:
636 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, newlim))
639 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, hardlim))
642 sys.exit("NOFILE rlimit could not be raised to {0}".format(newlim))