Searched refs:delalloc_bytes (Results 1 – 8 of 8) sorted by relevance
492 u64 delalloc_bytes; in shrink_delalloc() local515 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()516 &fs_info->delalloc_bytes); in shrink_delalloc()518 if (delalloc_bytes == 0 && dio_bytes == 0) { in shrink_delalloc()531 if (dio_bytes > delalloc_bytes) in shrink_delalloc()535 while ((delalloc_bytes || dio_bytes) && loops < 3) { in shrink_delalloc()536 u64 nr_pages = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc()557 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()558 &fs_info->delalloc_bytes); in shrink_delalloc()
136 u64 delalloc_bytes; member
67 u64 delalloc_bytes; member
2014 percpu_counter_add_batch(&fs_info->delalloc_bytes, len, in btrfs_set_delalloc_extent()2017 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_delalloc_extent()2084 percpu_counter_add_batch(&fs_info->delalloc_bytes, -len, in btrfs_clear_delalloc_extent()2087 inode->delalloc_bytes -= len; in btrfs_clear_delalloc_extent()2088 if (do_list && inode->delalloc_bytes == 0 && in btrfs_clear_delalloc_extent()2592 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()8688 ei->delalloc_bytes = 0; in btrfs_alloc_inode()8758 WARN_ON(inode->delalloc_bytes); in btrfs_destroy_inode()8868 u64 delalloc_bytes; in btrfs_getattr() local8894 delalloc_bytes = BTRFS_I(inode)->new_delalloc_bytes; in btrfs_getattr()[all …]
1497 percpu_counter_destroy(&fs_info->delalloc_bytes); in btrfs_free_fs_info()2848 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info()4182 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()4184 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()
2990 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()3029 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
800 struct percpu_counter delalloc_bytes; member
1279 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()