Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dextent_map.c16 sizeof(struct extent_map), 0, in extent_map_init()
49 struct extent_map *alloc_extent_map(void) in alloc_extent_map()
51 struct extent_map *em; in alloc_extent_map()
71 void free_extent_map(struct extent_map *em) in free_extent_map()
93 static int tree_insert(struct rb_root *root, struct extent_map *em) in tree_insert()
97 struct extent_map *entry = NULL; in tree_insert()
103 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
116 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
123 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
126 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
[all …]
Dextent_map.h22 struct extent_map { struct
57 static inline int extent_map_in_tree(const struct extent_map *em) in extent_map_in_tree() argument
62 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end()
69 static inline u64 extent_map_block_end(struct extent_map *em) in extent_map_block_end()
77 struct extent_map *lookup_extent_mapping(struct extent_map_tree *tree,
80 struct extent_map *em, int modified);
81 int remove_extent_mapping(struct extent_map_tree *tree, struct extent_map *em);
83 struct extent_map *cur,
84 struct extent_map *new,
87 struct extent_map *alloc_extent_map(void);
[all …]
DMakefile8 extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \
Ddisk-io.h144 struct extent_map *btree_get_extent(struct btrfs_inode *inode,
Dvolumes.c1294 struct extent_map *em; in contains_pending_extent()
1643 struct extent_map *em; in find_next_chunk()
1651 em = rb_entry(n, struct extent_map, rb_node); in find_next_chunk()
2746 static struct extent_map *get_chunk_map(struct btrfs_fs_info *fs_info, in get_chunk_map()
2750 struct extent_map *em; in get_chunk_map()
2778 struct extent_map *em; in btrfs_remove_chunk()
4623 struct extent_map *em; in __btrfs_alloc_chunk()
4914 struct extent_map *em; in btrfs_finish_chunk_alloc()
5057 struct extent_map *em; in btrfs_chunk_readonly()
5100 struct extent_map *em; in btrfs_mapping_tree_free()
[all …]
Dfile.c475 struct extent_map *em; in btrfs_find_new_delalloc_bytes()
589 struct extent_map *em; in btrfs_drop_extent_cache()
590 struct extent_map *split = NULL; in btrfs_drop_extent_cache()
591 struct extent_map *split2 = NULL; in btrfs_drop_extent_cache()
2317 struct extent_map *hole_em; in fill_holes()
2422 struct extent_map *em; in find_first_non_hole()
2850 struct extent_map *em; in btrfs_zero_range_check_range_boundary()
2875 struct extent_map *em; in btrfs_zero_range()
3062 struct extent_map *em; in btrfs_fallocate()
3251 struct extent_map *em = NULL; in find_desired_extent()
Dinode.c96 static struct extent_map *create_io_em(struct inode *inode, u64 start, u64 len,
754 struct extent_map *em; in submit_compressed_extents()
934 struct extent_map *em; in get_extent_allocation_hint()
990 struct extent_map *em; in cow_file_range()
1321 struct extent_map *em; in run_delalloc_nocow()
5118 struct extent_map *em = NULL; in btrfs_cont_expand()
5167 struct extent_map *hole_em; in btrfs_cont_expand()
5360 struct extent_map *em; in evict_inode_truncate_pages()
5363 em = rb_entry(node, struct extent_map, rb_node); in evict_inode_truncate_pages()
6940 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, in btrfs_get_extent()
[all …]
Dextent_io.c2221 struct extent_map *em; in btrfs_get_io_failure_record()
2869 static struct extent_map *
2872 struct extent_map **em_cached) in __get_extent_map()
2874 struct extent_map *em; in __get_extent_map()
2906 struct extent_map **em_cached, in __do_readpage()
2919 struct extent_map *em; in __do_readpage()
3115 struct extent_map **em_cached, in __do_contiguous_readpages()
3146 struct extent_map **em_cached, in __extent_readpages()
3343 struct extent_map *em; in __extent_writepage_io()
4247 struct extent_map *em_cached = NULL; in extent_readpages()
[all …]
Dtree-log.c4074 struct extent_map *em1, *em2; in extent_cmp()
4076 em1 = list_entry(a, struct extent_map, list); in extent_cmp()
4077 em2 = list_entry(b, struct extent_map, list); in extent_cmp()
4089 const struct extent_map *em) in log_extent_csums()
4133 const struct extent_map *em, in log_one_extent()
4365 struct extent_map *em, *n; in btrfs_log_changed_extents()
4434 em = list_entry(extents.next, struct extent_map, list); in btrfs_log_changed_extents()
5189 struct extent_map *em, *n; in btrfs_log_inode()
Dcompression.c433 struct extent_map *em; in add_ra_bio_pages()
558 struct extent_map *em; in btrfs_submit_compressed_read()
Dextent_io.h253 typedef struct extent_map *(get_extent_t)(struct btrfs_inode *inode,
Dioctl.c1031 struct extent_map *em = NULL; in check_defrag_in_cache()
1121 static struct extent_map *defrag_lookup_extent(struct inode *inode, u64 start) in defrag_lookup_extent()
1125 struct extent_map *em; in defrag_lookup_extent()
1152 static bool defrag_check_next_extent(struct inode *inode, struct extent_map *em) in defrag_check_next_extent()
1154 struct extent_map *next; in defrag_check_next_extent()
1176 struct extent_map *em; in should_defrag_range()
3751 struct extent_map *em; in clone_update_extent_map()
Dctree.h2717 u64 group_start, struct extent_map *em);
3142 struct extent_map *em);
3145 struct extent_map *btrfs_get_extent_fiemap(struct btrfs_inode *inode,
3198 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode,
Dtransaction.c56 struct extent_map *em; in btrfs_put_transaction()
59 struct extent_map, list); in btrfs_put_transaction()
Ddisk-io.c206 struct extent_map *btree_get_extent(struct btrfs_inode *inode, in btree_get_extent()
212 struct extent_map *em; in btree_get_extent()
4086 struct extent_map *em; in close_ctree()
4089 struct extent_map, list); in close_ctree()
Ddev-replace.c743 struct extent_map *em; in btrfs_dev_replace_update_device_in_mapping_tree()
Dfile-item.c929 struct extent_map *em) in btrfs_extent_item_to_extent_map()
Dextent-tree.c9594 struct extent_map *em; in find_first_block_group()
9891 struct extent_map *em; in check_chunk_block_group_mappings()
10244 u64 group_start, struct extent_map *em) in btrfs_remove_block_group()
10547 struct extent_map *em; in btrfs_start_trans_remove_block_group()
Dfree-space-cache.c3370 struct extent_map *em; in btrfs_put_block_group_trimming()
Dscrub.c3423 struct extent_map *em; in scrub_chunk()
Drelocation.c3124 struct extent_map *em; in setup_extent_mapping()
/linux-4.19.296/fs/btrfs/tests/
Dextent-map-tests.c12 struct extent_map *em; in free_extent_map_tree()
17 em = rb_entry(node, struct extent_map, rb_node); in free_extent_map_tree()
53 struct extent_map *em; in test_case_1()
119 struct extent_map *em; in test_case_2()
177 struct extent_map *em; in __test_case_3()
252 struct extent_map *em; in __test_case_4()
Dinode-tests.c223 struct extent_map *em = NULL; in test_btrfs_get_extent()
833 struct extent_map *em = NULL; in test_hole_first()
/linux-4.19.296/fs/ocfs2/
DMakefile20 extent_map.o \
/linux-4.19.296/include/trace/events/
Dbtrfs.h15 struct extent_map;
210 const struct extent_map *map),
260 const struct extent_map *existing, const struct extent_map *map,