Searched refs:dio_bytes (Results 1 – 4 of 4) sorted by relevance
361 u64 dio_bytes; in shrink_delalloc() local377 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()
201 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()
2654 ret = percpu_counter_init(&fs_info->dio_bytes, 0, GFP_KERNEL); in open_ctree()3404 percpu_counter_destroy(&fs_info->dio_bytes); in open_ctree()4119 if (percpu_counter_sum(&fs_info->dio_bytes)) in close_ctree()4121 percpu_counter_sum(&fs_info->dio_bytes)); in close_ctree()4161 percpu_counter_destroy(&fs_info->dio_bytes); in close_ctree()
742 struct percpu_counter dio_bytes; member