Home
last modified time | relevance | path

Searched refs:extent_map (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/fs/btrfs/
Dextent_map.h32 struct extent_map { struct
68 static inline int extent_map_in_tree(const struct extent_map *em) in extent_map_in_tree() argument
73 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end()
80 static inline u64 extent_map_block_end(struct extent_map *em) in extent_map_block_end()
88 struct extent_map *lookup_extent_mapping(struct extent_map_tree *tree,
91 struct extent_map *em, int modified);
92 void remove_extent_mapping(struct extent_map_tree *tree, struct extent_map *em);
96 struct extent_map *alloc_extent_map(void);
97 void free_extent_map(struct extent_map *em);
101 void clear_em_logging(struct extent_map_tree *tree, struct extent_map *em);
[all …]
Dextent_map.c19 sizeof(struct extent_map), 0, in extent_map_init()
46 struct extent_map *alloc_extent_map(void) in alloc_extent_map()
48 struct extent_map *em; in alloc_extent_map()
63 void free_extent_map(struct extent_map *em) in free_extent_map()
84 static int tree_insert(struct rb_root_cached *root, struct extent_map *em) in tree_insert()
88 struct extent_map *entry = NULL; in tree_insert()
95 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
110 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
117 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
120 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
[all …]
Ddefrag.c482 static struct extent_map *defrag_get_extent(struct btrfs_inode *inode, in defrag_get_extent()
488 struct extent_map *em; in defrag_get_extent()
610 static struct extent_map *defrag_lookup_extent(struct inode *inode, u64 start, in defrag_lookup_extent()
615 struct extent_map *em; in defrag_lookup_extent()
659 const struct extent_map *em) in get_extent_max_capacity()
666 static bool defrag_check_next_extent(struct inode *inode, struct extent_map *em, in defrag_check_next_extent()
670 struct extent_map *next; in defrag_check_next_extent()
835 struct extent_map *em; in defrag_collect_targets()
Dfile-item.h66 struct extent_map *em);
DMakefile28 extent_map.o sysfs.o accessors.o xattr.o ordered-data.o \
Dvolumes.h666 u64 btrfs_calc_stripe_length(const struct extent_map *em);
671 struct extent_map *btrfs_get_chunk_map(struct btrfs_fs_info *fs_info,
Dvolumes.c1786 struct extent_map *em; in find_next_chunk()
1794 em = rb_entry(n, struct extent_map, rb_node); in find_next_chunk()
3036 struct extent_map *btrfs_get_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_get_chunk_map()
3040 struct extent_map *em; in btrfs_get_chunk_map()
3092 struct extent_map *em; in btrfs_remove_chunk()
5383 struct extent_map *em; in create_chunk()
5542 struct extent_map *em; in btrfs_chunk_alloc_add_chunk_item()
5690 struct extent_map *em; in btrfs_chunk_writeable()
5727 struct extent_map *em; in btrfs_mapping_tree_free()
5746 struct extent_map *em; in btrfs_num_copies()
[all …]
Dblock-group.h307 u64 group_start, struct extent_map *em);
Dinode.c132 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start,
1105 struct extent_map *em; in submit_one_async_extent()
1217 struct extent_map *em; in get_extent_allocation_hint()
1288 struct extent_map *em; in cow_file_range()
2138 struct extent_map *em; in run_delalloc_nocow()
2619 struct extent_map *em; in btrfs_find_new_delalloc_bytes()
4872 struct extent_map *em = NULL; in btrfs_cont_expand()
4909 struct extent_map *hole_em; in btrfs_cont_expand()
6747 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, in btrfs_get_extent()
6762 struct extent_map *em = NULL; in btrfs_get_extent()
[all …]
Dblock-group.c1050 u64 group_start, struct extent_map *em) in btrfs_remove_block_group()
1299 struct extent_map *em; in btrfs_start_trans_remove_block_group()
1976 struct extent_map *em; in read_bg_from_eb()
2072 struct extent_map *em; in btrfs_rmap_block()
2248 struct extent_map *em; in check_chunk_block_group_mappings()
2422 struct extent_map *em; in fill_dummy_bgs()
2426 em = rb_entry(node, struct extent_map, rb_node); in fill_dummy_bgs()
2666 struct extent_map *em; in insert_dev_extents()
4469 struct extent_map *em; in btrfs_unfreeze_block_group()
Dextent_io.c939 static struct extent_map *
941 u64 start, u64 len, struct extent_map **em_cached) in __get_extent_map()
943 struct extent_map *em; in __get_extent_map()
972 static int btrfs_do_readpage(struct page *page, struct extent_map **em_cached, in btrfs_do_readpage()
983 struct extent_map *em; in btrfs_do_readpage()
1146 struct extent_map **em_cached, in contiguous_readpages()
1297 struct extent_map *em; in __extent_writepage_io()
2241 struct extent_map *em_cached = NULL; in extent_readahead()
2335 struct extent_map *em; in try_release_extent_mapping()
Dbtrfs_inode.h480 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode,
Dcompression.c330 struct extent_map *em; in add_ra_bio_pages()
477 struct extent_map *em; in btrfs_submit_compressed_read()
Ddev-replace.c552 struct extent_map *em; in btrfs_finish_block_group_to_copy()
831 struct extent_map *em; in btrfs_dev_replace_update_device_in_mapping_tree()
Dfile.c2072 struct extent_map *hole_em; in fill_holes()
2171 struct extent_map *em; in find_first_non_hole()
2827 struct extent_map *em; in btrfs_zero_range_check_range_boundary()
2852 struct extent_map *em; in btrfs_zero_range()
3041 struct extent_map *em; in btrfs_fallocate()
Dtree-log.c4502 const struct extent_map *em1, *em2; in extent_cmp()
4504 em1 = list_entry(a, struct extent_map, list); in extent_cmp()
4505 em2 = list_entry(b, struct extent_map, list); in extent_cmp()
4517 const struct extent_map *em, in log_extent_csums()
4624 const struct extent_map *em, in log_one_extent()
4843 struct extent_map *em, *n; in btrfs_log_changed_extents()
4883 em = list_entry(extents.next, struct extent_map, list); in btrfs_log_changed_extents()
6573 struct extent_map *em, *n; in btrfs_log_inode()
Dzoned.c1289 struct extent_map *em; in btrfs_load_block_group_zone_info()
1669 struct extent_map *em; in btrfs_rewrite_logical_zoned()
Dfile-item.c1267 struct extent_map *em) in btrfs_extent_item_to_extent_map()
Dscrub.c2147 struct extent_map *em, in scrub_stripe()
2323 struct extent_map *em; in scrub_chunk()
Drelocation.c2943 struct extent_map *em; in setup_relocation_extent_mapping()
/linux-6.6.21/fs/btrfs/tests/
Dextent-map-tests.c16 struct extent_map *em; in free_extent_map_tree()
22 em = rb_entry(node, struct extent_map, rb_node); in free_extent_map_tree()
59 struct extent_map *em; in test_case_1()
149 struct extent_map *em; in test_case_2()
231 struct extent_map *em; in __test_case_3()
330 struct extent_map *em; in __test_case_4()
449 struct extent_map *em; in add_compressed_extent()
519 struct extent_map *entry = rb_entry(n, struct extent_map, rb_node); in validate_range()
665 struct extent_map *em = NULL; in test_case_6()
719 struct extent_map *em; in test_case_7()
[all …]
Dinode-tests.c223 struct extent_map *em = NULL; in test_btrfs_get_extent()
812 struct extent_map *em = NULL; in test_hole_first()
/linux-6.6.21/fs/ocfs2/
DMakefile20 extent_map.o \
/linux-6.6.21/include/trace/events/
Dbtrfs.h15 struct extent_map;
286 const struct extent_map *map),
336 const struct extent_map *existing, const struct extent_map *map,