Searched refs:ordered_bytes (Results 1 – 5 of 5) sorted by relevance
583 u64 ordered_bytes; in shrink_delalloc() local589 ordered_bytes = percpu_counter_sum_positive(&fs_info->ordered_bytes); in shrink_delalloc()590 if (delalloc_bytes == 0 && ordered_bytes == 0) in shrink_delalloc()620 if (ordered_bytes > delalloc_bytes && !for_preempt) in shrink_delalloc()624 while ((delalloc_bytes || ordered_bytes) && loops < 3) { in shrink_delalloc()697 ordered_bytes = percpu_counter_sum_positive( in shrink_delalloc()698 &fs_info->ordered_bytes); in shrink_delalloc()937 ordered = percpu_counter_read_positive(&fs_info->ordered_bytes) >> 1; in need_preemptive_reclaim()1561 u64 ordered = percpu_counter_sum_positive(&fs_info->ordered_bytes); in maybe_clamp_preempt()
219 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()
573 struct percpu_counter ordered_bytes; member
1246 percpu_counter_destroy(&fs_info->ordered_bytes); in btrfs_free_fs_info()2806 ret = percpu_counter_init(&fs_info->ordered_bytes, 0, GFP_KERNEL); in init_mount_fs_info()4393 if (percpu_counter_sum(&fs_info->ordered_bytes)) in close_ctree()4395 percpu_counter_sum(&fs_info->ordered_bytes)); in close_ctree()
2229 __field( u64, ordered_bytes )2248 __entry->ordered_bytes = percpu_counter_sum_positive(&fs_info->ordered_bytes);2266 __entry->delalloc_bytes, __entry->ordered_bytes)