Searched refs:dirty_clusters (Results 1 – 2 of 2) sorted by relevance
615 s64 free_clusters, dirty_clusters, rsv, resv_clusters; in ext4_has_free_clusters() local620 dirty_clusters = percpu_counter_read_positive(dcc); in ext4_has_free_clusters()630 if (free_clusters - (nclusters + rsv + dirty_clusters) < in ext4_has_free_clusters()633 dirty_clusters = percpu_counter_sum_positive(dcc); in ext4_has_free_clusters()638 if (free_clusters >= (rsv + nclusters + dirty_clusters)) in ext4_has_free_clusters()647 if (free_clusters >= (nclusters + dirty_clusters + in ext4_has_free_clusters()653 if (free_clusters >= (nclusters + dirty_clusters)) in ext4_has_free_clusters()
2829 s64 free_clusters, dirty_clusters; in ext4_nonda_switch() local2842 dirty_clusters = in ext4_nonda_switch()2847 if (dirty_clusters && (free_clusters < 2 * dirty_clusters)) in ext4_nonda_switch()2850 if (2 * free_clusters < 3 * dirty_clusters || in ext4_nonda_switch()2851 free_clusters < (dirty_clusters + EXT4_FREECLUSTERS_WATERMARK)) { in ext4_nonda_switch()