Home
last modified time | relevance | path

Searched refs:loops (Results 1 – 5 of 5) sorted by relevance

/fs/btrfs/
Dspace-info.c495 int loops; in shrink_delalloc() local
532 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() local
1042 loops++; in btrfs_preempt_reclaim_metadata_space()
1103 if (loops == 1 && !space_info->reclaim_size) in btrfs_preempt_reclaim_metadata_space()
Dblock-group.c2924 int loops = 0; in btrfs_start_dirty_block_groups() local
3054 if (!ret && loops == 0) { in btrfs_start_dirty_block_groups()
3055 loops++; in btrfs_start_dirty_block_groups()
Dextent_io.c1997 int loops = 0; in find_lock_delalloc_range() local
2036 if (!loops) { in find_lock_delalloc_range()
2038 loops = 1; in find_lock_delalloc_range()
/fs/gfs2/
Drgrp.c1937 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()
[all …]
/fs/btrfs/tests/
Dextent-io-tests.c29 int loops = 0; in process_page_range() local
48 loops++; in process_page_range()
49 if (loops > 100000) { in process_page_range()