Lines Matching refs:loops
1847 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) in gfs2_rgrp_congested() argument
1878 if (loops == 1) in gfs2_rgrp_congested()
1967 int loops = 0; in gfs2_inplace_reserve() local
1987 while (loops < 3) { in gfs2_inplace_reserve()
1995 if (loops == 0 && in gfs2_inplace_reserve()
1998 if ((loops < 2) && in gfs2_inplace_reserve()
2000 gfs2_rgrp_congested(rs->rs_rbm.rgd, loops)) in gfs2_inplace_reserve()
2008 if (!gfs2_rs_active(rs) && (loops < 2) && in gfs2_inplace_reserve()
2009 gfs2_rgrp_congested(rs->rs_rbm.rgd, loops)) in gfs2_inplace_reserve()
2023 (loops == 0 && ap->target > rs->rs_rbm.rgd->rd_extfail_pt)) in gfs2_inplace_reserve()
2034 if (!gfs2_rs_active(rs) && (loops < 1)) in gfs2_inplace_reserve()
2039 (loops == 2 && ap->min_target && in gfs2_inplace_reserve()
2069 loops++; in gfs2_inplace_reserve()
2077 if (loops == 2) in gfs2_inplace_reserve()