Home
last modified time | relevance | path

Searched refs:extent_io_tree (Results 1 – 21 of 21) sorted by relevance

/linux/fs/btrfs/
H A Dextent-io-tree.h103 struct extent_io_tree { struct
138 const struct btrfs_inode *btrfs_extent_io_tree_to_inode(const struct extent_io_tree *tree); argument
139 const struct btrfs_fs_info *btrfs_extent_io_tree_to_fs_info(const struct extent_io_tree *tree);
142 struct extent_io_tree *tree, unsigned int owner);
143 void btrfs_extent_io_tree_release(struct extent_io_tree *tree);
144 int btrfs_lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, u32 bits,
146 bool btrfs_try_lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
149 static inline int btrfs_lock_extent(struct extent_io_tree *tree, u64 start, u64 end, in btrfs_lock_extent()
155 static inline bool btrfs_try_lock_extent(struct extent_io_tree *tree, u64 start, in btrfs_try_lock_extent()
164 u64 btrfs_count_range_bits(struct extent_io_tree *tree,
[all …]
H A Dextent-io-tree.c60 struct extent_io_tree *tree, in __btrfs_debug_check_extent_io_range()
84 const struct btrfs_inode *btrfs_extent_io_tree_to_inode(const struct extent_io_tree *tree) in btrfs_extent_io_tree_to_inode()
92 const struct btrfs_fs_info *btrfs_extent_io_tree_to_fs_info(const struct extent_io_tree *tree) in btrfs_extent_io_tree_to_fs_info()
100 struct extent_io_tree *tree, unsigned int owner) in btrfs_extent_io_tree_init()
115 void btrfs_extent_io_tree_release(struct extent_io_tree *tree) in btrfs_extent_io_tree_release()
237 static inline struct extent_state *tree_search_for_insert(struct extent_io_tree *tree, in tree_search_for_insert()
287 static struct extent_state *tree_search_prev_next(struct extent_io_tree *tree, in tree_search_prev_next()
327 static inline struct extent_state *tree_search(struct extent_io_tree *tree, u64 offset) in tree_search()
332 static void __cold extent_io_tree_panic(const struct extent_io_tree *tree, in extent_io_tree_panic()
342 static void merge_prev_state(struct extent_io_tree *tree, struct extent_state *state) in merge_prev_state()
[all …]
H A Dtransaction.h75 struct extent_io_tree dirty_pages;
101 struct extent_io_tree pinned_extents;
298 struct extent_io_tree *dirty_pages, int mark);
H A Dextent_io.h28 struct extent_io_tree;
362 int extent_invalidate_folio(struct extent_io_tree *tree,
H A Dctree.h180 struct extent_io_tree dirty_log_pages;
305 struct extent_io_tree log_csum_range;
H A Dbtrfs_inode.h164 struct extent_io_tree io_tree;
172 struct extent_io_tree *file_extent_tree;
H A Dtransaction.c1124 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents()
1177 struct extent_io_tree *dirty_pages) in __btrfs_wait_marked_extents()
1211 struct extent_io_tree *dirty_pages) in btrfs_wait_extents()
1228 struct extent_io_tree *dirty_pages = &log_root->dirty_log_pages; in btrfs_wait_tree_log_extents()
1259 struct extent_io_tree *dirty_pages = &trans->transaction->dirty_pages; in btrfs_write_and_wait_transaction()
H A Dinode.c1089 struct extent_io_tree *io_tree = &inode->io_tree; in submit_one_async_extent()
1708 struct extent_io_tree *io_tree = &inode->io_tree; in fallback_to_cow()
3081 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_finish_one_ordered()
3825 inode->file_extent_tree = kmalloc(sizeof(struct extent_io_tree), GFP_KERNEL); in btrfs_init_file_extent_tree()
4863 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_truncate_block()
5110 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_cont_expand()
5335 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in evict_inode_truncate_pages()
7220 struct extent_io_tree *io_tree = &inode->io_tree; in can_nocow_extent()
7452 struct extent_io_tree *tree = &inode->io_tree; in btrfs_invalidate_folio()
9256 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_encoded_read_inline()
[all …]
H A Dvolumes.h196 struct extent_io_tree alloc_state;
H A Dfs.h458 struct extent_io_tree excluded_extents;
H A Dextent_io.c326 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in find_lock_delalloc_range()
2633 int extent_invalidate_folio(struct extent_io_tree *tree, in extent_invalidate_folio()
2665 static bool try_release_extent_state(struct extent_io_tree *tree, in try_release_extent_state()
2717 struct extent_io_tree *io_tree = &inode->io_tree; in try_release_extent_mapping()
H A Dioctl.c4406 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_ioctl_encoded_read()
4647 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_uring_read_finished()
4719 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_uring_read_extent()
4790 struct extent_io_tree *io_tree; in btrfs_uring_encoded_read()
H A Ddefrag.c741 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in defrag_lookup_extent()
H A Dcompression.c427 struct extent_io_tree *tree; in add_ra_bio_pages()
H A Ddisk-io.c526 struct extent_io_tree *tree; in btree_invalidate_folio()
4631 struct extent_io_tree *dirty_pages, in btrfs_destroy_marked_extents()
4658 struct extent_io_tree *unpin) in btrfs_destroy_pinned_extent()
H A Dfile.c1859 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_page_mkwrite()
H A Dfree-space-cache.c1203 struct extent_io_tree *unpin = NULL; in write_pinned_extent_entries()
H A Drelocation.c159 struct extent_io_tree processed_blocks;
H A Dextent-tree.c2828 struct extent_io_tree *unpin = &trans->transaction->pinned_extents; in btrfs_finish_extent_commit()
/linux/fs/btrfs/tests/
H A Dextent-io-tests.c91 static void dump_extent_io_tree(const struct extent_io_tree *tree) in dump_extent_io_tree()
114 struct extent_io_tree *tmp; in test_find_delalloc()
561 struct extent_io_tree tree; in test_find_first_clear_extent_bit()
/linux/include/trace/events/
H A Dbtrfs.h28 struct extent_io_tree;
2056 TP_PROTO(const struct extent_io_tree *tree,
2089 TP_PROTO(const struct extent_io_tree *tree,
2122 TP_PROTO(const struct extent_io_tree *tree,