Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dspace-info.c590 cache->reserved, cache->delalloc_bytes, in btrfs_dump_space_info()
626 u64 delalloc_bytes; in shrink_delalloc() local
632 delalloc_bytes = percpu_counter_sum_positive(&fs_info->delalloc_bytes); in shrink_delalloc()
634 if (delalloc_bytes == 0 && ordered_bytes == 0) in shrink_delalloc()
653 to_reclaim = max(to_reclaim, delalloc_bytes >> 3); in shrink_delalloc()
664 if (ordered_bytes > delalloc_bytes && !for_preempt) in shrink_delalloc()
668 while ((delalloc_bytes || ordered_bytes) && loops < 3) { in shrink_delalloc()
669 u64 temp = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc()
739 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
740 &fs_info->delalloc_bytes); in shrink_delalloc()
[all …]
H A Dblock-group.h125 u64 delalloc_bytes; member
H A Dbtrfs_inode.h229 u64 delalloc_bytes; member
H A Dfs.h630 struct percpu_counter delalloc_bytes; member
H A Ddisk-io.c1263 percpu_counter_destroy(&fs_info->delalloc_bytes); in btrfs_free_fs_info()
2864 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
4343 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()
4345 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()
H A Dblock-group.c3787 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()
3829 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
H A Dfile.c3268 if (inode->delalloc_bytes > 0) { in find_delalloc_subrange()
H A Dfree-space-cache.c1402 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()
/linux/include/trace/events/
H A Dbtrfs.h2181 __field( u64, delalloc_bytes )
2200 __entry->delalloc_bytes = percpu_counter_sum_positive(&fs_info->delalloc_bytes);
2210 "delalloc_bytes=%llu ordered_bytes=%llu",
2219 __entry->delalloc_bytes, __entry->ordered_bytes)