Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Dspace-info.c491 u64 delalloc_bytes; in shrink_delalloc() local
497 delalloc_bytes = percpu_counter_sum_positive(&fs_info->delalloc_bytes); in shrink_delalloc()
499 if (delalloc_bytes == 0 && ordered_bytes == 0) in shrink_delalloc()
518 to_reclaim = max(to_reclaim, delalloc_bytes >> 3); in shrink_delalloc()
529 if (ordered_bytes > delalloc_bytes && !for_preempt) in shrink_delalloc()
533 while ((delalloc_bytes || ordered_bytes) && loops < 3) { in shrink_delalloc()
534 u64 temp = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc()
604 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
605 &fs_info->delalloc_bytes); in shrink_delalloc()
829 delalloc = percpu_counter_read_positive(&fs_info->delalloc_bytes); in need_preemptive_reclaim()
[all …]
A Dbtrfs_inode.h147 u64 delalloc_bytes; member
A Dblock-group.h67 u64 delalloc_bytes; member
A Dinode.c2210 percpu_counter_add_batch(&fs_info->delalloc_bytes, len, in btrfs_set_delalloc_extent()
2213 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_delalloc_extent()
2280 percpu_counter_add_batch(&fs_info->delalloc_bytes, -len, in btrfs_clear_delalloc_extent()
2283 inode->delalloc_bytes -= len; in btrfs_clear_delalloc_extent()
2284 if (do_list && inode->delalloc_bytes == 0 && in btrfs_clear_delalloc_extent()
2959 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()
9097 ei->delalloc_bytes = 0; in btrfs_alloc_inode()
9169 WARN_ON(inode->delalloc_bytes); in btrfs_destroy_inode()
9281 u64 delalloc_bytes; in btrfs_getattr() local
9311 delalloc_bytes = BTRFS_I(inode)->new_delalloc_bytes; in btrfs_getattr()
[all …]
A Ddisk-io.c1625 percpu_counter_destroy(&fs_info->delalloc_bytes); in btrfs_free_fs_info()
3022 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
4422 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()
4424 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()
A Dblock-group.c3319 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()
3358 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
A Dctree.h837 struct percpu_counter delalloc_bytes; member
A Dfree-space-cache.c1347 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()
/linux/include/trace/events/
A Dbtrfs.h2061 __field( u64, delalloc_bytes )
2080 __entry->delalloc_bytes = percpu_counter_sum_positive(&fs_info->delalloc_bytes);
2099 __entry->delalloc_bytes, __entry->ordered_bytes)

Completed in 60 milliseconds