Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dextent-io-tree.c13 static inline bool extent_state_in_tree(const struct extent_state *state) in extent_state_in_tree()
22 static inline void btrfs_leak_debug_add_state(struct extent_state *state) in btrfs_leak_debug_add_state()
31 static inline void btrfs_leak_debug_del_state(struct extent_state *state) in btrfs_leak_debug_del_state()
42 struct extent_state *state; in btrfs_extent_state_leak_debug_check()
45 state = list_entry(states.next, struct extent_state, leak_list); in btrfs_extent_state_leak_debug_check()
119 struct extent_state *state; in extent_io_tree_release()
122 state = rb_entry(node, struct extent_state, rb_node); in extent_io_tree_release()
137 static struct extent_state *alloc_extent_state(gfp_t mask) in alloc_extent_state()
139 struct extent_state *state; in alloc_extent_state()
158 static struct extent_state *alloc_extent_state_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic()
[all …]
Dextent-io-tree.h100 struct extent_state { struct
120 struct extent_state **cached); argument
123 struct extent_state **cached);
131 struct extent_state **cached_state);
133 void free_extent_state(struct extent_state *state);
135 u32 bits, int filled, struct extent_state *cached_state);
139 u32 bits, struct extent_state **cached,
144 struct extent_state **cached) in clear_extent_bit()
150 struct extent_state **cached) in unlock_extent()
164 u32 bits, struct extent_state **cached_state);
[all …]
Dbtrfs_inode.h437 struct extent_state **cached_state);
460 void btrfs_set_delalloc_extent(struct btrfs_inode *inode, struct extent_state *state,
463 struct extent_state *state, u32 bits);
464 void btrfs_merge_delalloc_extent(struct btrfs_inode *inode, struct extent_state *new,
465 struct extent_state *other);
467 struct extent_state *orig, u64 split);
Dfile.h24 struct extent_state **cached, bool noreserve);
30 struct extent_state **cached_state,
Dordered-data.h206 struct extent_state **cached_state);
208 struct extent_state **cached_state);
Dfile.c129 struct extent_state **cached, bool noreserve) in btrfs_dirty_pages()
980 struct extent_state **cached_state) in lock_and_cleanup_extent_if_need()
1066 struct extent_state *cached_state = NULL; in btrfs_check_nocow_lock()
1224 struct extent_state *cached_state = NULL; in btrfs_buffered_write()
2194 struct extent_state **cached_state) in btrfs_punch_hole_lock_range()
2591 struct extent_state *cached_state = NULL; in btrfs_punch_hole()
2981 struct extent_state *cached_state = NULL; in btrfs_zero_range()
3026 struct extent_state *cached_state = NULL; in btrfs_fallocate()
3220 struct extent_state **cached_state, in find_delalloc_subrange()
3344 struct extent_state **cached_state, in btrfs_find_delalloc_in_range()
[all …]
Ddefrag.c641 struct extent_state *cached = NULL; in defrag_lookup_extent()
726 struct extent_state *cached_state = NULL; in defrag_prepare_one_page()
1023 struct extent_state **cached_state) in defrag_one_locked_target()
1061 struct extent_state *cached_state = NULL; in defrag_one_range()
Dordered-data.c1091 struct extent_state **cached_state) in btrfs_lock_and_flush_ordered_range()
1094 struct extent_state *cache = NULL; in btrfs_lock_and_flush_ordered_range()
1095 struct extent_state **cachedp = &cache; in btrfs_lock_and_flush_ordered_range()
1128 struct extent_state **cached_state) in btrfs_try_lock_ordered_range()
Dinode.c2288 struct extent_state *orig, u64 split) in btrfs_split_delalloc_extent()
2324 void btrfs_merge_delalloc_extent(struct btrfs_inode *inode, struct extent_state *new, in btrfs_merge_delalloc_extent()
2325 struct extent_state *other) in btrfs_merge_delalloc_extent()
2431 void btrfs_set_delalloc_extent(struct btrfs_inode *inode, struct extent_state *state, in btrfs_set_delalloc_extent()
2482 struct extent_state *state, u32 bits) in btrfs_clear_delalloc_extent()
2612 struct extent_state **cached_state) in btrfs_find_new_delalloc_bytes()
2650 struct extent_state **cached_state) in btrfs_set_extent_delalloc()
2687 struct extent_state *cached_state = NULL; in btrfs_writepage_fixup_worker()
3019 struct extent_state *cached_state = NULL; in btrfs_finish_one_ordered()
4661 struct extent_state *cached_state = NULL; in btrfs_truncate_block()
[all …]
Dctree.h447 struct extent_state *llseek_cached_state;
Dextent_io.c334 struct extent_state *cached_state = NULL; in find_lock_delalloc_range()
525 struct extent_state *cached = NULL; in endio_readpage_release_extent()
2261 struct extent_state *cached_state = NULL; in extent_invalidate_folio()
2625 struct extent_state **delalloc_cached_state, in fiemap_process_hole()
2820 struct extent_state *cached_state = NULL; in extent_fiemap()
2821 struct extent_state *delalloc_cached_state = NULL; in extent_fiemap()
Drelocation.c1126 struct extent_state *cached_state = NULL; in replace_file_extents()
1532 struct extent_state *cached_state = NULL; in invalidate_extent_cache()
2914 struct extent_state *cached_state = NULL; in prealloc_file_extent_cluster()
2944 struct extent_state *cached_state = NULL; in setup_relocation_extent_mapping()
3043 struct extent_state *cached_state = NULL; in relocate_one_page()
Dtransaction.c1082 struct extent_state *cached_state = NULL; in btrfs_write_marked_extents()
1136 struct extent_state *cached_state = NULL; in __btrfs_wait_marked_extents()
Ddev-replace.c787 struct extent_state *cached_state = NULL; in btrfs_set_target_alloc_state()
Dfree-space-cache.c308 struct extent_state *cached_state = NULL; in btrfs_truncate_free_space_cache()
1288 struct extent_state **cached_state) in cleanup_write_cache_enospc()
1382 struct extent_state *cached_state = NULL; in __btrfs_write_out_cache()
Ddisk-io.c4220 struct extent_state *cached = NULL; in warn_about_uncommitted_trans()
4743 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent()
Dextent-tree.c2791 struct extent_state *cached_state = NULL; in btrfs_finish_extent_commit()
Dtree-log.c4225 struct extent_state *cached_state = NULL; in log_csums()
/Linux-v6.6/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.h223 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-v6.6/fs/btrfs/tests/
Dextent-io-tests.c70 static void extent_flag_to_str(const struct extent_state *state, char *dest) in extent_flag_to_str()
98 struct extent_state *state; in dump_extent_io_tree()
100 state = rb_entry(node, struct extent_state, rb_node); in dump_extent_io_tree()
/Linux-v6.6/include/trace/events/
Dbtrfs.h1510 struct extent_state;
1513 TP_PROTO(const struct extent_state *state,
1519 __field(const struct extent_state *, state)
1536 TP_PROTO(const struct extent_state *state, unsigned long IP),
1541 __field(const struct extent_state *, state)