Searched refs:btrfs_inode (Results 1 - 25 of 48) sorted by relevance

12

/linux-master/fs/btrfs/
H A Ddelalloc-space.h9 struct btrfs_inode;
12 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes);
13 int btrfs_check_data_free_space(struct btrfs_inode *inode,
16 void btrfs_free_reserved_data_space(struct btrfs_inode *inode,
18 void btrfs_delalloc_release_space(struct btrfs_inode *inode,
23 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
25 int btrfs_delalloc_reserve_space(struct btrfs_inode *inode,
27 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes,
29 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes);
H A Dverity.h7 struct btrfs_inode;
15 int btrfs_drop_verity_items(struct btrfs_inode *inode);
22 static inline int btrfs_drop_verity_items(struct btrfs_inode *inode)
H A Dfile.h15 struct btrfs_inode;
25 struct btrfs_root *root, struct btrfs_inode *inode,
27 int btrfs_replace_file_extents(struct btrfs_inode *inode,
33 struct btrfs_inode *inode, u64 start, u64 end);
37 int btrfs_dirty_pages(struct btrfs_inode *inode, struct page **pages,
41 int btrfs_check_nocow_lock(struct btrfs_inode *inode, loff_t pos,
43 void btrfs_check_nocow_unlock(struct btrfs_inode *inode);
44 bool btrfs_find_delalloc_in_range(struct btrfs_inode *inode, u64 start, u64 end,
H A Ddelayed-inode.h23 struct btrfs_inode;
112 struct btrfs_inode *dir,
117 struct btrfs_inode *dir, u64 index);
119 int btrfs_inode_delayed_dir_index_count(struct btrfs_inode *inode);
127 struct btrfs_inode *inode);
129 void btrfs_remove_delayed_node(struct btrfs_inode *inode);
130 void btrfs_kill_delayed_inode_items(struct btrfs_inode *inode);
131 int btrfs_commit_inode_delayed_inode(struct btrfs_inode *inode);
135 struct btrfs_inode *inode);
137 int btrfs_delayed_delete_inode_ref(struct btrfs_inode *inod
[all...]
H A Dprops.h12 struct btrfs_inode;
21 int btrfs_validate_prop(const struct btrfs_inode *inode, const char *name,
23 bool btrfs_ignore_prop(const struct btrfs_inode *inode, const char *name);
H A Dbtrfs_inode.h22 #include "btrfs_inode.h"
95 struct btrfs_inode { struct
288 static inline u64 btrfs_get_first_dir_index_to_log(const struct btrfs_inode *inode)
293 static inline void btrfs_set_first_dir_index_to_log(struct btrfs_inode *inode,
299 static inline struct btrfs_inode *BTRFS_I(const struct inode *inode)
301 return container_of(inode, struct btrfs_inode, vfs_inode);
322 static inline u64 btrfs_ino(const struct btrfs_inode *inode)
334 static inline u64 btrfs_ino(const struct btrfs_inode *inode)
341 static inline void btrfs_i_size_write(struct btrfs_inode *inode, u64 size)
347 static inline bool btrfs_is_free_space_inode(struct btrfs_inode *inod
[all...]
H A Dordered-data.h20 struct btrfs_inode;
163 void btrfs_remove_ordered_extent(struct btrfs_inode *btrfs_inode,
168 void btrfs_mark_ordered_io_finished(struct btrfs_inode *inode,
171 bool btrfs_dec_test_ordered_pending(struct btrfs_inode *inode,
175 struct btrfs_inode *inode, u64 file_offset,
181 struct btrfs_ordered_extent *btrfs_lookup_ordered_extent(struct btrfs_inode *inode,
186 btrfs_lookup_first_ordered_extent(struct btrfs_inode *inode, u64 file_offset);
188 struct btrfs_inode *inode, u64 file_offset, u64 len);
190 struct btrfs_inode *inod
[all...]
H A Dtree-log.h85 struct btrfs_inode *dir, u64 index);
89 struct btrfs_inode *inode, u64 dirid);
93 struct btrfs_inode *dir, struct btrfs_inode *inode,
96 struct btrfs_inode *dir);
98 struct dentry *old_dentry, struct btrfs_inode *old_dir,
H A Dfile-item.h19 struct btrfs_inode;
76 void btrfs_extent_item_to_extent_map(struct btrfs_inode *inode,
80 int btrfs_inode_clear_file_extent_range(struct btrfs_inode *inode, u64 start,
82 int btrfs_inode_set_file_extent_range(struct btrfs_inode *inode, u64 start, u64 len);
83 void btrfs_inode_safe_disk_i_size_write(struct btrfs_inode *inode, u64 new_i_size);
H A Dextent_map.h15 struct btrfs_inode;
74 struct btrfs_inode;
128 int split_extent_map(struct btrfs_inode *inode, u64 start, u64 len, u64 pre,
135 int unpin_extent_cache(struct btrfs_inode *inode, u64 start, u64 len, u64 gen);
142 void btrfs_drop_extent_map_range(struct btrfs_inode *inode,
145 int btrfs_replace_extent_map_range(struct btrfs_inode *inode,
H A Ddefrag.h22 struct btrfs_inode *inode, u32 extent_thresh);
H A Ddelalloc-space.c7 #include "btrfs_inode.h"
114 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes)
129 int btrfs_check_data_free_space(struct btrfs_inode *inode,
189 void btrfs_free_reserved_data_space(struct btrfs_inode *inode,
216 static void btrfs_inode_rsv_release(struct btrfs_inode *inode, bool qgroup_free)
241 struct btrfs_inode *inode)
280 static void calc_inode_reservations(struct btrfs_inode *inode,
305 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes,
395 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
425 void btrfs_delalloc_release_extents(struct btrfs_inode *inod
[all...]
H A Dordered-data.c14 #include "btrfs_inode.h"
126 static inline struct rb_node *ordered_tree_search(struct btrfs_inode *inode,
148 struct btrfs_inode *inode, u64 file_offset, u64 num_bytes,
210 struct btrfs_inode *inode = BTRFS_I(entry->inode);
265 struct btrfs_inode *inode, u64 file_offset,
290 struct btrfs_inode *inode = BTRFS_I(entry->inode);
309 struct btrfs_inode *inode = BTRFS_I(ordered->inode);
362 struct btrfs_inode *inode = BTRFS_I(ordered->inode);
375 struct btrfs_inode *inode = BTRFS_I(ordered->inode);
403 void btrfs_mark_ordered_io_finished(struct btrfs_inode *inod
576 btrfs_remove_ordered_extent(struct btrfs_inode *btrfs_inode, struct btrfs_ordered_extent *entry) argument
[all...]
H A Dbio.h17 struct btrfs_inode;
39 struct btrfs_inode *inode;
H A Dinode-item.h16 struct btrfs_inode;
30 struct btrfs_inode *inode;
67 * btrfs_inode_item stores flags in a u64, btrfs_inode stores them in two
H A Dverity.c15 #include "btrfs_inode.h"
108 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type)
187 int btrfs_drop_verity_items(struct btrfs_inode *inode)
216 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset,
296 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset,
425 static int del_orphan(struct btrfs_trans_handle *trans, struct btrfs_inode *inode)
457 static int rollback_verity(struct btrfs_inode *inode)
523 static int finish_verity(struct btrfs_inode *inode, const void *desc,
583 struct btrfs_inode *inode = BTRFS_I(file_inode(filp));
632 struct btrfs_inode *inod
[all...]
H A Dqgroup.h24 struct btrfs_inode;
369 int btrfs_qgroup_reserve_data(struct btrfs_inode *inode,
371 int btrfs_qgroup_release_data(struct btrfs_inode *inode, u64 start, u64 len, u64 *released);
372 int btrfs_qgroup_free_data(struct btrfs_inode *inode,
418 void btrfs_qgroup_check_reserved_leak(struct btrfs_inode *inode);
H A Dextent-io-tree.h15 struct btrfs_inode;
106 struct btrfs_inode *inode;
130 struct btrfs_inode *extent_io_tree_to_inode(struct extent_io_tree *tree);
131 const struct btrfs_inode *extent_io_tree_to_inode_const(const struct extent_io_tree *tree);
H A Ddir-item.h19 const struct fscrypt_str *name, struct btrfs_inode *dir,
H A Ddelayed-inode.c68 struct btrfs_inode *btrfs_inode)
70 struct btrfs_root *root = btrfs_inode->root;
71 u64 ino = btrfs_ino(btrfs_inode);
74 node = READ_ONCE(btrfs_inode->delayed_node);
84 if (btrfs_inode->delayed_node) {
86 BUG_ON(btrfs_inode->delayed_node != node);
109 btrfs_inode->delayed_node = node;
124 struct btrfs_inode *btrfs_inode)
67 btrfs_get_delayed_node( struct btrfs_inode *btrfs_inode) argument
123 btrfs_get_or_create_delayed_node( struct btrfs_inode *btrfs_inode) argument
[all...]
H A Dprops.c10 #include "btrfs_inode.h"
27 int (*validate)(const struct btrfs_inode *inode, const char *value,
31 bool (*ignore)(const struct btrfs_inode *inode);
67 int btrfs_validate_prop(const struct btrfs_inode *inode, const char *name,
97 bool btrfs_ignore_prop(const struct btrfs_inode *inode, const char *name)
284 static int prop_compression_validate(const struct btrfs_inode *inode,
346 static bool prop_compression_ignore(const struct btrfs_inode *inode)
H A Dextent_io.h32 struct btrfs_inode;
245 int extent_fiemap(struct btrfs_inode *inode, struct fiemap_extent_info *fieinfo,
354 void extent_clear_unlock_delalloc(struct btrfs_inode *inode, u64 start, u64 end,
H A Dinode.c41 #include "btrfs_inode.h"
134 static int btrfs_truncate(struct btrfs_inode *inode, bool skip_writeback);
136 static noinline int run_delalloc_cow(struct btrfs_inode *inode,
140 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start,
234 static void print_data_reloc_error(const struct btrfs_inode *inode, u64 file_off,
327 static void __cold btrfs_print_data_csum_error(struct btrfs_inode *inode,
368 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags)
398 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags)
418 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode,
481 static int btrfs_dirty_inode(struct btrfs_inode *inod
7878 struct btrfs_inode *btrfs_inode = BTRFS_I(inode); local
[all...]
H A Dtree-log.c105 struct btrfs_inode *inode,
898 struct btrfs_inode *dir,
899 struct btrfs_inode *inode,
926 struct btrfs_inode *dir,
1052 struct btrfs_inode *dir,
1053 struct btrfs_inode *inode,
1264 struct btrfs_inode *inode,
1484 static int count_inode_extrefs(struct btrfs_inode *inode, struct btrfs_path *path)
1527 static int count_inode_refs(struct btrfs_inode *inode, struct btrfs_path *path)
1776 struct btrfs_inode *di
[all...]
/linux-master/include/trace/events/
H A Dbtrfs.h14 struct btrfs_inode;
285 TP_PROTO(const struct btrfs_root *root, const struct btrfs_inode *inode,
370 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
425 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
466 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
475 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
484 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
493 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
514 TP_PROTO(const struct btrfs_inode *inode,
566 TP_PROTO(const struct btrfs_inode *inod
[all...]

Completed in 164 milliseconds

12