Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/
Dxfs_qm_syscalls.c277 struct qc_dqblk *newlim) in xfs_qm_scall_setqlim() argument
288 if (newlim->d_fieldmask & ~XFS_QC_MASK) in xfs_qm_scall_setqlim()
290 if ((newlim->d_fieldmask & XFS_QC_MASK) == 0) in xfs_qm_scall_setqlim()
334 hard = (newlim->d_fieldmask & QC_SPC_HARD) ? in xfs_qm_scall_setqlim()
335 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim()
337 soft = (newlim->d_fieldmask & QC_SPC_SOFT) ? in xfs_qm_scall_setqlim()
338 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim()
345 if (newlim->d_fieldmask & QC_SPC_TIMER) in xfs_qm_scall_setqlim()
346 xfs_setqlim_timer(mp, res, qlim, newlim->d_spc_timer); in xfs_qm_scall_setqlim()
349 hard = (newlim->d_fieldmask & QC_RT_SPC_HARD) ? in xfs_qm_scall_setqlim()
[all …]
Dxfs_quotaops.c113 struct qc_dqblk newlim; in xfs_fs_set_info() local
124 newlim.d_fieldmask = info->i_fieldmask; in xfs_fs_set_info()
125 newlim.d_spc_timer = info->i_spc_timelimit; in xfs_fs_set_info()
126 newlim.d_ino_timer = info->i_ino_timelimit; in xfs_fs_set_info()
127 newlim.d_rt_spc_timer = info->i_rt_spc_timelimit; in xfs_fs_set_info()
128 newlim.d_ino_warns = info->i_ino_warnlimit; in xfs_fs_set_info()
129 newlim.d_spc_warns = info->i_spc_warnlimit; in xfs_fs_set_info()
130 newlim.d_rt_spc_warns = info->i_rt_spc_warnlimit; in xfs_fs_set_info()
132 return xfs_qm_scall_setqlim(mp, 0, xfs_quota_type(type), &newlim); in xfs_fs_set_info()
Dxfs_qm.h151 struct qc_dqblk *newlim);
/linux-6.1.9/tools/kvm/kvm_stat/
Dkvm_stat698 newlim = len(groupids) * len(fields) + 50
702 if hardlim < newlim:
704 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, newlim))
707 resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, hardlim))
710 sys.exit("NOFILE rlimit could not be raised to {0}".format(newlim))