Home
last modified time | relevance | path

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

/openbmc/linux/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_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic()
[all …]
H A 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 …]
H A Dbtrfs_inode.h442 struct extent_state **cached_state);
465 void btrfs_set_delalloc_extent(struct btrfs_inode *inode, struct extent_state *state,
468 struct extent_state *state, u32 bits);
469 void btrfs_merge_delalloc_extent(struct btrfs_inode *inode, struct extent_state *new,
470 struct extent_state *other);
472 struct extent_state *orig, u64 split);
H A Dfile.h24 struct extent_state **cached, bool noreserve);
30 struct extent_state **cached_state,
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()
1222 struct extent_state *cached_state = NULL; in btrfs_buffered_write()
2219 struct extent_state **cached_state) in btrfs_punch_hole_lock_range()
2616 struct extent_state *cached_state = NULL; in btrfs_punch_hole()
3006 struct extent_state *cached_state = NULL; in btrfs_zero_range()
3051 struct extent_state *cached_state = NULL; in btrfs_fallocate()
3245 struct extent_state **cached_state, in find_delalloc_subrange()
3369 struct extent_state **cached_state, in btrfs_find_delalloc_in_range()
[all …]
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 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 Dinode.c2290 struct extent_state *orig, u64 split) in btrfs_split_delalloc_extent()
2326 void btrfs_merge_delalloc_extent(struct btrfs_inode *inode, struct extent_state *new, in btrfs_merge_delalloc_extent()
2327 struct extent_state *other) in btrfs_merge_delalloc_extent()
2433 void btrfs_set_delalloc_extent(struct btrfs_inode *inode, struct extent_state *state, in btrfs_set_delalloc_extent()
2484 struct extent_state *state, u32 bits) in btrfs_clear_delalloc_extent()
2614 struct extent_state **cached_state) in btrfs_find_new_delalloc_bytes()
2652 struct extent_state **cached_state) in btrfs_set_extent_delalloc()
2689 struct extent_state *cached_state = NULL; in btrfs_writepage_fixup_worker()
3021 struct extent_state *cached_state = NULL; in btrfs_finish_one_ordered()
4698 struct extent_state *cached_state = NULL; in btrfs_truncate_block()
[all …]
H A Dctree.h447 struct extent_state *llseek_cached_state;
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()
2254 struct extent_state *cached_state = NULL; in extent_invalidate_folio()
2809 struct extent_state **delalloc_cached_state, in fiemap_process_hole()
3004 struct extent_state *cached_state = NULL; in extent_fiemap()
3005 struct extent_state *delalloc_cached_state = NULL; in extent_fiemap()
H A Drelocation.c1058 struct extent_state *cached_state = NULL; in replace_file_extents()
1464 struct extent_state *cached_state = NULL; in invalidate_extent_cache()
2846 struct extent_state *cached_state = NULL; in prealloc_file_extent_cluster()
2876 struct extent_state *cached_state = NULL; in setup_relocation_extent_mapping()
2975 struct extent_state *cached_state = NULL; in relocate_one_page()
H A Dtransaction.c1081 struct extent_state *cached_state = NULL; in btrfs_write_marked_extents()
1135 struct extent_state *cached_state = NULL; in __btrfs_wait_marked_extents()
H A Ddev-replace.c804 struct extent_state *cached_state = NULL; in btrfs_set_target_alloc_state()
H A Dfree-space-cache.c308 struct extent_state *cached_state = NULL; in btrfs_truncate_free_space_cache()
1289 struct extent_state **cached_state) in cleanup_write_cache_enospc()
1383 struct extent_state *cached_state = NULL; in __btrfs_write_out_cache()
H A Ddisk-io.c4232 struct extent_state *cached = NULL; in warn_about_uncommitted_trans()
4772 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent()
H A Dextent-tree.c2813 struct extent_state *cached_state = NULL; in btrfs_finish_extent_commit()
H A Dtree-log.c4244 struct extent_state *cached_state = NULL; in log_csums()
/openbmc/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()
511 hip->extent_state |= HFSPLUS_EXT_DIRTY; in hfsplus_file_extend()
536 hip->extent_state |= HFSPLUS_EXT_DIRTY | HFSPLUS_EXT_NEW; in hfsplus_file_extend()
614 hip->extent_state |= HFSPLUS_EXT_DIRTY; in hfsplus_file_truncate()
[all …]
H A Dhfsplus_fs.h224 unsigned int extent_state; member
H A Dsuper.c74 HFSPLUS_I(inode)->extent_state = 0; in hfsplus_iget()
H A Dinode.c402 hip->extent_state = 0; in hfsplus_new_inode()
/openbmc/linux/fs/btrfs/tests/
H A Dextent-io-tests.c71 static void extent_flag_to_str(const struct extent_state *state, char *dest) in extent_flag_to_str()
99 struct extent_state *state; in dump_extent_io_tree()
101 state = rb_entry(node, struct extent_state, rb_node); in dump_extent_io_tree()
/openbmc/linux/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)