Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dextent-io-tree.h123 struct extent_state { struct
145 struct extent_state **cached); argument
147 u32 bits, struct extent_state **cached);
150 struct extent_state **cached) in btrfs_lock_extent()
156 u64 end, struct extent_state **cached) in btrfs_try_lock_extent()
167 struct extent_state **cached_state);
169 void btrfs_free_extent_state(struct extent_state *state);
171 struct extent_state *cached_state);
174 struct extent_state **cached_state);
178 u32 bits, struct extent_state **cached,
[all …]
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_first_entry(&states, struct extent_state, leak_list); in btrfs_extent_state_leak_debug_check()
118 struct extent_state *state; in btrfs_extent_io_tree_release()
119 struct extent_state *tmp; in btrfs_extent_io_tree_release()
145 static struct extent_state *alloc_extent_state(gfp_t mask) in alloc_extent_state()
147 struct extent_state *state; in alloc_extent_state()
166 static struct extent_state *alloc_extent_state_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic()
[all …]
H A Dfile.h9 struct extent_state;
40 size_t write_bytes, struct extent_state **cached, bool noreserve);
46 struct extent_state **cached_state,
H A Dordered-data.h19 struct extent_state;
219 struct extent_state **cached_state);
221 struct extent_state **cached_state);
H A Dextent_io.h29 struct extent_state;
358 struct extent_state **cached,
H A Dfile.c71 size_t write_bytes, struct extent_state **cached, bool noreserve) in btrfs_dirty_folio()
902 struct extent_state **cached_state) in lock_and_cleanup_extent_if_need()
983 struct extent_state *cached_state = NULL; in btrfs_check_nocow_lock()
1205 struct extent_state *cached_state = NULL; in copy_one_range()
1861 struct extent_state *cached_state = NULL; in btrfs_page_mkwrite()
2275 struct extent_state **cached_state) in btrfs_punch_hole_lock_range()
2657 struct extent_state *cached_state = NULL; in btrfs_punch_hole()
3055 struct extent_state *cached_state = NULL; in btrfs_zero_range()
3100 struct extent_state *cached_state = NULL; in btrfs_fallocate()
3298 struct extent_state **cached_state, in find_delalloc_subrange()
[all …]
H A Dfiemap.c439 struct extent_state **delalloc_cached_state, in fiemap_process_hole()
635 struct extent_state *cached_state = NULL; in extent_fiemap()
636 struct extent_state *delalloc_cached_state = NULL; in extent_fiemap()
H A Dinode.c714 struct extent_state *cached = NULL; in cow_file_range_inline()
1133 struct extent_state *cached = NULL; in submit_one_async_extent()
1308 struct extent_state *cached = NULL; in cow_file_range()
1752 struct extent_state *cached_state = NULL; in fallback_to_cow()
1966 struct extent_state **cached, in nocow_one_range()
2092 struct extent_state *cached_state = NULL; in run_delalloc_nocow()
2329 struct extent_state *cached = NULL; in run_delalloc_nocow()
2402 struct extent_state *orig, u64 split) in btrfs_split_delalloc_extent()
2440 void btrfs_merge_delalloc_extent(struct btrfs_inode *inode, struct extent_state *new, in btrfs_merge_delalloc_extent()
2441 struct extent_state *other) in btrfs_merge_delalloc_extent()
[all …]
H A Dreflink.c636 struct extent_state *cached_state = NULL; in btrfs_extent_same_range()
703 struct extent_state *cached_state = NULL; in btrfs_clone_files()
H A Dextent_io.c381 struct extent_state *cached_state = NULL; in find_lock_delalloc_range()
470 struct extent_state **cached, in extent_clear_unlock_delalloc()
1275 struct extent_state **cached_state) in lock_extents_for_read()
1323 struct extent_state *cached_state = NULL; in btrfs_read_folio()
2701 struct extent_state *cached_state = NULL; in btrfs_readahead()
2724 struct extent_state *cached_state = NULL; in extent_invalidate_folio()
2756 struct extent_state *cached_state = NULL; in try_release_extent_state()
H A Drelocation.c915 struct extent_state *cached_state = NULL; in replace_file_extents()
1341 struct extent_state *cached_state = NULL; in invalidate_extent_cache()
2700 struct extent_state *cached_state = NULL; in prealloc_file_extent_cluster()
2730 struct extent_state *cached_state = NULL; in setup_relocation_extent_mapping()
2856 struct extent_state *cached_state = NULL; in relocate_one_folio()
H A Dtransaction.c1136 struct extent_state *cached_state = NULL; in btrfs_write_marked_extents()
1187 struct extent_state *cached_state = NULL; in __btrfs_wait_marked_extents()
H A Dioctl.c4357 struct extent_state *cached_state = NULL; in btrfs_ioctl_encoded_read()
4572 struct extent_state *cached_state;
4657 struct extent_state *cached_state, in btrfs_uring_read_extent()
4737 struct extent_state *cached_state = NULL; in btrfs_uring_encoded_read()
H A Ddisk-io.c4145 struct extent_state *cached = NULL; in warn_about_uncommitted_trans()
4646 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent()
H A Dtree-log.c4716 struct extent_state *cached_state = NULL; in log_csums()
/linux/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()
507 hip->extent_state |= HFSPLUS_EXT_DIRTY; in hfsplus_file_extend()
532 hip->extent_state |= HFSPLUS_EXT_DIRTY | HFSPLUS_EXT_NEW; in hfsplus_file_extend()
610 hip->extent_state |= HFSPLUS_EXT_DIRTY; in hfsplus_file_truncate()
[all …]
/linux/include/trace/events/
H A Dbtrfs.h1477 struct extent_state;
1480 TP_PROTO(const struct extent_state *state,
1486 __field(const struct extent_state *, state)
1503 TP_PROTO(const struct extent_state *state, unsigned long IP),
1508 __field(const struct extent_state *, state)