Lines Matching refs:loops
1937 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) in gfs2_rgrp_congested() argument
1977 if (loops == 1) in gfs2_rgrp_congested()
2068 int loops = 0; in gfs2_inplace_reserve() local
2091 while (loops < 3) { in gfs2_inplace_reserve()
2101 if (loops == 0 && in gfs2_inplace_reserve()
2104 if ((loops < 2) && in gfs2_inplace_reserve()
2106 gfs2_rgrp_congested(rs->rs_rgd, loops)) in gfs2_inplace_reserve()
2115 if (!gfs2_rs_active(rs) && (loops < 2) && in gfs2_inplace_reserve()
2116 gfs2_rgrp_congested(rs->rs_rgd, loops)) in gfs2_inplace_reserve()
2131 (loops == 0 && target > rs->rs_rgd->rd_extfail_pt)) in gfs2_inplace_reserve()
2142 if (!gfs2_rs_active(rs) && (loops < 1)) in gfs2_inplace_reserve()
2187 loops++; in gfs2_inplace_reserve()
2195 if (loops == 2) { in gfs2_inplace_reserve()