Searched refs:btrfs_inode (Results 1 - 25 of 48) sorted by last modified time

12

/linux-master/fs/btrfs/
H A Dqgroup.c3984 static int qgroup_unreserve_range(struct btrfs_inode *inode,
4103 static int qgroup_reserve_data(struct btrfs_inode *inode,
4167 int btrfs_qgroup_reserve_data(struct btrfs_inode *inode,
4184 static int qgroup_free_reserved_data(struct btrfs_inode *inode,
4241 static int __btrfs_qgroup_release_data(struct btrfs_inode *inode,
4293 int btrfs_qgroup_free_data(struct btrfs_inode *inode,
4315 int btrfs_qgroup_release_data(struct btrfs_inode *inode, u64 start, u64 len, u64 *released)
4503 void btrfs_qgroup_check_reserved_leak(struct btrfs_inode *inode)
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 Dioctl.c36 #include "btrfs_inode.h"
135 static unsigned int btrfs_inode_flags_to_fsflags(struct btrfs_inode *binode)
171 struct btrfs_inode *binode = BTRFS_I(inode);
250 struct btrfs_inode *binode = BTRFS_I(d_inode(dentry));
261 struct btrfs_inode *binode = BTRFS_I(inode);
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 Dextent_map.c10 #include "btrfs_inode.h"
297 int unpin_extent_cache(struct btrfs_inode *inode, u64 start, u64 len, u64 gen)
684 void btrfs_drop_extent_map_range(struct btrfs_inode *inode, u64 start, u64 end,
909 int btrfs_replace_extent_map_range(struct btrfs_inode *inode,
943 int split_extent_map(struct btrfs_inode *inode, u64 start, u64 len, u64 pre,
H A Dbackref.c1853 int btrfs_is_data_extent_shared(struct btrfs_inode *inode, u64 bytenr,
H A Dextent_io.c21 #include "btrfs_inode.h"
414 void extent_clear_unlock_delalloc(struct btrfs_inode *inode, u64 start, u64 end,
506 struct btrfs_inode *inode;
526 struct btrfs_inode *inode, u64 start, u64 end,
757 static void alloc_new_bio(struct btrfs_inode *inode,
811 struct btrfs_inode *inode = page_to_inode(page);
1145 struct btrfs_inode *inode = page_to_inode(page);
1171 struct btrfs_inode *inode = page_to_inode(pages[0]);
1195 static noinline_for_stack int writepage_delalloc(struct btrfs_inode *inode,
1310 static noinline_for_stack int __extent_writepage_io(struct btrfs_inode *inod
2371 struct btrfs_inode *btrfs_inode = page_to_inode(page); local
[all...]
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 Dzoned.c1714 struct btrfs_inode *inode = bbio->inode;
1797 struct btrfs_inode *inode = BTRFS_I(ordered->inode);
H A Dzoned.h17 #include "btrfs_inode.h"
392 static inline void btrfs_zoned_data_reloc_lock(struct btrfs_inode *inode)
400 static inline void btrfs_zoned_data_reloc_unlock(struct btrfs_inode *inode)
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 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 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 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...]
H A Dtransaction.h15 #include "btrfs_inode.h"
192 struct btrfs_inode *inode)
H A Drelocation.c18 #include "btrfs_inode.h"
962 struct btrfs_inode *entry;
971 entry = rb_entry(node, struct btrfs_inode, rb_node);
982 entry = rb_entry(prev, struct btrfs_inode, rb_node);
991 entry = rb_entry(node, struct btrfs_inode, rb_node);
2832 struct btrfs_inode *inode,
4433 struct btrfs_inode *inode = BTRFS_I(ordered->inode);
H A Dreflink.c56 static int copy_inline_to_page(struct btrfs_inode *inode,
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 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 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 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 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 Dinode-item.c426 static inline void btrfs_trace_truncate(struct btrfs_inode *inode,
H A Dfree-space-cache.c309 struct btrfs_inode *inode = BTRFS_I(vfs_inode);
H A Dfile.c24 #include "btrfs_inode.h"
126 int btrfs_dirty_pages(struct btrfs_inode *inode, struct page **pages,
203 struct btrfs_root *root, struct btrfs_inode *inode,
599 struct btrfs_inode *inode, u64 start, u64 end)
980 lock_and_cleanup_extent_if_need(struct btrfs_inode *inode, struct page **pages,
1065 int btrfs_check_nocow_lock(struct btrfs_inode *inode, loff_t pos,
1108 void btrfs_check_nocow_unlock(struct btrfs_inode *inode)
1667 struct btrfs_inode *inode = BTRFS_I(file_inode(file));
1751 struct btrfs_inode *inode = BTRFS_I(ctx->inode);
2051 static int hole_mergeable(struct btrfs_inode *inod
[all...]

Completed in 299 milliseconds

12