Searched refs:delalloc_bytes (Results 1 – 6 of 6) sorted by relevance
111 u64 delalloc_bytes; member
2645 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in open_ctree()3314 percpu_counter_destroy(&fs_info->delalloc_bytes); in open_ctree()3985 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()3987 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()4020 percpu_counter_destroy(&fs_info->delalloc_bytes); in close_ctree()
1791 percpu_counter_add_batch(&fs_info->delalloc_bytes, len, in btrfs_set_bit_hook()1794 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_bit_hook()1863 percpu_counter_add_batch(&fs_info->delalloc_bytes, -len, in btrfs_clear_bit_hook()1866 inode->delalloc_bytes -= len; in btrfs_clear_bit_hook()1867 if (do_list && inode->delalloc_bytes == 0 && in btrfs_clear_bit_hook()2921 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()9158 ei->delalloc_bytes = 0; in btrfs_alloc_inode()9226 WARN_ON(BTRFS_I(inode)->delalloc_bytes); in btrfs_destroy_inode()9329 u64 delalloc_bytes; in btrfs_getattr() local9355 delalloc_bytes = BTRFS_I(inode)->new_delalloc_bytes; in btrfs_getattr()[all …]
4673 u64 delalloc_bytes; in shrink_delalloc() local4687 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()4688 &fs_info->delalloc_bytes); in shrink_delalloc()4689 if (delalloc_bytes == 0) { in shrink_delalloc()4698 while (delalloc_bytes && loops < 3) { in shrink_delalloc()4699 max_reclaim = min(delalloc_bytes, to_reclaim); in shrink_delalloc()4735 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()4736 &fs_info->delalloc_bytes); in shrink_delalloc()6408 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()6441 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
573 u64 delalloc_bytes; member972 struct percpu_counter delalloc_bytes; member
1229 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()