/openbmc/linux/fs/btrfs/ |
H A D | btrfs_inode.h | 73 struct btrfs_inode { struct 263 static inline u64 btrfs_get_first_dir_index_to_log(const struct btrfs_inode *inode) in btrfs_get_first_dir_index_to_log() argument 268 static inline void btrfs_set_first_dir_index_to_log(struct btrfs_inode *inode, in btrfs_set_first_dir_index_to_log() 274 static inline struct btrfs_inode *BTRFS_I(const struct inode *inode) in BTRFS_I() 276 return container_of(inode, struct btrfs_inode, vfs_inode); in BTRFS_I() 297 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() 309 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() 316 static inline void btrfs_i_size_write(struct btrfs_inode *inode, u64 size) in btrfs_i_size_write() 322 static inline bool btrfs_is_free_space_inode(struct btrfs_inode *inode) in btrfs_is_free_space_inode() 332 static inline void btrfs_mod_outstanding_extents(struct btrfs_inode *inode, in btrfs_mod_outstanding_extents() [all …]
|
H A D | delalloc-space.h | 8 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes); 9 int btrfs_check_data_free_space(struct btrfs_inode *inode, 12 void btrfs_free_reserved_data_space(struct btrfs_inode *inode, 14 void btrfs_delalloc_release_space(struct btrfs_inode *inode, 19 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, 21 int btrfs_delalloc_reserve_space(struct btrfs_inode *inode, 23 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes, 25 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes);
|
H A D | delayed-inode.h | 115 struct btrfs_inode *dir, 120 struct btrfs_inode *dir, u64 index); 122 int btrfs_inode_delayed_dir_index_count(struct btrfs_inode *inode); 130 struct btrfs_inode *inode); 132 void btrfs_remove_delayed_node(struct btrfs_inode *inode); 133 void btrfs_kill_delayed_inode_items(struct btrfs_inode *inode); 134 int btrfs_commit_inode_delayed_inode(struct btrfs_inode *inode); 139 struct btrfs_inode *inode); 141 int btrfs_delayed_delete_inode_ref(struct btrfs_inode *inode); 163 void btrfs_log_get_delayed_items(struct btrfs_inode *inode, [all …]
|
H A D | ordered-data.h | 168 void btrfs_remove_ordered_extent(struct btrfs_inode *btrfs_inode, 173 void btrfs_mark_ordered_io_finished(struct btrfs_inode *inode, 176 bool btrfs_dec_test_ordered_pending(struct btrfs_inode *inode, 180 struct btrfs_inode *inode, u64 file_offset, 186 struct btrfs_ordered_extent *btrfs_lookup_ordered_extent(struct btrfs_inode *inode, 191 btrfs_lookup_first_ordered_extent(struct btrfs_inode *inode, u64 file_offset); 193 struct btrfs_inode *inode, u64 file_offset, u64 len); 195 struct btrfs_inode *inode, 198 void btrfs_get_ordered_extents_for_logging(struct btrfs_inode *inode, 204 void btrfs_lock_and_flush_ordered_range(struct btrfs_inode *inode, u64 start, [all …]
|
H A D | file.h | 10 struct btrfs_root *root, struct btrfs_inode *inode, 12 int btrfs_replace_file_extents(struct btrfs_inode *inode, 18 struct btrfs_inode *inode, u64 start, u64 end); 22 int btrfs_dirty_pages(struct btrfs_inode *inode, struct page **pages, 26 int btrfs_check_nocow_lock(struct btrfs_inode *inode, loff_t pos, 28 void btrfs_check_nocow_unlock(struct btrfs_inode *inode); 29 bool btrfs_find_delalloc_in_range(struct btrfs_inode *inode, u64 start, u64 end,
|
H A D | delalloc-space.c | 116 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes) in btrfs_alloc_data_chunk_ondemand() 131 int btrfs_check_data_free_space(struct btrfs_inode *inode, in btrfs_check_data_free_space() 191 void btrfs_free_reserved_data_space(struct btrfs_inode *inode, in btrfs_free_reserved_data_space() 218 static void btrfs_inode_rsv_release(struct btrfs_inode *inode, bool qgroup_free) in btrfs_inode_rsv_release() 243 struct btrfs_inode *inode) in btrfs_calculate_inode_block_rsv_size() 282 static void calc_inode_reservations(struct btrfs_inode *inode, in calc_inode_reservations() 307 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_reserve_metadata() 396 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_release_metadata() 426 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_release_extents() 468 int btrfs_delalloc_reserve_space(struct btrfs_inode *inode, in btrfs_delalloc_reserve_space() [all …]
|
H A D | tree-log.h | 94 struct btrfs_inode *dir, u64 index); 98 struct btrfs_inode *inode, u64 dirid); 102 struct btrfs_inode *dir, struct btrfs_inode *inode, 105 struct btrfs_inode *dir); 107 struct dentry *old_dentry, struct btrfs_inode *old_dir,
|
H A D | ordered-data.c | 150 struct btrfs_inode *inode, u64 file_offset, u64 num_bytes, in alloc_ordered_extent() 211 struct btrfs_inode *inode = BTRFS_I(entry->inode); in insert_ordered_extent() 266 struct btrfs_inode *inode, u64 file_offset, in btrfs_alloc_ordered_extent() 311 struct btrfs_inode *inode = BTRFS_I(ordered->inode); in can_finish_ordered_extent() 363 struct btrfs_inode *inode = BTRFS_I(ordered->inode); in btrfs_queue_ordered_fn() 376 struct btrfs_inode *inode = BTRFS_I(ordered->inode); in btrfs_finish_ordered_extent() 404 void btrfs_mark_ordered_io_finished(struct btrfs_inode *inode, in btrfs_mark_ordered_io_finished() 497 bool btrfs_dec_test_ordered_pending(struct btrfs_inode *inode, in btrfs_dec_test_ordered_pending() 579 void btrfs_remove_ordered_extent(struct btrfs_inode *btrfs_inode, in btrfs_remove_ordered_extent() argument 583 struct btrfs_root *root = btrfs_inode->root; in btrfs_remove_ordered_extent() [all …]
|
H A D | file-item.h | 63 void btrfs_extent_item_to_extent_map(struct btrfs_inode *inode, 67 int btrfs_inode_clear_file_extent_range(struct btrfs_inode *inode, u64 start, 69 int btrfs_inode_set_file_extent_range(struct btrfs_inode *inode, u64 start, u64 len); 70 void btrfs_inode_safe_disk_i_size_write(struct btrfs_inode *inode, u64 new_i_size);
|
H A D | extent_map.h | 66 struct btrfs_inode; 93 int split_extent_map(struct btrfs_inode *inode, u64 start, u64 len, u64 pre, 107 void btrfs_drop_extent_map_range(struct btrfs_inode *inode, 110 int btrfs_replace_extent_map_range(struct btrfs_inode *inode,
|
H A D | verity.c | 109 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items() 188 int btrfs_drop_verity_items(struct btrfs_inode *inode) in btrfs_drop_verity_items() 217 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes() 297 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes() 426 static int del_orphan(struct btrfs_trans_handle *trans, struct btrfs_inode *inode) in del_orphan() 458 static int rollback_verity(struct btrfs_inode *inode) in rollback_verity() 524 static int finish_verity(struct btrfs_inode *inode, const void *desc, in finish_verity() 584 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_begin_enable_verity() 633 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_end_enable_verity()
|
H A D | verity.h | 10 int btrfs_drop_verity_items(struct btrfs_inode *inode); 15 static inline int btrfs_drop_verity_items(struct btrfs_inode *inode) in btrfs_drop_verity_items()
|
H A D | delayed-inode.c | 61 struct btrfs_inode *btrfs_inode) in btrfs_get_delayed_node() argument 63 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() 64 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_delayed_node() 67 node = READ_ONCE(btrfs_inode->delayed_node); in btrfs_get_delayed_node() 77 if (btrfs_inode->delayed_node) { in btrfs_get_delayed_node() 79 BUG_ON(btrfs_inode->delayed_node != node); in btrfs_get_delayed_node() 102 btrfs_inode->delayed_node = node; in btrfs_get_delayed_node() 117 struct btrfs_inode *btrfs_inode) in btrfs_get_or_create_delayed_node() argument 120 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_or_create_delayed_node() 121 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_or_create_delayed_node() [all …]
|
H A D | props.h | 16 int btrfs_validate_prop(const struct btrfs_inode *inode, const char *name, 18 bool btrfs_ignore_prop(const struct btrfs_inode *inode, const char *name);
|
H A D | qgroup.h | 373 int btrfs_qgroup_reserve_data(struct btrfs_inode *inode, 375 int btrfs_qgroup_release_data(struct btrfs_inode *inode, u64 start, u64 len, u64 *released); 376 int btrfs_qgroup_free_data(struct btrfs_inode *inode, 434 void btrfs_qgroup_check_reserved_leak(struct btrfs_inode *inode);
|
H A D | props.c | 25 int (*validate)(const struct btrfs_inode *inode, const char *value, 29 bool (*ignore)(const struct btrfs_inode *inode); 65 int btrfs_validate_prop(const struct btrfs_inode *inode, const char *name, in btrfs_validate_prop() 95 bool btrfs_ignore_prop(const struct btrfs_inode *inode, const char *name) in btrfs_ignore_prop() 282 static int prop_compression_validate(const struct btrfs_inode *inode, in prop_compression_validate() 344 static bool prop_compression_ignore(const struct btrfs_inode *inode) in prop_compression_ignore()
|
H A D | inode.c | 126 static int btrfs_truncate(struct btrfs_inode *inode, bool skip_writeback); 128 static noinline int run_delalloc_cow(struct btrfs_inode *inode, 132 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start, 226 static void print_data_reloc_error(const struct btrfs_inode *inode, u64 file_off, in print_data_reloc_error() 319 static void __cold btrfs_print_data_csum_error(struct btrfs_inode *inode, in btrfs_print_data_csum_error() 360 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_lock() 390 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_unlock() 410 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents() 473 static int btrfs_dirty_inode(struct btrfs_inode *inode); 504 struct btrfs_inode *inode, bool extent_inserted, in insert_inline_extent() [all …]
|
H A D | inode-item.h | 13 struct btrfs_inode; 27 struct btrfs_inode *inode;
|
H A D | tree-log.c | 107 struct btrfs_inode *inode, 919 struct btrfs_inode *dir, in unlink_inode_for_log_replay() 920 struct btrfs_inode *inode, in unlink_inode_for_log_replay() 947 struct btrfs_inode *dir, in drop_one_dir_item() 1073 struct btrfs_inode *dir, in __add_inode_ref() 1074 struct btrfs_inode *inode, in __add_inode_ref() 1285 struct btrfs_inode *inode, in unlink_old_inode_refs() 1506 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_extrefs() 1550 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_refs() 1799 struct btrfs_inode *dir, in delete_conflicting_dir_entry() [all …]
|
H A D | extent_io.h | 66 struct btrfs_inode; 195 int extent_fiemap(struct btrfs_inode *inode, struct fiemap_extent_info *fieinfo, 289 void extent_clear_unlock_delalloc(struct btrfs_inode *inode, u64 start, u64 end,
|
H A D | defrag.c | 73 static int __btrfs_add_inode_defrag(struct btrfs_inode *inode, in __btrfs_add_inode_defrag() 126 struct btrfs_inode *inode, u32 extent_thresh) in btrfs_add_inode_defrag() 482 static struct extent_map *defrag_get_extent(struct btrfs_inode *inode, in defrag_get_extent() 720 static struct page *defrag_prepare_one_page(struct btrfs_inode *inode, pgoff_t index) in defrag_prepare_one_page() 823 static int defrag_collect_targets(struct btrfs_inode *inode, in defrag_collect_targets() 1020 static int defrag_one_locked_target(struct btrfs_inode *inode, in defrag_one_locked_target() 1057 static int defrag_one_range(struct btrfs_inode *inode, u64 start, u32 len, in defrag_one_range() 1135 static int defrag_one_cluster(struct btrfs_inode *inode, in defrag_one_cluster()
|
H A D | defrag.h | 12 struct btrfs_inode *inode, u32 extent_thresh);
|
H A D | file.c | 127 int btrfs_dirty_pages(struct btrfs_inode *inode, struct page **pages, in btrfs_dirty_pages() 201 struct btrfs_root *root, struct btrfs_inode *inode, in btrfs_drop_extents() 595 struct btrfs_inode *inode, u64 start, u64 end) in btrfs_mark_extent_written() 976 lock_and_cleanup_extent_if_need(struct btrfs_inode *inode, struct page **pages, in lock_and_cleanup_extent_if_need() 1061 int btrfs_check_nocow_lock(struct btrfs_inode *inode, loff_t pos, in btrfs_check_nocow_lock() 1104 void btrfs_check_nocow_unlock(struct btrfs_inode *inode) in btrfs_check_nocow_unlock() 1668 struct btrfs_inode *inode = BTRFS_I(file_inode(file)); in btrfs_do_write_iter() 1752 struct btrfs_inode *inode = BTRFS_I(ctx->inode); in skip_inode_logging() 2060 static int hole_mergeable(struct btrfs_inode *inode, struct extent_buffer *leaf, in hole_mergeable() 2090 struct btrfs_inode *inode, in fill_holes() [all …]
|
H A D | bio.h | 37 struct btrfs_inode *inode;
|
/openbmc/linux/include/trace/events/ |
H A D | btrfs.h | 14 struct btrfs_inode; 285 TP_PROTO(const struct btrfs_root *root, const struct btrfs_inode *inode, 373 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 428 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 469 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 478 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 487 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 496 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 517 TP_PROTO(const struct btrfs_inode *inode, 569 TP_PROTO(const struct btrfs_inode *inode, [all …]
|