Home
last modified time | relevance | path

Searched refs:delalloc_bytes (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dbtrfs_inode.h112 u64 delalloc_bytes; member
Ddisk-io.c2639 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in open_ctree()
3334 percpu_counter_destroy(&fs_info->delalloc_bytes); in open_ctree()
4036 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()
4038 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()
4078 percpu_counter_destroy(&fs_info->delalloc_bytes); in close_ctree()
Dinode.c1850 percpu_counter_add_batch(&fs_info->delalloc_bytes, len, in btrfs_set_bit_hook()
1853 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_bit_hook()
1922 percpu_counter_add_batch(&fs_info->delalloc_bytes, -len, in btrfs_clear_bit_hook()
1925 inode->delalloc_bytes -= len; in btrfs_clear_bit_hook()
1926 if (do_list && inode->delalloc_bytes == 0 && in btrfs_clear_bit_hook()
2984 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()
9321 ei->delalloc_bytes = 0; in btrfs_alloc_inode()
9390 WARN_ON(BTRFS_I(inode)->delalloc_bytes); in btrfs_destroy_inode()
9500 u64 delalloc_bytes; in btrfs_getattr() local
9526 delalloc_bytes = BTRFS_I(inode)->new_delalloc_bytes; in btrfs_getattr()
[all …]
Dextent-tree.c4679 u64 delalloc_bytes; in shrink_delalloc() local
4693 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
4694 &fs_info->delalloc_bytes); in shrink_delalloc()
4695 if (delalloc_bytes == 0) { in shrink_delalloc()
4704 while (delalloc_bytes && loops < 3) { in shrink_delalloc()
4705 max_reclaim = min(delalloc_bytes, to_reclaim); in shrink_delalloc()
4741 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
4742 &fs_info->delalloc_bytes); in shrink_delalloc()
6413 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()
6447 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
Dctree.h574 u64 delalloc_bytes; member
971 struct percpu_counter delalloc_bytes; member
Dfree-space-cache.c1268 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()