Home
last modified time | relevance | path

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

/fs/btrfs/
Dspace-info.c582 u64 ordered_bytes; in shrink_delalloc() local
588 ordered_bytes = percpu_counter_sum_positive(&fs_info->ordered_bytes); in shrink_delalloc()
589 if (delalloc_bytes == 0 && ordered_bytes == 0) in shrink_delalloc()
619 if (ordered_bytes > delalloc_bytes && !for_preempt) in shrink_delalloc()
623 while ((delalloc_bytes || ordered_bytes) && loops < 3) { in shrink_delalloc()
696 ordered_bytes = percpu_counter_sum_positive( in shrink_delalloc()
697 &fs_info->ordered_bytes); in shrink_delalloc()
936 ordered = percpu_counter_read_positive(&fs_info->ordered_bytes) >> 1; in need_preemptive_reclaim()
1560 u64 ordered = percpu_counter_sum_positive(&fs_info->ordered_bytes); in maybe_clamp_preempt()
Dordered-data.c219 percpu_counter_add_batch(&fs_info->ordered_bytes, entry->num_bytes, in insert_ordered_extent()
612 percpu_counter_add_batch(&fs_info->ordered_bytes, -entry->num_bytes, in btrfs_remove_ordered_extent()
Dfs.h573 struct percpu_counter ordered_bytes; member
Ddisk-io.c1246 percpu_counter_destroy(&fs_info->ordered_bytes); in btrfs_free_fs_info()
2807 ret = percpu_counter_init(&fs_info->ordered_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
4395 if (percpu_counter_sum(&fs_info->ordered_bytes)) in close_ctree()
4397 percpu_counter_sum(&fs_info->ordered_bytes)); in close_ctree()