Home
last modified time | relevance | path

Searched refs:btrfs_inode (Results 1 – 25 of 30) sorted by relevance

12

/linux/fs/btrfs/
A Dordered-data.h172 void btrfs_remove_ordered_extent(struct btrfs_inode *btrfs_inode,
174 void btrfs_mark_ordered_io_finished(struct btrfs_inode *inode,
178 bool btrfs_dec_test_ordered_pending(struct btrfs_inode *inode,
181 int btrfs_add_ordered_extent(struct btrfs_inode *inode, u64 file_offset,
184 int btrfs_add_ordered_extent_dio(struct btrfs_inode *inode, u64 file_offset,
187 int btrfs_add_ordered_extent_compress(struct btrfs_inode *inode, u64 file_offset,
197 btrfs_lookup_first_ordered_extent(struct btrfs_inode *inode, u64 file_offset);
199 struct btrfs_inode *inode, u64 file_offset, u64 len);
201 struct btrfs_inode *inode,
204 void btrfs_get_ordered_extents_for_logging(struct btrfs_inode *inode,
[all …]
A Ddelayed-inode.h90 struct btrfs_inode *dir,
95 struct btrfs_inode *dir, u64 index);
97 int btrfs_inode_delayed_dir_index_count(struct btrfs_inode *inode);
105 struct btrfs_inode *inode);
107 void btrfs_remove_delayed_node(struct btrfs_inode *inode);
108 void btrfs_kill_delayed_inode_items(struct btrfs_inode *inode);
109 int btrfs_commit_inode_delayed_inode(struct btrfs_inode *inode);
114 struct btrfs_inode *inode);
116 int btrfs_delayed_delete_inode_ref(struct btrfs_inode *inode);
A Dbtrfs_inode.h64 struct btrfs_inode { struct
253 static inline u32 btrfs_inode_sectorsize(const struct btrfs_inode *inode) in btrfs_inode_sectorsize() argument
258 static inline struct btrfs_inode *BTRFS_I(const struct inode *inode) in BTRFS_I()
260 return container_of(inode, struct btrfs_inode, vfs_inode); in BTRFS_I()
282 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino()
295 static inline void btrfs_i_size_write(struct btrfs_inode *inode, u64 size) in btrfs_i_size_write()
301 static inline bool btrfs_is_free_space_inode(struct btrfs_inode *inode) in btrfs_is_free_space_inode()
318 static inline void btrfs_mod_outstanding_extents(struct btrfs_inode *inode, in btrfs_mod_outstanding_extents()
337 static inline void btrfs_set_inode_last_sub_trans(struct btrfs_inode *inode) in btrfs_set_inode_last_sub_trans()
344 static inline bool btrfs_inode_in_log(struct btrfs_inode *inode, u64 generation) in btrfs_inode_in_log()
[all …]
A Ddelalloc-space.h8 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes);
9 int btrfs_check_data_free_space(struct btrfs_inode *inode,
11 void btrfs_free_reserved_data_space(struct btrfs_inode *inode,
13 void btrfs_delalloc_release_space(struct btrfs_inode *inode,
18 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
20 int btrfs_delalloc_reserve_space(struct btrfs_inode *inode,
A Dtree-log.h76 struct btrfs_inode *dir, u64 index);
80 struct btrfs_inode *inode, u64 dirid);
84 struct btrfs_inode *dir, struct btrfs_inode *inode,
87 struct btrfs_inode *dir);
89 struct btrfs_inode *inode, struct btrfs_inode *old_dir,
A Ddelalloc-space.c114 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes) in btrfs_alloc_data_chunk_ondemand()
129 int btrfs_check_data_free_space(struct btrfs_inode *inode, in btrfs_check_data_free_space()
182 void btrfs_free_reserved_data_space(struct btrfs_inode *inode, in btrfs_free_reserved_data_space()
209 static void btrfs_inode_rsv_release(struct btrfs_inode *inode, bool qgroup_free) in btrfs_inode_rsv_release()
234 struct btrfs_inode *inode) in btrfs_calculate_inode_block_rsv_size()
291 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_reserve_metadata()
379 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_release_metadata()
407 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_release_extents()
449 int btrfs_delalloc_reserve_space(struct btrfs_inode *inode, in btrfs_delalloc_reserve_space()
480 void btrfs_delalloc_release_space(struct btrfs_inode *inode, in btrfs_delalloc_release_space()
A Dordered-data.c316 void btrfs_mark_ordered_io_finished(struct btrfs_inode *inode, in btrfs_mark_ordered_io_finished()
538 void btrfs_remove_ordered_extent(struct btrfs_inode *btrfs_inode, in btrfs_remove_ordered_extent() argument
542 struct btrfs_root *root = btrfs_inode->root; in btrfs_remove_ordered_extent()
548 spin_lock(&btrfs_inode->lock); in btrfs_remove_ordered_extent()
549 btrfs_mod_outstanding_extents(btrfs_inode, -1); in btrfs_remove_ordered_extent()
550 spin_unlock(&btrfs_inode->lock); in btrfs_remove_ordered_extent()
558 tree = &btrfs_inode->ordered_tree; in btrfs_remove_ordered_extent()
600 trace_btrfs_ordered_extent_remove(btrfs_inode, entry); in btrfs_remove_ordered_extent()
727 struct btrfs_inode *inode = BTRFS_I(entry->inode); in btrfs_start_ordered_extent()
841 struct btrfs_inode *inode, u64 file_offset, u64 len) in btrfs_lookup_ordered_range()
[all …]
A Dverity.c103 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items()
182 int btrfs_drop_verity_items(struct btrfs_inode *inode) in btrfs_drop_verity_items()
211 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes()
291 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes()
420 static int del_orphan(struct btrfs_trans_handle *trans, struct btrfs_inode *inode) in del_orphan()
452 static int rollback_verity(struct btrfs_inode *inode) in rollback_verity()
518 static int finish_verity(struct btrfs_inode *inode, const void *desc, in finish_verity()
578 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_begin_enable_verity()
627 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_end_enable_verity()
A Ddelayed-inode.c67 struct btrfs_inode *btrfs_inode) in btrfs_get_delayed_node() argument
69 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node()
70 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_delayed_node()
83 if (btrfs_inode->delayed_node) { in btrfs_get_delayed_node()
108 btrfs_inode->delayed_node = node; in btrfs_get_delayed_node()
123 struct btrfs_inode *btrfs_inode) in btrfs_get_or_create_delayed_node() argument
127 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_or_create_delayed_node()
157 btrfs_inode->delayed_node = node; in btrfs_get_or_create_delayed_node()
1119 struct btrfs_inode *inode) in btrfs_commit_inode_delayed_items()
1352 struct btrfs_inode *dir, in btrfs_insert_delayed_dir_index()
[all …]
A Dqgroup.h358 int btrfs_qgroup_reserve_data(struct btrfs_inode *inode,
360 int btrfs_qgroup_release_data(struct btrfs_inode *inode, u64 start, u64 len);
361 int btrfs_qgroup_free_data(struct btrfs_inode *inode,
415 void btrfs_qgroup_check_reserved_leak(struct btrfs_inode *inode);
A Dctree.h3079 int name_len, struct btrfs_inode *dir,
3199 struct btrfs_inode *inode);
3203 struct btrfs_inode *dir, struct btrfs_inode *inode,
3206 struct btrfs_inode *parent_inode, struct btrfs_inode *inode,
3213 struct btrfs_inode *inode, u64 new_size,
3254 struct btrfs_root *root, struct btrfs_inode *inode);
3256 struct btrfs_inode *inode);
3287 void btrfs_update_inode_bytes(struct btrfs_inode *inode,
3318 struct btrfs_inode *inode);
3334 struct btrfs_inode *inode, u64 start, u64 end);
[all …]
A Dextent_io.h68 struct btrfs_inode;
174 typedef struct extent_map *(get_extent_t)(struct btrfs_inode *inode,
193 int extent_fiemap(struct btrfs_inode *inode, struct fiemap_extent_info *fieinfo,
277 void extent_clear_unlock_delalloc(struct btrfs_inode *inode, u64 start, u64 end,
A Dinode.c2153 struct btrfs_inode *inode) in __btrfs_del_delalloc_inode()
2682 struct btrfs_inode *inode; in btrfs_writepage_fixup_worker()
3406 struct btrfs_inode *inode; in btrfs_run_delayed_iputs()
4061 struct btrfs_inode *dir, in __btrfs_unlink_inode()
4155 struct btrfs_inode *dir, struct btrfs_inode *inode, in btrfs_unlink_inode()
4379 struct btrfs_inode *entry; in btrfs_prune_dentries()
5787 struct btrfs_inode *entry; in inode_tree_add()
6617 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link()
9085 struct btrfs_inode *ei; in btrfs_alloc_inode()
9219 struct btrfs_inode *ei = (struct btrfs_inode *) foo; in init_once()
[all …]
A Dtree-log.c97 struct btrfs_inode *inode,
1061 struct btrfs_inode *dir, in __add_inode_ref()
1062 struct btrfs_inode *inode, in __add_inode_ref()
1299 struct btrfs_inode *inode, in unlink_old_inode_refs()
3480 struct btrfs_inode *inode) in inode_logged()
3866 struct btrfs_inode *inode, in log_dir_items()
4028 struct btrfs_inode *inode, in log_directory_changes()
4147 struct btrfs_inode *inode, in truncate_inode_items()
4946 struct btrfs_inode *inode, in btrfs_log_all_xattrs()
6698 struct btrfs_inode *dir, struct btrfs_inode *inode, in btrfs_record_unlink_dir()
[all …]
A Dcompression.h11 struct btrfs_inode;
92 blk_status_t btrfs_submit_compressed_write(struct btrfs_inode *inode, u64 start,
A Dfile.c84 static int __btrfs_add_inode_defrag(struct btrfs_inode *inode, in __btrfs_add_inode_defrag()
137 struct btrfs_inode *inode) in btrfs_add_inode_defrag()
186 static void btrfs_requeue_inode_defrag(struct btrfs_inode *inode, in btrfs_requeue_inode_defrag()
697 struct btrfs_root *root, struct btrfs_inode *inode, in btrfs_drop_extents()
1087 struct btrfs_inode *inode, u64 start, u64 end) in btrfs_mark_extent_written()
1578 void btrfs_check_nocow_unlock(struct btrfs_inode *inode) in btrfs_check_nocow_unlock()
2073 struct btrfs_inode *inode = BTRFS_I(file_inode(file)); in btrfs_file_write_iter()
2152 struct btrfs_inode *inode = BTRFS_I(ctx->inode); in skip_inode_logging()
2430 struct btrfs_inode *inode, in fill_holes()
2615 struct btrfs_inode *inode, in btrfs_insert_replace_extent()
[all …]
A Dzoned.h58 bool btrfs_use_zone_append(struct btrfs_inode *inode, u64 start);
168 static inline bool btrfs_use_zone_append(struct btrfs_inode *inode, u64 start) in btrfs_use_zone_append()
A Dfile-item.c44 void btrfs_inode_safe_disk_i_size_write(struct btrfs_inode *inode, u64 new_i_size) in btrfs_inode_safe_disk_i_size_write()
81 int btrfs_inode_set_file_extent_range(struct btrfs_inode *inode, u64 start, in btrfs_inode_set_file_extent_range()
109 int btrfs_inode_clear_file_extent_range(struct btrfs_inode *inode, u64 start, in btrfs_inode_clear_file_extent_range()
622 blk_status_t btrfs_csum_one_bio(struct btrfs_inode *inode, struct bio *bio, in btrfs_csum_one_bio()
1191 void btrfs_extent_item_to_extent_map(struct btrfs_inode *inode, in btrfs_extent_item_to_extent_map()
A Dtransaction.h170 struct btrfs_inode *inode) in btrfs_set_inode_last_trans()
A Dextent_io.c2797 struct btrfs_inode *inode; in end_extent_writepage()
2877 struct btrfs_inode *inode;
2897 struct btrfs_inode *inode, u64 start, u64 end, in endio_readpage_release_extent()
3251 struct btrfs_inode *inode, u64 file_offset) in calc_bio_boundaries()
3305 static int alloc_new_bio(struct btrfs_inode *inode, in alloc_new_bio()
3387 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in submit_extent_page()
3759 struct btrfs_inode *inode = BTRFS_I(pages[0]->mapping->host); in contiguous_readpages()
5322 struct btrfs_inode *btrfs_inode = BTRFS_I(page->mapping->host); in try_release_extent_mapping() local
5323 struct extent_io_tree *tree = &btrfs_inode->io_tree; in try_release_extent_mapping()
5324 struct extent_map_tree *map = &btrfs_inode->extent_tree; in try_release_extent_mapping()
[all …]
A Dqgroup.c3487 static int qgroup_unreserve_range(struct btrfs_inode *inode, in qgroup_unreserve_range()
3604 static int qgroup_reserve_data(struct btrfs_inode *inode, in qgroup_reserve_data()
3668 int btrfs_qgroup_reserve_data(struct btrfs_inode *inode, in btrfs_qgroup_reserve_data()
3685 static int qgroup_free_reserved_data(struct btrfs_inode *inode, in qgroup_free_reserved_data()
3739 static int __btrfs_qgroup_release_data(struct btrfs_inode *inode, in __btrfs_qgroup_release_data()
3786 int btrfs_qgroup_free_data(struct btrfs_inode *inode, in btrfs_qgroup_free_data()
3807 int btrfs_qgroup_release_data(struct btrfs_inode *inode, u64 start, u64 len) in btrfs_qgroup_release_data()
3993 void btrfs_qgroup_check_reserved_leak(struct btrfs_inode *inode) in btrfs_qgroup_check_reserved_leak()
A Dextent-io-tree.h257 void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start,
A Dioctl.c109 static unsigned int btrfs_inode_flags_to_fsflags(struct btrfs_inode *binode) in btrfs_inode_flags_to_fsflags()
145 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_sync_inode_flags_to_i_flags()
210 struct btrfs_inode *binode = BTRFS_I(d_inode(dentry)); in btrfs_fileattr_get()
221 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_fileattr_set()
1059 static struct page *defrag_prepare_one_page(struct btrfs_inode *inode, in defrag_prepare_one_page()
1163 static int defrag_collect_targets(struct btrfs_inode *inode, in defrag_collect_targets()
1283 static int defrag_one_locked_target(struct btrfs_inode *inode, in defrag_one_locked_target()
1319 static int defrag_one_range(struct btrfs_inode *inode, u64 start, u32 len, in defrag_one_range()
1396 static int defrag_one_cluster(struct btrfs_inode *inode, in defrag_one_cluster()
A Ddir-item.c109 int name_len, struct btrfs_inode *dir, in btrfs_insert_dir_item()
/linux/include/trace/events/
A Dbtrfs.h14 struct btrfs_inode;
372 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
427 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
468 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
477 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l,
516 TP_PROTO(const struct btrfs_inode *inode,
568 TP_PROTO(const struct btrfs_inode *inode,
576 TP_PROTO(const struct btrfs_inode *inode,
584 TP_PROTO(const struct btrfs_inode *inode,
592 TP_PROTO(const struct btrfs_inode *inode,
[all …]

Completed in 108 milliseconds

12