Home
last modified time | relevance | path

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

/Linux-v5.10/fs/btrfs/
Dspace-info.c492 u64 dio_bytes; in shrink_delalloc() local
516 dio_bytes = percpu_counter_sum_positive(&fs_info->dio_bytes); in shrink_delalloc()
517 if (delalloc_bytes == 0 && dio_bytes == 0) { in shrink_delalloc()
530 if (dio_bytes > delalloc_bytes) in shrink_delalloc()
534 while ((delalloc_bytes || dio_bytes) && loops < 3) { in shrink_delalloc()
556 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()
2810 ret = percpu_counter_init(&fs_info->dio_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
4115 if (percpu_counter_sum(&fs_info->dio_bytes)) in close_ctree()
4117 percpu_counter_sum(&fs_info->dio_bytes)); in close_ctree()
Dctree.h793 struct percpu_counter dio_bytes; member