Searched refs:delalloc_bytes (Results 1 – 6 of 6) sorted by relevance
136 u64 delalloc_bytes; member
2470 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in open_ctree()3107 percpu_counter_destroy(&fs_info->delalloc_bytes); in open_ctree()3760 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()3762 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()3794 percpu_counter_destroy(&fs_info->delalloc_bytes); in close_ctree()
1714 __percpu_counter_add(&root->fs_info->delalloc_bytes, len, in btrfs_set_bit_hook()1717 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_bit_hook()1777 __percpu_counter_add(&root->fs_info->delalloc_bytes, -len, in btrfs_clear_bit_hook()1780 BTRFS_I(inode)->delalloc_bytes -= len; in btrfs_clear_bit_hook()1781 if (do_list && BTRFS_I(inode)->delalloc_bytes == 0 && in btrfs_clear_bit_hook()2784 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()8901 ei->delalloc_bytes = 0; in btrfs_alloc_inode()8964 WARN_ON(BTRFS_I(inode)->delalloc_bytes); in btrfs_destroy_inode()9091 u64 delalloc_bytes; in btrfs_getattr() local9100 delalloc_bytes = BTRFS_I(inode)->delalloc_bytes; in btrfs_getattr()[all …]
4349 u64 delalloc_bytes; in shrink_delalloc() local4365 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()4366 &root->fs_info->delalloc_bytes); in shrink_delalloc()4367 if (delalloc_bytes == 0) { in shrink_delalloc()4376 while (delalloc_bytes && loops < 3) { in shrink_delalloc()4377 max_reclaim = min(delalloc_bytes, to_reclaim); in shrink_delalloc()4416 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()4417 &root->fs_info->delalloc_bytes); in shrink_delalloc()5929 cache->delalloc_bytes += num_bytes; in btrfs_update_reserved_bytes()5938 cache->delalloc_bytes -= num_bytes; in btrfs_update_reserved_bytes()
1287 u64 delalloc_bytes; member1635 struct percpu_counter delalloc_bytes; member
1248 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()