| /Linux-v5.4/fs/btrfs/ | 
| D | block-group.h | 37 	struct btrfs_block_group_cache *block_group;45 struct btrfs_block_group_cache {  struct
 162 		struct btrfs_block_group_cache *block_group)  in btrfs_should_fragment_free_space()  argument
 173 struct btrfs_block_group_cache *btrfs_lookup_first_block_group(
 175 struct btrfs_block_group_cache *btrfs_lookup_block_group(
 177 struct btrfs_block_group_cache *btrfs_next_block_group(
 178 		struct btrfs_block_group_cache *cache);
 179 void btrfs_get_block_group(struct btrfs_block_group_cache *cache);
 180 void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
 183 void btrfs_wait_block_group_reservations(struct btrfs_block_group_cache *bg);
 [all …]
 
 | 
| D | free-space-cache.h | 54 		struct btrfs_block_group_cache *block_group,57 			    struct btrfs_block_group_cache *block_group,
 63 				    struct btrfs_block_group_cache *block_group,
 65 int load_free_space_cache(struct btrfs_block_group_cache *block_group);
 67 			struct btrfs_block_group_cache *block_group,
 70 			  struct btrfs_block_group_cache *block_group,
 84 void btrfs_init_free_space_ctl(struct btrfs_block_group_cache *block_group);
 88 int btrfs_add_free_space(struct btrfs_block_group_cache *block_group,
 90 int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group,
 93 void btrfs_remove_free_space_cache(struct btrfs_block_group_cache
 [all …]
 
 | 
| D | free-space-tree.h | 19 void set_free_space_tree_thresholds(struct btrfs_block_group_cache *block_group);24 			       struct btrfs_block_group_cache *block_group);
 26 				  struct btrfs_block_group_cache *block_group);
 35 		       struct btrfs_block_group_cache *block_group,
 38 			     struct btrfs_block_group_cache *block_group,
 41 				  struct btrfs_block_group_cache *block_group,
 44 				  struct btrfs_block_group_cache *block_group,
 47 				  struct btrfs_block_group_cache *block_group,
 49 int free_space_test_bit(struct btrfs_block_group_cache *block_group,
 
 | 
| D | block-group.c | 123 void btrfs_get_block_group(struct btrfs_block_group_cache *cache)  in btrfs_get_block_group()128 void btrfs_put_block_group(struct btrfs_block_group_cache *cache)  in btrfs_put_block_group()
 152 				struct btrfs_block_group_cache *block_group)  in btrfs_add_block_group_cache()
 156 	struct btrfs_block_group_cache *cache;  in btrfs_add_block_group_cache()
 163 		cache = rb_entry(parent, struct btrfs_block_group_cache,  in btrfs_add_block_group_cache()
 191 static struct btrfs_block_group_cache *block_group_cache_tree_search(  in block_group_cache_tree_search()
 194 	struct btrfs_block_group_cache *cache, *ret = NULL;  in block_group_cache_tree_search()
 202 		cache = rb_entry(n, struct btrfs_block_group_cache,  in block_group_cache_tree_search()
 235 struct btrfs_block_group_cache *btrfs_lookup_first_block_group(  in btrfs_lookup_first_block_group()
 244 struct btrfs_block_group_cache *btrfs_lookup_block_group(  in btrfs_lookup_block_group()
 [all …]
 
 | 
| D | free-space-tree.c | 16 					struct btrfs_block_group_cache *block_group,19 void set_free_space_tree_thresholds(struct btrfs_block_group_cache *cache)  in set_free_space_tree_thresholds()
 48 				   struct btrfs_block_group_cache *block_group,  in add_new_free_space_info()
 81 		struct btrfs_block_group_cache *block_group,  in search_free_space_info()
 183 				  struct btrfs_block_group_cache *block_group,  in convert_free_space_to_bitmaps()
 323 				  struct btrfs_block_group_cache *block_group,  in convert_free_space_to_extents()
 456 					  struct btrfs_block_group_cache *block_group,  in update_free_space_extent_count()
 494 int free_space_test_bit(struct btrfs_block_group_cache *block_group,  in free_space_test_bit()
 516 static void free_space_set_bits(struct btrfs_block_group_cache *block_group,  in free_space_set_bits()
 584 				    struct btrfs_block_group_cache *block_group,  in modify_free_space_bitmap()
 [all …]
 
 | 
| D | free-space-cache.c | 95 		struct btrfs_block_group_cache *block_group,  in lookup_free_space_inode()193 			    struct btrfs_block_group_cache *block_group,  in create_free_space_inode()
 227 				    struct btrfs_block_group_cache *block_group,  in btrfs_truncate_free_space_cache()
 817 int load_free_space_cache(struct btrfs_block_group_cache *block_group)  in load_free_space_cache()
 916 			      struct btrfs_block_group_cache *block_group,  in write_cache_extent_entries()
 1044 			    struct btrfs_block_group_cache *block_group,  in write_pinned_extent_entries()
 1144 				 struct btrfs_block_group_cache *block_group,  in __btrfs_wait_cache_io()
 1213 			struct btrfs_block_group_cache *block_group,  in btrfs_wait_cache_io()
 1234 				   struct btrfs_block_group_cache *block_group,  in __btrfs_write_out_cache()
 1372 			  struct btrfs_block_group_cache *block_group,  in btrfs_write_out_cache()
 [all …]
 
 | 
| D | sysfs.h | 35 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group_cache *cache);
 | 
| D | extent-tree.c | 57 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits)  in block_group_bits()73 void btrfs_free_excluded_extents(struct btrfs_block_group_cache *cache)  in btrfs_free_excluded_extents()
 2519 	struct btrfs_block_group_cache *block_group;  in btrfs_extent_readonly()
 2549 	struct btrfs_block_group_cache *cache;  in first_logical_byte()
 2569 static int pin_down_extent(struct btrfs_block_group_cache *cache,  in pin_down_extent()
 2599 	struct btrfs_block_group_cache *cache;  in btrfs_pin_extent()
 2616 	struct btrfs_block_group_cache *cache;  in btrfs_pin_extent_for_log_replay()
 2643 	struct btrfs_block_group_cache *block_group;  in __exclude_logged_extent()
 2720 btrfs_inc_block_group_reservations(struct btrfs_block_group_cache *bg)  in btrfs_inc_block_group_reservations()
 2729 	struct btrfs_block_group_cache *cache;  in btrfs_prepare_extent_commit()
 [all …]
 
 | 
| D | qgroup.h | 411 		struct btrfs_block_group_cache *bg,
 | 
| D | sysfs.c | 375 	struct btrfs_block_group_cache *block_group;  in raid_bytes_show()825 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group_cache *cache)  in btrfs_sysfs_add_block_group_type()
 
 | 
| D | ctree.h | 41 struct btrfs_block_group_cache;416 	struct btrfs_block_group_cache *block_group;
 2400 void btrfs_free_excluded_extents(struct btrfs_block_group_cache *cache);
 2456 void btrfs_get_block_group_trimming(struct btrfs_block_group_cache *cache);
 2457 void btrfs_put_block_group_trimming(struct btrfs_block_group_cache *cache);
 
 | 
| D | transaction.c | 66 			struct btrfs_block_group_cache *cache;  in btrfs_put_transaction()69 						 struct btrfs_block_group_cache,  in btrfs_put_transaction()
 1878        struct btrfs_block_group_cache *block_group, *tmp;  in btrfs_cleanup_pending_block_groups()
 
 | 
| D | relocation.c | 150 	struct btrfs_block_group_cache *block_group;1564 			  struct btrfs_block_group_cache *block_group)  in in_block_group()
 3547 				    struct btrfs_block_group_cache *block_group,  in delete_block_group_cache()
 4222 				 struct btrfs_block_group_cache *group)  in create_reloc_inode()
 4286 				struct btrfs_block_group_cache *block_group)  in describe_relocation()
 4302 	struct btrfs_block_group_cache *bg;  in btrfs_relocate_block_group()
 
 | 
| D | scrub.c | 392 static u64 get_full_stripe_logical(struct btrfs_block_group_cache *cache,  in get_full_stripe_logical()426 	struct btrfs_block_group_cache *bg_cache;  in lock_full_stripe()
 473 	struct btrfs_block_group_cache *bg_cache;  in unlock_full_stripe()
 3423 					  struct btrfs_block_group_cache *cache)  in scrub_chunk()
 3487 	struct btrfs_block_group_cache *cache;  in scrub_enumerate_chunks()
 
 | 
| D | space-info.c | 288 	struct btrfs_block_group_cache *cache;  in btrfs_dump_space_info()
 | 
| D | reada.c | 230 	struct btrfs_block_group_cache *cache = NULL;  in reada_find_zone()
 | 
| D | disk-io.c | 4442 static void btrfs_cleanup_bg_io(struct btrfs_block_group_cache *cache)  in btrfs_cleanup_bg_io()4459 	struct btrfs_block_group_cache *cache;  in btrfs_cleanup_dirty_bgs()
 4464 					 struct btrfs_block_group_cache,  in btrfs_cleanup_dirty_bgs()
 4492 					 struct btrfs_block_group_cache,  in btrfs_cleanup_dirty_bgs()
 
 | 
| D | volumes.c | 3180 	struct btrfs_block_group_cache *cache;  in btrfs_may_alloc_data_chunk()3388 	struct btrfs_block_group_cache *cache;  in chunk_usage_range_filter()
 3421 	struct btrfs_block_group_cache *cache;  in chunk_usage_filter()
 
 | 
| D | qgroup.c | 3829 		struct btrfs_block_group_cache *bg,  in btrfs_qgroup_add_swapped_blocks()
 | 
| D | inode.c | 3002 	struct btrfs_block_group_cache *cache;  in btrfs_release_delalloc_bytes()10809 		struct btrfs_block_group_cache *bg;  in btrfs_swap_activate()
 
 | 
| /Linux-v5.4/fs/btrfs/tests/ | 
| D | free-space-tree-tests.c | 21 				      struct btrfs_block_group_cache *cache,  in __check_free_space_extents()110 				    struct btrfs_block_group_cache *cache,  in check_free_space_extents()
 153 				  struct btrfs_block_group_cache *cache,  in test_empty_block_group()
 167 			   struct btrfs_block_group_cache *cache,  in test_remove_all()
 188 				 struct btrfs_block_group_cache *cache,  in test_remove_beginning()
 212 			   struct btrfs_block_group_cache *cache,  in test_remove_end()
 236 			      struct btrfs_block_group_cache *cache,  in test_remove_middle()
 261 			   struct btrfs_block_group_cache *cache,  in test_merge_left()
 299 			   struct btrfs_block_group_cache *cache,  in test_merge_right()
 338 			   struct btrfs_block_group_cache *cache,  in test_merge_both()
 [all …]
 
 | 
| D | btrfs-tests.h | 44 struct btrfs_block_group_cache *46 void btrfs_free_dummy_block_group(struct btrfs_block_group_cache *cache);
 
 | 
| D | free-space-tests.c | 20 static int test_extents(struct btrfs_block_group_cache *cache)  in test_extents()90 static int test_bitmaps(struct btrfs_block_group_cache *cache,  in test_bitmaps()
 159 static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache,  in test_bitmaps_and_extents()
 334 check_num_extents_and_bitmaps(const struct btrfs_block_group_cache *cache,  in check_num_extents_and_bitmaps()
 354 static int check_cache_empty(struct btrfs_block_group_cache *cache)  in check_cache_empty()
 396 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group_cache *cache,  in test_steal_space_from_bitmap_to_extent()
 832 	struct btrfs_block_group_cache *cache;  in btrfs_test_free_space_cache()
 
 | 
| D | btrfs-tests.c | 205 struct btrfs_block_group_cache *209 	struct btrfs_block_group_cache *cache;  in btrfs_alloc_dummy_block_group()
 236 void btrfs_free_dummy_block_group(struct btrfs_block_group_cache *cache)  in btrfs_free_dummy_block_group()
 
 | 
| /Linux-v5.4/include/trace/events/ | 
| D | btrfs.h | 22 struct btrfs_block_group_cache;702 		 const struct btrfs_block_group_cache *block_group, int create),
 1188 	TP_PROTO(const struct btrfs_block_group_cache *block_group, u64 start,
 1218 	TP_PROTO(const struct btrfs_block_group_cache *block_group, u64 start,
 1226 	TP_PROTO(const struct btrfs_block_group_cache *block_group, u64 start,
 1234 	TP_PROTO(const struct btrfs_block_group_cache *block_group, u64 start,
 1267 	TP_PROTO(const struct btrfs_block_group_cache *block_group),
 1284 	TP_PROTO(const struct btrfs_block_group_cache *block_group,
 1850 	TP_PROTO(const struct btrfs_block_group_cache *bg_cache),
 1874 	TP_PROTO(const struct btrfs_block_group_cache *bg_cache),
 [all …]
 
 |