Searched refs:delalloc_bytes (Results 1 – 8 of 8) sorted by relevance
491 u64 delalloc_bytes; in shrink_delalloc() local514 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()515 &fs_info->delalloc_bytes); in shrink_delalloc()517 if (delalloc_bytes == 0 && dio_bytes == 0) { in shrink_delalloc()530 if (dio_bytes > delalloc_bytes) in shrink_delalloc()534 while ((delalloc_bytes || dio_bytes) && loops < 3) { in shrink_delalloc()554 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()555 &fs_info->delalloc_bytes); in shrink_delalloc()
120 u64 delalloc_bytes; member
67 u64 delalloc_bytes; member
2015 percpu_counter_add_batch(&fs_info->delalloc_bytes, len, in btrfs_set_delalloc_extent()2018 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_delalloc_extent()2085 percpu_counter_add_batch(&fs_info->delalloc_bytes, -len, in btrfs_clear_delalloc_extent()2088 inode->delalloc_bytes -= len; in btrfs_clear_delalloc_extent()2089 if (do_list && inode->delalloc_bytes == 0 && in btrfs_clear_delalloc_extent()2593 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()8642 ei->delalloc_bytes = 0; in btrfs_alloc_inode()8712 WARN_ON(inode->delalloc_bytes); in btrfs_destroy_inode()8822 u64 delalloc_bytes; in btrfs_getattr() local8848 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()2821 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info()4110 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()4112 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()
2977 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()3016 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
792 struct percpu_counter delalloc_bytes; member
1275 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()