Home
last modified time | relevance | path

Searched refs:dio_bytes (Results 1 – 4 of 4) sorted by relevance

/fs/btrfs/
Dspace-info.c361 u64 dio_bytes; in shrink_delalloc() local
377 dio_bytes = percpu_counter_sum_positive(&fs_info->dio_bytes); in shrink_delalloc()
378 if (delalloc_bytes == 0 && dio_bytes == 0) { in shrink_delalloc()
391 if (dio_bytes > delalloc_bytes) in shrink_delalloc()
395 while ((delalloc_bytes || dio_bytes) && loops < 3) { in shrink_delalloc()
445 dio_bytes = percpu_counter_sum_positive(&fs_info->dio_bytes); in shrink_delalloc()
Dordered-data.c201 percpu_counter_add_batch(&fs_info->dio_bytes, len, in __btrfs_add_ordered_extent()
477 percpu_counter_add_batch(&fs_info->dio_bytes, -entry->len, in btrfs_remove_ordered_extent()
Ddisk-io.c2616 ret = percpu_counter_init(&fs_info->dio_bytes, 0, GFP_KERNEL); in open_ctree()
3347 percpu_counter_destroy(&fs_info->dio_bytes); in open_ctree()
4032 if (percpu_counter_sum(&fs_info->dio_bytes)) in close_ctree()
4034 percpu_counter_sum(&fs_info->dio_bytes)); in close_ctree()
4067 percpu_counter_destroy(&fs_info->dio_bytes); in close_ctree()
Dctree.h748 struct percpu_counter dio_bytes; member