Searched refs:delalloc_bytes (Results 1 – 6 of 6) sorted by relevance
136 u64 delalloc_bytes; member
2519 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in open_ctree()3176 percpu_counter_destroy(&fs_info->delalloc_bytes); in open_ctree()3861 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()3863 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()3896 percpu_counter_destroy(&fs_info->delalloc_bytes); in close_ctree()
1724 __percpu_counter_add(&root->fs_info->delalloc_bytes, len, in btrfs_set_bit_hook()1727 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_bit_hook()1788 __percpu_counter_add(&root->fs_info->delalloc_bytes, -len, in btrfs_clear_bit_hook()1791 BTRFS_I(inode)->delalloc_bytes -= len; in btrfs_clear_bit_hook()1792 if (do_list && BTRFS_I(inode)->delalloc_bytes == 0 && in btrfs_clear_bit_hook()2805 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()9043 ei->delalloc_bytes = 0; in btrfs_alloc_inode()9104 WARN_ON(BTRFS_I(inode)->delalloc_bytes); in btrfs_destroy_inode()9232 u64 delalloc_bytes; in btrfs_getattr() local9241 delalloc_bytes = BTRFS_I(inode)->delalloc_bytes; in btrfs_getattr()[all …]
4561 u64 delalloc_bytes; in shrink_delalloc() local4577 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()4578 &root->fs_info->delalloc_bytes); in shrink_delalloc()4579 if (delalloc_bytes == 0) { in shrink_delalloc()4588 while (delalloc_bytes && loops < 3) { in shrink_delalloc()4589 max_reclaim = min(delalloc_bytes, to_reclaim); in shrink_delalloc()4628 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()4629 &root->fs_info->delalloc_bytes); in shrink_delalloc()6164 cache->delalloc_bytes += num_bytes; in btrfs_update_reserved_bytes()6173 cache->delalloc_bytes -= num_bytes; in btrfs_update_reserved_bytes()
1321 u64 delalloc_bytes; member1660 struct percpu_counter delalloc_bytes; member
1246 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()