Searched refs:ordered_bytes (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | space-info.c | 580 u64 ordered_bytes; in shrink_delalloc() local 586 ordered_bytes = percpu_counter_sum_positive(&fs_info->ordered_bytes); in shrink_delalloc() 587 if (delalloc_bytes == 0 && ordered_bytes == 0) in shrink_delalloc() 617 if (ordered_bytes > delalloc_bytes && !for_preempt) in shrink_delalloc() 621 while ((delalloc_bytes || ordered_bytes) && loops < 3) { in shrink_delalloc() 694 ordered_bytes = percpu_counter_sum_positive( in shrink_delalloc() 695 &fs_info->ordered_bytes); in shrink_delalloc() 952 ordered = percpu_counter_read_positive(&fs_info->ordered_bytes) >> 1; in need_preemptive_reclaim() 1566 u64 ordered = percpu_counter_sum_positive(&fs_info->ordered_bytes); in maybe_clamp_preempt()
|
D | ordered-data.c | 212 percpu_counter_add_batch(&fs_info->ordered_bytes, num_bytes, in btrfs_add_ordered_extent() 550 percpu_counter_add_batch(&fs_info->ordered_bytes, -entry->num_bytes, in btrfs_remove_ordered_extent() 1103 percpu_counter_add_batch(&fs_info->ordered_bytes, -len, in clone_ordered_extent()
|
D | disk-io.c | 1599 percpu_counter_destroy(&fs_info->ordered_bytes); in btrfs_free_fs_info() 3116 ret = percpu_counter_init(&fs_info->ordered_bytes, 0, GFP_KERNEL); in init_mount_fs_info() 4689 if (percpu_counter_sum(&fs_info->ordered_bytes)) in close_ctree() 4691 percpu_counter_sum(&fs_info->ordered_bytes)); in close_ctree()
|
D | ctree.h | 854 struct percpu_counter ordered_bytes; member
|
/linux-6.1.9/include/trace/events/ |
D | btrfs.h | 2121 __field( u64, ordered_bytes ) 2140 __entry->ordered_bytes = percpu_counter_sum_positive(&fs_info->ordered_bytes); 2158 __entry->delalloc_bytes, __entry->ordered_bytes)
|