Home
last modified time | relevance | path

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

/fs/btrfs/
Dextent_map.c14 sizeof(struct extent_map), 0, in extent_map_init()
48 struct extent_map *alloc_extent_map(void) in alloc_extent_map()
50 struct extent_map *em; in alloc_extent_map()
70 void free_extent_map(struct extent_map *em) in free_extent_map()
92 static int tree_insert(struct rb_root *root, struct extent_map *em) in tree_insert()
96 struct extent_map *entry = NULL; in tree_insert()
102 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
115 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
122 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
125 entry = rb_entry(parent, struct extent_map, rb_node); in tree_insert()
[all …]
Dextent_map.h20 struct extent_map { struct
55 static inline int extent_map_in_tree(const struct extent_map *em) in extent_map_in_tree() argument
60 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end()
67 static inline u64 extent_map_block_end(struct extent_map *em) in extent_map_block_end()
75 struct extent_map *lookup_extent_mapping(struct extent_map_tree *tree,
78 struct extent_map *em, int modified);
79 int remove_extent_mapping(struct extent_map_tree *tree, struct extent_map *em);
81 struct extent_map *cur,
82 struct extent_map *new,
85 struct extent_map *alloc_extent_map(void);
[all …]
DMakefile7 extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \
Dinode.c104 static struct extent_map *create_pinned_em(struct inode *inode, u64 start,
681 struct extent_map *em; in submit_compressed_extents()
878 struct extent_map *em; in get_extent_allocation_hint()
933 struct extent_map *em; in cow_file_range()
1461 struct extent_map *em; in run_delalloc_nocow()
4839 struct extent_map *em = NULL; in btrfs_cont_expand()
4888 struct extent_map *hole_em; in btrfs_cont_expand()
5131 struct extent_map *em; in evict_inode_truncate_pages()
5134 em = rb_entry(node, struct extent_map, rb_node); in evict_inode_truncate_pages()
6713 static struct extent_map *next_extent_map(struct extent_map *em) in next_extent_map()
[all …]
Dextent_io.c2276 struct extent_map *em; in btrfs_get_io_failure_record()
2934 static struct extent_map *
2937 struct extent_map **em_cached) in __get_extent_map()
2939 struct extent_map *em; in __get_extent_map()
2970 struct extent_map **em_cached, in __do_readpage()
2985 struct extent_map *em; in __do_readpage()
3194 struct extent_map **em_cached, in __do_contiguous_readpages()
3225 struct extent_map **em_cached, in __extent_readpages()
3446 struct extent_map *em; in __extent_writepage_io()
4302 struct extent_map *em_cached = NULL; in extent_readpages()
[all …]
Dfile.c534 struct extent_map *em; in btrfs_drop_extent_cache()
535 struct extent_map *split = NULL; in btrfs_drop_extent_cache()
536 struct extent_map *split2 = NULL; in btrfs_drop_extent_cache()
2175 struct extent_map *hole_em; in fill_holes()
2275 struct extent_map *em; in find_first_non_hole()
2658 struct extent_map *em; in btrfs_fallocate()
2849 struct extent_map *em = NULL; in find_desired_extent()
Dvolumes.c1175 struct extent_map *em; in contains_pending_extent()
1520 struct extent_map *em; in find_next_chunk()
1528 em = rb_entry(n, struct extent_map, rb_node); in find_next_chunk()
2734 struct extent_map *em; in btrfs_remove_chunk()
4506 struct extent_map *em; in __btrfs_alloc_chunk()
4805 struct extent_map *em; in btrfs_finish_chunk_alloc()
4960 struct extent_map *em; in btrfs_chunk_readonly()
5005 struct extent_map *em; in btrfs_mapping_tree_free()
5025 struct extent_map *em; in btrfs_num_copies()
5085 struct extent_map *em; in btrfs_full_stripe_len()
[all …]
Dcompression.c452 struct extent_map *em; in add_ra_bio_pages()
580 struct extent_map *em; in btrfs_submit_compressed_read()
Dtree-log.c3908 struct extent_map *em1, *em2; in extent_cmp()
3910 em1 = list_entry(a, struct extent_map, list); in extent_cmp()
3911 em2 = list_entry(b, struct extent_map, list); in extent_cmp()
3923 const struct extent_map *em, in wait_ordered_extents()
4065 const struct extent_map *em, in log_one_extent()
4164 struct extent_map *em, *n; in btrfs_log_changed_extents()
4204 em = list_entry(extents.next, struct extent_map, list); in btrfs_log_changed_extents()
4881 struct extent_map *em, *n; in btrfs_log_inode()
Dextent_io.h190 typedef struct extent_map *(get_extent_t)(struct inode *inode,
Dioctl.c899 struct extent_map *em = NULL; in check_defrag_in_cache()
989 static struct extent_map *defrag_lookup_extent(struct inode *inode, u64 start) in defrag_lookup_extent()
993 struct extent_map *em; in defrag_lookup_extent()
1020 static bool defrag_check_next_extent(struct inode *inode, struct extent_map *em) in defrag_check_next_extent()
1022 struct extent_map *next; in defrag_check_next_extent()
1044 struct extent_map *em; in should_defrag_range()
3360 struct extent_map *em; in clone_update_extent_map()
Ddisk-io.c218 static struct extent_map *btree_get_extent(struct inode *inode, in btree_get_extent()
223 struct extent_map *em; in btree_get_extent()
3853 struct extent_map *em; in close_ctree()
3856 struct extent_map, list); in close_ctree()
Dctree.h3512 struct extent_map *em);
3928 struct extent_map *em);
3944 struct extent_map *btrfs_get_extent_fiemap(struct inode *inode, struct page *page,
4010 struct extent_map *btrfs_get_extent(struct inode *inode, struct page *page,
Ddev-replace.c622 struct extent_map *em; in btrfs_dev_replace_update_device_in_mapping_tree()
Dtransaction.c71 struct extent_map *em; in btrfs_put_transaction()
74 struct extent_map, list); in btrfs_put_transaction()
Dfile-item.c885 struct extent_map *em) in btrfs_extent_item_to_extent_map()
Dscrub.c3443 struct extent_map *em; in scrub_chunk()
4209 struct extent_map *em; in check_extent_to_block()
Dextent-tree.c9522 struct extent_map *em; in find_first_block_group()
9784 struct extent_map *em; in check_chunk_block_group_mappings()
10178 struct extent_map *em) in btrfs_remove_block_group()
10476 struct extent_map *em; in btrfs_start_trans_remove_block_group()
Dfree-space-cache.c3355 struct extent_map *em; in btrfs_put_block_group_trimming()
Drelocation.c3100 struct extent_map *em;
/fs/ocfs2/
DMakefile21 extent_map.o \
/fs/btrfs/tests/
Dinode-tests.c226 struct extent_map *em = NULL; in test_btrfs_get_extent()
822 struct extent_map *em = NULL; in test_hole_first()