Home
last modified time | relevance | path

Searched refs:extent_state (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-6.6/fs/btrfs/
H A 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_atomi
[all...]
H A Dextent-io-tree.h100 struct extent_state { struct
120 struct extent_state **cached);
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_stat
[all...]
H A Dfile.h24 struct extent_state **cached, bool noreserve);
30 struct extent_state **cached_state,
H A 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);
H A Dordered-data.h206 struct extent_state **cached_state);
208 struct extent_state **cached_state);
H A 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_stat in btrfs_find_delalloc_in_range()
[all...]
H A Dordered-data.c1094 struct extent_state **cached_state) in btrfs_lock_and_flush_ordered_range()
1097 struct extent_state *cache = NULL; in btrfs_lock_and_flush_ordered_range()
1098 struct extent_state **cachedp = &cache; in btrfs_lock_and_flush_ordered_range()
1131 struct extent_state **cached_state) in btrfs_try_lock_ordered_range()
H A 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()
H A 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()
4680 struct extent_state *cached_stat in btrfs_truncate_block()
[all...]
H A 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()
2266 struct extent_state *cached_state = NULL; in extent_invalidate_folio()
2720 struct extent_state **delalloc_cached_state, in fiemap_process_hole()
2915 struct extent_state *cached_state = NULL; in extent_fiemap()
2916 struct extent_state *delalloc_cached_state = NULL; in extent_fiemap()
H A Dctree.h447 struct extent_state *llseek_cached_state;
/kernel/linux/linux-5.10/fs/btrfs/
H A Dextent-io-tree.h68 struct extent_state { struct
94 struct extent_state **cached);
110 void free_extent_state(struct extent_state *state);
113 struct extent_state *cached_state);
118 struct extent_state **cached);
121 struct extent_state **cached, gfp_t mask,
130 u64 end, struct extent_state **cached) in unlock_extent_cached()
137 u64 start, u64 end, struct extent_state **cached) in unlock_extent_cached_atomic()
158 struct extent_state **cached_state, gfp_t mask);
169 u64 end, struct extent_state **cached_stat in clear_extent_uptodate()
[all...]
H A Dextent_io.c32 static inline bool extent_state_in_tree(const struct extent_state *state) in extent_state_in_tree()
90 struct extent_state *state; in btrfs_extent_state_leak_debug_check()
93 state = list_entry(states.next, struct extent_state, leak_list); in btrfs_extent_state_leak_debug_check()
145 static int add_extent_changeset(struct extent_state *state, unsigned bits, in add_extent_changeset()
218 sizeof(struct extent_state), 0, in extent_state_cache_init()
303 struct extent_state *state; in extent_io_tree_release()
306 state = rb_entry(node, struct extent_state, rb_node); in extent_io_tree_release()
321 static struct extent_state *alloc_extent_state(gfp_t mask) in alloc_extent_state()
323 struct extent_state *state; in alloc_extent_state()
343 void free_extent_state(struct extent_state *stat
[all...]
H A Dordered-data.h195 struct extent_state **cached_state);
H A Dordered-data.c917 struct extent_state **cached_state) in btrfs_lock_and_flush_ordered_range()
920 struct extent_state *cache = NULL; in btrfs_lock_and_flush_ordered_range()
921 struct extent_state **cachedp = &cache; in btrfs_lock_and_flush_ordered_range()
H A Dfile.c465 struct extent_state **cached) in btrfs_dirty_pages()
1409 struct extent_state **cached_state) in lock_and_cleanup_extent_if_need()
1587 struct extent_state *cached_state = NULL; in btrfs_buffered_write()
2478 struct extent_state **cached_state) in btrfs_punch_hole_lock_range()
2841 struct extent_state *cached_state = NULL; in btrfs_punch_hole()
3236 struct extent_state *cached_state = NULL; in btrfs_zero_range()
3283 struct extent_state *cached_state = NULL; in btrfs_fallocate()
3493 struct extent_state *cached_state = NULL; in find_desired_extent()
H A Dctree.h3014 struct extent_state **cached_state);
3019 void btrfs_set_delalloc_extent(struct inode *inode, struct extent_state *state,
3022 struct extent_state *state, unsigned *bits);
3023 void btrfs_merge_delalloc_extent(struct inode *inode, struct extent_state *new,
3024 struct extent_state *other);
3026 struct extent_state *orig, u64 split);
3121 struct extent_state **cached);
H A Dinode.c1844 struct extent_state *orig, u64 split) in btrfs_split_delalloc_extent()
1879 void btrfs_merge_delalloc_extent(struct inode *inode, struct extent_state *new, in btrfs_merge_delalloc_extent()
1880 struct extent_state *other) in btrfs_merge_delalloc_extent()
1988 void btrfs_set_delalloc_extent(struct inode *inode, struct extent_state *state, in btrfs_set_delalloc_extent()
2040 struct extent_state *state, unsigned *bits) in btrfs_clear_delalloc_extent()
2258 struct extent_state **cached_state) in btrfs_find_new_delalloc_bytes()
2297 struct extent_state **cached_state) in btrfs_set_extent_delalloc()
2333 struct extent_state *cached_state = NULL; in btrfs_writepage_fixup_worker()
2635 struct extent_state *cached_state = NULL; in btrfs_finish_ordered_io()
4239 struct extent_state *cached_stat in btrfs_truncate_inode_items()
[all...]
/kernel/linux/linux-5.10/fs/hfsplus/
H A 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 | in hfsplus_file_truncate()
[all...]
H A Dhfsplus_fs.h223 unsigned int extent_state; member
/kernel/linux/linux-6.6/fs/hfsplus/
H A 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 | in hfsplus_file_truncate()
[all...]
H A Dhfsplus_fs.h223 unsigned int extent_state; member
/kernel/linux/linux-6.6/fs/btrfs/tests/
H A 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()
/kernel/linux/linux-5.10/include/trace/events/
H A Dbtrfs.h1336 struct extent_state;
1339 TP_PROTO(const struct extent_state *state,
1345 __field(const struct extent_state *, state)
1362 TP_PROTO(const struct extent_state *state, unsigned long IP),
1367 __field(const struct extent_state *, state)
/kernel/linux/linux-6.6/include/trace/events/
H A 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)

Completed in 59 milliseconds

12