Home
last modified time | relevance | path

Searched refs:extent_state (Results 1 – 20 of 20) sorted by relevance

/linux-5.19.10/fs/btrfs/
Dextent-io-tree.h82 struct extent_state { struct
108 struct extent_state **cached); argument
124 void free_extent_state(struct extent_state *state);
126 u32 bits, int filled, struct extent_state *cached_state);
131 struct extent_state **cached);
134 struct extent_state **cached, gfp_t mask,
143 u64 end, struct extent_state **cached) in unlock_extent_cached()
150 u64 start, u64 end, struct extent_state **cached) in unlock_extent_cached_atomic()
171 struct extent_state **cached_state, gfp_t mask,
184 u64 end, struct extent_state **cached_state) in clear_extent_uptodate()
[all …]
Dextent_io.c38 static inline bool extent_state_in_tree(const struct extent_state *state) in extent_state_in_tree()
97 struct extent_state *state; in btrfs_extent_state_leak_debug_check()
100 state = list_entry(states.next, struct extent_state, leak_list); in btrfs_extent_state_leak_debug_check()
163 static int add_extent_changeset(struct extent_state *state, u32 bits, in add_extent_changeset()
242 sizeof(struct extent_state), 0, in extent_state_cache_init()
327 struct extent_state *state; in extent_io_tree_release()
330 state = rb_entry(node, struct extent_state, rb_node); in extent_io_tree_release()
345 static struct extent_state *alloc_extent_state(gfp_t mask) in alloc_extent_state()
347 struct extent_state *state; in alloc_extent_state()
367 void free_extent_state(struct extent_state *state) in free_extent_state()
[all …]
Dordered-data.h219 struct extent_state **cached_state);
Dordered-data.c999 struct extent_state **cached_state) in btrfs_lock_and_flush_ordered_range()
1002 struct extent_state *cache = NULL; in btrfs_lock_and_flush_ordered_range()
1003 struct extent_state **cachedp = &cache; in btrfs_lock_and_flush_ordered_range()
Dfile.c445 struct extent_state **cached, bool noreserve) in btrfs_dirty_pages()
1415 struct extent_state **cached_state) in lock_and_cleanup_extent_if_need()
1638 struct extent_state *cached_state = NULL; in btrfs_buffered_write()
2579 struct extent_state **cached_state) in btrfs_punch_hole_lock_range()
2978 struct extent_state *cached_state = NULL; in btrfs_punch_hole()
3370 struct extent_state *cached_state = NULL; in btrfs_zero_range()
3415 struct extent_state *cached_state = NULL; in btrfs_fallocate()
3608 struct extent_state *cached_state = NULL; in find_desired_extent()
Dinode.c2240 struct extent_state *orig, u64 split) in btrfs_split_delalloc_extent()
2276 void btrfs_merge_delalloc_extent(struct inode *inode, struct extent_state *new, in btrfs_merge_delalloc_extent()
2277 struct extent_state *other) in btrfs_merge_delalloc_extent()
2386 void btrfs_set_delalloc_extent(struct inode *inode, struct extent_state *state, in btrfs_set_delalloc_extent()
2438 struct extent_state *state, unsigned *bits) in btrfs_clear_delalloc_extent()
2811 struct extent_state **cached_state) in btrfs_find_new_delalloc_bytes()
2850 struct extent_state **cached_state) in btrfs_set_extent_delalloc()
2886 struct extent_state *cached_state = NULL; in btrfs_writepage_fixup_worker()
3222 struct extent_state *cached_state = NULL; in btrfs_finish_ordered_io()
4872 struct extent_state *cached_state = NULL; in btrfs_truncate_block()
[all …]
Dctree.h3288 struct extent_state **cached_state);
3311 void btrfs_set_delalloc_extent(struct inode *inode, struct extent_state *state,
3314 struct extent_state *state, unsigned *bits);
3315 void btrfs_merge_delalloc_extent(struct inode *inode, struct extent_state *new,
3316 struct extent_state *other);
3318 struct extent_state *orig, u64 split);
3433 struct extent_state **cached, bool noreserve);
Dtransaction.c1065 struct extent_state *cached_state = NULL; in btrfs_write_marked_extents()
1121 struct extent_state *cached_state = NULL; in __btrfs_wait_marked_extents()
Dioctl.c1216 struct extent_state *cached = NULL; in defrag_lookup_extent()
1300 struct extent_state *cached_state = NULL; in defrag_prepare_one_page()
1597 struct extent_state **cached_state) in defrag_one_locked_target()
1634 struct extent_state *cached_state = NULL; in defrag_one_range()
Ddev-replace.c805 struct extent_state *cached_state = NULL; in btrfs_set_target_alloc_state()
Dfree-space-cache.c303 struct extent_state *cached_state = NULL; in btrfs_truncate_free_space_cache()
1252 struct extent_state **cached_state) in cleanup_write_cache_enospc()
1346 struct extent_state *cached_state = NULL; in __btrfs_write_out_cache()
Ddisk-io.c160 struct extent_state *cached_state = NULL; in verify_parent_transid()
4556 struct extent_state *cached = NULL; in warn_about_uncommitted_trans()
5086 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent()
Dextent-tree.c2784 struct extent_state *cached_state = NULL; in btrfs_finish_extent_commit()
Dtree-log.c4368 struct extent_state *cached_state = NULL; in log_csums()
/linux-5.19.10/fs/hfsplus/
Dextents.c100 if (hip->extent_state & HFSPLUS_EXT_NEW) { in __hfsplus_ext_write_extent()
109 hip->extent_state &= ~(HFSPLUS_EXT_DIRTY | HFSPLUS_EXT_NEW); in __hfsplus_ext_write_extent()
115 hip->extent_state &= ~HFSPLUS_EXT_DIRTY; in __hfsplus_ext_write_extent()
133 if (HFSPLUS_I(inode)->extent_state & HFSPLUS_EXT_DIRTY) { in hfsplus_ext_write_extent_locked()
185 if (hip->extent_state & HFSPLUS_EXT_DIRTY) { in __hfsplus_ext_cache_extent()
201 hip->extent_state &= ~(HFSPLUS_EXT_DIRTY | HFSPLUS_EXT_NEW); in __hfsplus_ext_cache_extent()
267 was_dirty = (hip->extent_state & HFSPLUS_EXT_DIRTY); in hfsplus_get_block()
510 hip->extent_state |= HFSPLUS_EXT_DIRTY; in hfsplus_file_extend()
535 hip->extent_state |= HFSPLUS_EXT_DIRTY | HFSPLUS_EXT_NEW; in hfsplus_file_extend()
611 hip->extent_state |= HFSPLUS_EXT_DIRTY; in hfsplus_file_truncate()
[all …]
Dhfsplus_fs.h221 unsigned int extent_state; member
Dsuper.c74 HFSPLUS_I(inode)->extent_state = 0; in hfsplus_iget()
Dinode.c402 hip->extent_state = 0; in hfsplus_new_inode()
/linux-5.19.10/fs/btrfs/tests/
Dextent-io-tests.c68 static void extent_flag_to_str(const struct extent_state *state, char *dest) in extent_flag_to_str()
97 struct extent_state *state; in dump_extent_io_tree()
99 state = rb_entry(node, struct extent_state, rb_node); in dump_extent_io_tree()
/linux-5.19.10/include/trace/events/
Dbtrfs.h1337 struct extent_state;
1340 TP_PROTO(const struct extent_state *state,
1346 __field(const struct extent_state *, state)
1363 TP_PROTO(const struct extent_state *state, unsigned long IP),
1368 __field(const struct extent_state *, state)