Home
last modified time | relevance | path

Searched refs:dirty_clusters (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/ext4/
Dballoc.c573 s64 free_clusters, dirty_clusters, rsv, resv_clusters; in ext4_has_free_clusters() local
578 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()
Dinode.c2938 s64 free_clusters, dirty_clusters; in ext4_nonda_switch() local
2951 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()