Searched refs:delalloc_bytes (Results 1 – 8 of 8) sorted by relevance
360 u64 delalloc_bytes; in shrink_delalloc() local375 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()376 &fs_info->delalloc_bytes); in shrink_delalloc()378 if (delalloc_bytes == 0 && dio_bytes == 0) { in shrink_delalloc()391 if (dio_bytes > delalloc_bytes) in shrink_delalloc()395 while ((delalloc_bytes || dio_bytes) && loops < 3) { in shrink_delalloc()396 nr_pages = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc()443 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()444 &fs_info->delalloc_bytes); in shrink_delalloc()
53 u64 delalloc_bytes; member
112 u64 delalloc_bytes; member
2668 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in open_ctree()3400 percpu_counter_destroy(&fs_info->delalloc_bytes); in open_ctree()4114 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()4116 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()4160 percpu_counter_destroy(&fs_info->delalloc_bytes); in close_ctree()
1995 percpu_counter_add_batch(&fs_info->delalloc_bytes, len, in btrfs_set_delalloc_extent()1998 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_delalloc_extent()2067 percpu_counter_add_batch(&fs_info->delalloc_bytes, -len, in btrfs_clear_delalloc_extent()2070 inode->delalloc_bytes -= len; in btrfs_clear_delalloc_extent()2071 if (do_list && inode->delalloc_bytes == 0 && in btrfs_clear_delalloc_extent()3181 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()9473 ei->delalloc_bytes = 0; in btrfs_alloc_inode()9541 WARN_ON(BTRFS_I(inode)->delalloc_bytes); in btrfs_destroy_inode()9649 u64 delalloc_bytes; in btrfs_getattr() local9675 delalloc_bytes = BTRFS_I(inode)->new_delalloc_bytes; in btrfs_getattr()[all …]
2809 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()2841 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
741 struct percpu_counter delalloc_bytes; member
1266 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()