Lines Matching refs:loops
1861 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) in gfs2_rgrp_congested() argument
1901 if (loops == 1) in gfs2_rgrp_congested()
1990 int loops = 0; in gfs2_inplace_reserve() local
2010 while (loops < 3) { in gfs2_inplace_reserve()
2018 if (loops == 0 && in gfs2_inplace_reserve()
2021 if ((loops < 2) && in gfs2_inplace_reserve()
2023 gfs2_rgrp_congested(rs->rs_rbm.rgd, loops)) in gfs2_inplace_reserve()
2031 if (!gfs2_rs_active(rs) && (loops < 2) && in gfs2_inplace_reserve()
2032 gfs2_rgrp_congested(rs->rs_rbm.rgd, loops)) in gfs2_inplace_reserve()
2046 (loops == 0 && ap->target > rs->rs_rbm.rgd->rd_extfail_pt)) in gfs2_inplace_reserve()
2057 if (!gfs2_rs_active(rs) && (loops < 1)) in gfs2_inplace_reserve()
2062 (loops == 2 && ap->min_target && in gfs2_inplace_reserve()
2092 loops++; in gfs2_inplace_reserve()
2100 if (loops == 2) in gfs2_inplace_reserve()