Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dextent-io-tree.c12 static inline bool extent_state_in_tree(const struct extent_state *state) in extent_state_in_tree()
21 static inline void btrfs_leak_debug_add_state(struct extent_state *state) in btrfs_leak_debug_add_state()
30 static inline void btrfs_leak_debug_del_state(struct extent_state *state) in btrfs_leak_debug_del_state()
41 struct extent_state *state; in btrfs_extent_state_leak_debug_check()
44 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.h86 struct extent_state { struct
107 struct extent_state **cached); argument
118 void free_extent_state(struct extent_state *state);
120 u32 bits, int filled, struct extent_state *cached_state);
124 u32 bits, struct extent_state **cached, gfp_t mask,
129 struct extent_state **cached) in clear_extent_bit()
136 struct extent_state **cached) in unlock_extent()
143 u64 end, struct extent_state **cached) in unlock_extent_atomic()
158 u32 bits, struct extent_state **cached_state, gfp_t mask);
173 u64 end, struct extent_state **cached_state) in clear_extent_uptodate()
[all …]
Dordered-data.h208 struct extent_state **cached_state);
Dordered-data.c1036 struct extent_state **cached_state) in btrfs_lock_and_flush_ordered_range()
1039 struct extent_state *cache = NULL; in btrfs_lock_and_flush_ordered_range()
1040 struct extent_state **cachedp = &cache; in btrfs_lock_and_flush_ordered_range()
Dinode.c2244 struct extent_state *orig, u64 split) in btrfs_split_delalloc_extent()
2280 void btrfs_merge_delalloc_extent(struct inode *inode, struct extent_state *new, in btrfs_merge_delalloc_extent()
2281 struct extent_state *other) in btrfs_merge_delalloc_extent()
2390 void btrfs_set_delalloc_extent(struct inode *inode, struct extent_state *state, in btrfs_set_delalloc_extent()
2442 struct extent_state *state, u32 bits) in btrfs_clear_delalloc_extent()
2795 struct extent_state **cached_state) in btrfs_find_new_delalloc_bytes()
2834 struct extent_state **cached_state) in btrfs_set_extent_delalloc()
2870 struct extent_state *cached_state = NULL; in btrfs_writepage_fixup_worker()
3207 struct extent_state *cached_state = NULL; in btrfs_finish_ordered_io()
4867 struct extent_state *cached_state = NULL; in btrfs_truncate_block()
[all …]
Dfile.c445 struct extent_state **cached, bool noreserve) in btrfs_dirty_pages()
1296 struct extent_state **cached_state) in lock_and_cleanup_extent_if_need()
1538 struct extent_state *cached_state = NULL; in btrfs_buffered_write()
2504 struct extent_state **cached_state) in btrfs_punch_hole_lock_range()
2903 struct extent_state *cached_state = NULL; in btrfs_punch_hole()
3295 struct extent_state *cached_state = NULL; in btrfs_zero_range()
3340 struct extent_state *cached_state = NULL; in btrfs_fallocate()
3778 struct extent_state *cached_state = NULL; in find_desired_extent()
Dctree.h3389 struct extent_state **cached_state);
3412 void btrfs_set_delalloc_extent(struct inode *inode, struct extent_state *state,
3415 struct extent_state *state, u32 bits);
3416 void btrfs_merge_delalloc_extent(struct inode *inode, struct extent_state *new,
3417 struct extent_state *other);
3419 struct extent_state *orig, u64 split);
3531 struct extent_state **cached, bool noreserve);
Dextent_io.c404 struct extent_state *cached_state = NULL; in find_lock_delalloc_range()
904 struct extent_state *cached = NULL; in end_sector_io()
1086 struct extent_state *cached = NULL; in endio_readpage_release_extent()
1784 struct extent_state *cached = NULL; in btrfs_do_readpage()
1866 struct extent_state *cached = NULL; in btrfs_do_readpage()
3352 struct extent_state *cached_state = NULL; in extent_invalidate_folio()
3914 struct extent_state *cached_state = NULL; in extent_fiemap()
Dtransaction.c1048 struct extent_state *cached_state = NULL; in btrfs_write_marked_extents()
1104 struct extent_state *cached_state = NULL; in __btrfs_wait_marked_extents()
Dioctl.c1216 struct extent_state *cached = NULL; in defrag_lookup_extent()
1302 struct extent_state *cached_state = NULL; in defrag_prepare_one_page()
1600 struct extent_state **cached_state) in defrag_one_locked_target()
1637 struct extent_state *cached_state = NULL; in defrag_one_range()
Ddev-replace.c801 struct extent_state *cached_state = NULL; in btrfs_set_target_alloc_state()
Dfree-space-cache.c318 struct extent_state *cached_state = NULL; in btrfs_truncate_free_space_cache()
1292 struct extent_state **cached_state) in cleanup_write_cache_enospc()
1386 struct extent_state *cached_state = NULL; in __btrfs_write_out_cache()
Ddisk-io.c125 struct extent_state *cached_state = NULL; in verify_parent_transid()
4526 struct extent_state *cached = NULL; in warn_about_uncommitted_trans()
5086 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent()
Dextent-tree.c2772 struct extent_state *cached_state = NULL; in btrfs_finish_extent_commit()
Dtree-log.c4284 struct extent_state *cached_state = NULL; in log_csums()
/linux-6.1.9/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-6.1.9/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-6.1.9/include/trace/events/
Dbtrfs.h1401 struct extent_state;
1404 TP_PROTO(const struct extent_state *state,
1410 __field(const struct extent_state *, state)
1427 TP_PROTO(const struct extent_state *state, unsigned long IP),
1432 __field(const struct extent_state *, state)