Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/btrfs/
Dspace-info.c493 u64 dio_bytes; in shrink_delalloc() local
517 dio_bytes = percpu_counter_sum_positive(&fs_info->dio_bytes); in shrink_delalloc()
518 if (delalloc_bytes == 0 && dio_bytes == 0) { in shrink_delalloc()
531 if (dio_bytes > delalloc_bytes) in shrink_delalloc()
535 while ((delalloc_bytes || dio_bytes) && loops < 3) { in shrink_delalloc()
559 dio_bytes = percpu_counter_sum_positive(&fs_info->dio_bytes); in shrink_delalloc()
Dordered-data.c206 percpu_counter_add_batch(&fs_info->dio_bytes, num_bytes, in __btrfs_add_ordered_extent()
484 percpu_counter_add_batch(&fs_info->dio_bytes, -entry->num_bytes, in btrfs_remove_ordered_extent()
Ddisk-io.c1498 percpu_counter_destroy(&fs_info->dio_bytes); in btrfs_free_fs_info()
2846 ret = percpu_counter_init(&fs_info->dio_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
4196 if (percpu_counter_sum(&fs_info->dio_bytes)) in close_ctree()
4198 percpu_counter_sum(&fs_info->dio_bytes)); in close_ctree()
Dctree.h801 struct percpu_counter dio_bytes; member