Searched refs:dirty_clusters (Results 1 – 2 of 2) sorted by relevance
583 s64 free_clusters, dirty_clusters, rsv, resv_clusters; in ext4_has_free_clusters() local588 dirty_clusters = percpu_counter_read_positive(dcc); in ext4_has_free_clusters()598 if (free_clusters - (nclusters + rsv + dirty_clusters) < in ext4_has_free_clusters()601 dirty_clusters = percpu_counter_sum_positive(dcc); in ext4_has_free_clusters()606 if (free_clusters >= (rsv + nclusters + dirty_clusters)) in ext4_has_free_clusters()615 if (free_clusters >= (nclusters + dirty_clusters + in ext4_has_free_clusters()621 if (free_clusters >= (nclusters + dirty_clusters)) in ext4_has_free_clusters()
3020 s64 free_clusters, dirty_clusters; in ext4_nonda_switch() local3033 dirty_clusters = in ext4_nonda_switch()3038 if (dirty_clusters && (free_clusters < 2 * dirty_clusters)) in ext4_nonda_switch()3041 if (2 * free_clusters < 3 * dirty_clusters || in ext4_nonda_switch()3042 free_clusters < (dirty_clusters + EXT4_FREECLUSTERS_WATERMARK)) { in ext4_nonda_switch()