Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dspace-info.c360 u64 delalloc_bytes; in shrink_delalloc() local
375 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
376 &fs_info->delalloc_bytes); in shrink_delalloc()
378 if (delalloc_bytes == 0 && dio_bytes == 0) { in shrink_delalloc()
391 if (dio_bytes > delalloc_bytes) in shrink_delalloc()
395 while ((delalloc_bytes || dio_bytes) && loops < 3) { in shrink_delalloc()
396 nr_pages = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc()
443 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
444 &fs_info->delalloc_bytes); in shrink_delalloc()
Dblock-group.h53 u64 delalloc_bytes; member
Dbtrfs_inode.h112 u64 delalloc_bytes; member
Ddisk-io.c2642 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in open_ctree()
3355 percpu_counter_destroy(&fs_info->delalloc_bytes); in open_ctree()
4039 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()
4041 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()
4078 percpu_counter_destroy(&fs_info->delalloc_bytes); in close_ctree()
Dinode.c1896 percpu_counter_add_batch(&fs_info->delalloc_bytes, len, in btrfs_set_delalloc_extent()
1899 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_delalloc_extent()
1968 percpu_counter_add_batch(&fs_info->delalloc_bytes, -len, in btrfs_clear_delalloc_extent()
1971 inode->delalloc_bytes -= len; in btrfs_clear_delalloc_extent()
1972 if (do_list && inode->delalloc_bytes == 0 && in btrfs_clear_delalloc_extent()
3008 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()
9290 ei->delalloc_bytes = 0; in btrfs_alloc_inode()
9358 WARN_ON(BTRFS_I(inode)->delalloc_bytes); in btrfs_destroy_inode()
9466 u64 delalloc_bytes; in btrfs_getattr() local
9492 delalloc_bytes = BTRFS_I(inode)->new_delalloc_bytes; in btrfs_getattr()
[all …]
Dblock-group.c2767 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()
2799 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
Dfree-space-cache.c1256 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()
Dctree.h747 struct percpu_counter delalloc_bytes; member