Searched refs:dirty_clusters (Results 1 – 2 of 2) sorted by relevance
573 s64 free_clusters, dirty_clusters, rsv, resv_clusters; in ext4_has_free_clusters() local578 dirty_clusters = percpu_counter_read_positive(dcc); in ext4_has_free_clusters()588 if (free_clusters - (nclusters + rsv + dirty_clusters) < in ext4_has_free_clusters()591 dirty_clusters = percpu_counter_sum_positive(dcc); in ext4_has_free_clusters()596 if (free_clusters >= (rsv + nclusters + dirty_clusters)) in ext4_has_free_clusters()605 if (free_clusters >= (nclusters + dirty_clusters + in ext4_has_free_clusters()611 if (free_clusters >= (nclusters + dirty_clusters)) in ext4_has_free_clusters()
2938 s64 free_clusters, dirty_clusters; in ext4_nonda_switch() local2951 dirty_clusters = in ext4_nonda_switch()2956 if (dirty_clusters && (free_clusters < 2 * dirty_clusters)) in ext4_nonda_switch()2959 if (2 * free_clusters < 3 * dirty_clusters || in ext4_nonda_switch()2960 free_clusters < (dirty_clusters + EXT4_FREECLUSTERS_WATERMARK)) { in ext4_nonda_switch()