Searched refs:delalloc_bytes (Results 1 – 8 of 8) sorted by relevance
491 u64 delalloc_bytes; in shrink_delalloc() local497 delalloc_bytes = percpu_counter_sum_positive(&fs_info->delalloc_bytes); in shrink_delalloc()499 if (delalloc_bytes == 0 && ordered_bytes == 0) in shrink_delalloc()518 to_reclaim = max(to_reclaim, delalloc_bytes >> 3); in shrink_delalloc()529 if (ordered_bytes > delalloc_bytes && !for_preempt) in shrink_delalloc()533 while ((delalloc_bytes || ordered_bytes) && loops < 3) { in shrink_delalloc()534 u64 temp = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc()604 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()605 &fs_info->delalloc_bytes); in shrink_delalloc()829 delalloc = percpu_counter_read_positive(&fs_info->delalloc_bytes); in need_preemptive_reclaim()[all …]
151 u64 delalloc_bytes; member
67 u64 delalloc_bytes; member
2205 percpu_counter_add_batch(&fs_info->delalloc_bytes, len, in btrfs_set_delalloc_extent()2208 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_delalloc_extent()2275 percpu_counter_add_batch(&fs_info->delalloc_bytes, -len, in btrfs_clear_delalloc_extent()2278 inode->delalloc_bytes -= len; in btrfs_clear_delalloc_extent()2279 if (do_list && inode->delalloc_bytes == 0 && in btrfs_clear_delalloc_extent()2996 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()9257 ei->delalloc_bytes = 0; in btrfs_alloc_inode()9328 WARN_ON(inode->delalloc_bytes); in btrfs_destroy_inode()9439 u64 delalloc_bytes; in btrfs_getattr() local9469 delalloc_bytes = BTRFS_I(inode)->new_delalloc_bytes; in btrfs_getattr()[all …]
1563 percpu_counter_destroy(&fs_info->delalloc_bytes); in btrfs_free_fs_info()2989 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info()4473 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()4475 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()
3339 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()3378 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
850 struct percpu_counter delalloc_bytes; member
1350 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()