Searched refs:loops (Results 1 – 5 of 5) sorted by relevance
495 int loops; in shrink_delalloc() local532 loops = 0; in shrink_delalloc()533 while ((delalloc_bytes || ordered_bytes) && loops < 3) { in shrink_delalloc()579 loops++; in shrink_delalloc()1025 int loops = 0; in btrfs_preempt_reclaim_metadata_space() local1042 loops++; in btrfs_preempt_reclaim_metadata_space()1103 if (loops == 1 && !space_info->reclaim_size) in btrfs_preempt_reclaim_metadata_space()
2924 int loops = 0; in btrfs_start_dirty_block_groups() local3054 if (!ret && loops == 0) { in btrfs_start_dirty_block_groups()3055 loops++; in btrfs_start_dirty_block_groups()
1997 int loops = 0; in find_lock_delalloc_range() local2036 if (!loops) { in find_lock_delalloc_range()2038 loops = 1; in find_lock_delalloc_range()
1937 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) in gfs2_rgrp_congested() argument1977 if (loops == 1) in gfs2_rgrp_congested()2068 int loops = 0; in gfs2_inplace_reserve() local2091 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()[all …]
29 int loops = 0; in process_page_range() local48 loops++; in process_page_range()49 if (loops > 100000) { in process_page_range()