Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/
Dxfs_qm_syscalls.c276 struct qc_dqblk *newlim) in xfs_qm_scall_setqlim() argument
287 if (newlim->d_fieldmask & ~XFS_QC_MASK) in xfs_qm_scall_setqlim()
289 if ((newlim->d_fieldmask & XFS_QC_MASK) == 0) in xfs_qm_scall_setqlim()
333 hard = (newlim->d_fieldmask & QC_SPC_HARD) ? in xfs_qm_scall_setqlim()
334 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim()
336 soft = (newlim->d_fieldmask & QC_SPC_SOFT) ? in xfs_qm_scall_setqlim()
337 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim()
344 if (newlim->d_fieldmask & QC_SPC_TIMER) in xfs_qm_scall_setqlim()
345 xfs_setqlim_timer(mp, res, qlim, newlim->d_spc_timer); in xfs_qm_scall_setqlim()
348 hard = (newlim->d_fieldmask & QC_RT_SPC_HARD) ? in xfs_qm_scall_setqlim()
[all …]
Dxfs_quotaops.c122 struct qc_dqblk newlim; in xfs_fs_set_info() local
133 newlim.d_fieldmask = info->i_fieldmask; in xfs_fs_set_info()
134 newlim.d_spc_timer = info->i_spc_timelimit; in xfs_fs_set_info()
135 newlim.d_ino_timer = info->i_ino_timelimit; in xfs_fs_set_info()
136 newlim.d_rt_spc_timer = info->i_rt_spc_timelimit; in xfs_fs_set_info()
137 newlim.d_ino_warns = info->i_ino_warnlimit; in xfs_fs_set_info()
138 newlim.d_spc_warns = info->i_spc_warnlimit; in xfs_fs_set_info()
139 newlim.d_rt_spc_warns = info->i_rt_spc_warnlimit; in xfs_fs_set_info()
141 return xfs_qm_scall_setqlim(mp, 0, xfs_quota_type(type), &newlim); in xfs_fs_set_info()
Dxfs_qm.h167 struct qc_dqblk *newlim);
/linux-6.12.1/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))