aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index d9bed5fd3347..4272fbb08732 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3044,8 +3044,6 @@ struct btrfs_block_group_cache *btrfs_lookup_block_group(
3044 struct btrfs_fs_info *info, 3044 struct btrfs_fs_info *info,
3045 u64 bytenr); 3045 u64 bytenr);
3046void btrfs_put_block_group(struct btrfs_block_group_cache *cache); 3046void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
3047u64 btrfs_find_block_group(struct btrfs_root *root,
3048 u64 search_start, u64 search_hint, int owner);
3049struct extent_buffer *btrfs_alloc_free_block(struct btrfs_trans_handle *trans, 3047struct extent_buffer *btrfs_alloc_free_block(struct btrfs_trans_handle *trans,
3050 struct btrfs_root *root, u32 blocksize, 3048 struct btrfs_root *root, u32 blocksize,
3051 u64 parent, u64 root_objectid, 3049 u64 parent, u64 root_objectid,
@@ -3055,10 +3053,6 @@ void btrfs_free_tree_block(struct btrfs_trans_handle *trans,
3055 struct btrfs_root *root, 3053 struct btrfs_root *root,
3056 struct extent_buffer *buf, 3054 struct extent_buffer *buf,
3057 u64 parent, int last_ref); 3055 u64 parent, int last_ref);
3058struct extent_buffer *btrfs_init_new_buffer(struct btrfs_trans_handle *trans,
3059 struct btrfs_root *root,
3060 u64 bytenr, u32 blocksize,
3061 int level);
3062int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans, 3056int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans,
3063 struct btrfs_root *root, 3057 struct btrfs_root *root,
3064 u64 root_objectid, u64 owner, 3058 u64 root_objectid, u64 owner,
@@ -3111,7 +3105,6 @@ int btrfs_remove_block_group(struct btrfs_trans_handle *trans,
3111 struct btrfs_root *root, u64 group_start); 3105 struct btrfs_root *root, u64 group_start);
3112void btrfs_create_pending_block_groups(struct btrfs_trans_handle *trans, 3106void btrfs_create_pending_block_groups(struct btrfs_trans_handle *trans,
3113 struct btrfs_root *root); 3107 struct btrfs_root *root);
3114u64 btrfs_reduce_alloc_profile(struct btrfs_root *root, u64 flags);
3115u64 btrfs_get_alloc_profile(struct btrfs_root *root, int data); 3108u64 btrfs_get_alloc_profile(struct btrfs_root *root, int data);
3116void btrfs_clear_space_info_full(struct btrfs_fs_info *info); 3109void btrfs_clear_space_info_full(struct btrfs_fs_info *info);
3117 3110
@@ -3300,7 +3293,6 @@ static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p)
3300{ 3293{
3301 return btrfs_next_old_item(root, p, 0); 3294 return btrfs_next_old_item(root, p, 0);
3302} 3295}
3303int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path);
3304int btrfs_leaf_free_space(struct btrfs_root *root, struct extent_buffer *leaf); 3296int btrfs_leaf_free_space(struct btrfs_root *root, struct extent_buffer *leaf);
3305int __must_check btrfs_drop_snapshot(struct btrfs_root *root, 3297int __must_check btrfs_drop_snapshot(struct btrfs_root *root,
3306 struct btrfs_block_rsv *block_rsv, 3298 struct btrfs_block_rsv *block_rsv,
@@ -3395,9 +3387,6 @@ struct btrfs_dir_item *
3395btrfs_search_dir_index_item(struct btrfs_root *root, 3387btrfs_search_dir_index_item(struct btrfs_root *root,
3396 struct btrfs_path *path, u64 dirid, 3388 struct btrfs_path *path, u64 dirid,
3397 const char *name, int name_len); 3389 const char *name, int name_len);
3398struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root,
3399 struct btrfs_path *path,
3400 const char *name, int name_len);
3401int btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans, 3390int btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans,
3402 struct btrfs_root *root, 3391 struct btrfs_root *root,
3403 struct btrfs_path *path, 3392 struct btrfs_path *path,
@@ -3475,16 +3464,11 @@ int btrfs_lookup_file_extent(struct btrfs_trans_handle *trans,
3475 struct btrfs_root *root, 3464 struct btrfs_root *root,
3476 struct btrfs_path *path, u64 objectid, 3465 struct btrfs_path *path, u64 objectid,
3477 u64 bytenr, int mod); 3466 u64 bytenr, int mod);
3478u64 btrfs_file_extent_length(struct btrfs_path *path);
3479int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans, 3467int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans,
3480 struct btrfs_root *root, 3468 struct btrfs_root *root,
3481 struct btrfs_ordered_sum *sums); 3469 struct btrfs_ordered_sum *sums);
3482int btrfs_csum_one_bio(struct btrfs_root *root, struct inode *inode, 3470int btrfs_csum_one_bio(struct btrfs_root *root, struct inode *inode,
3483 struct bio *bio, u64 file_start, int contig); 3471 struct bio *bio, u64 file_start, int contig);
3484struct btrfs_csum_item *btrfs_lookup_csum(struct btrfs_trans_handle *trans,
3485 struct btrfs_root *root,
3486 struct btrfs_path *path,
3487 u64 bytenr, int cow);
3488int btrfs_csum_truncate(struct btrfs_trans_handle *trans, 3472int btrfs_csum_truncate(struct btrfs_trans_handle *trans,
3489 struct btrfs_root *root, struct btrfs_path *path, 3473 struct btrfs_root *root, struct btrfs_path *path,
3490 u64 isize); 3474 u64 isize);
@@ -3546,8 +3530,6 @@ int btrfs_truncate_inode_items(struct btrfs_trans_handle *trans,
3546int btrfs_start_delalloc_inodes(struct btrfs_root *root, int delay_iput); 3530int btrfs_start_delalloc_inodes(struct btrfs_root *root, int delay_iput);
3547int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end, 3531int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
3548 struct extent_state **cached_state); 3532 struct extent_state **cached_state);
3549int btrfs_writepages(struct address_space *mapping,
3550 struct writeback_control *wbc);
3551int btrfs_create_subvol_root(struct btrfs_trans_handle *trans, 3533int btrfs_create_subvol_root(struct btrfs_trans_handle *trans,
3552 struct btrfs_root *new_root, u64 new_dirid); 3534 struct btrfs_root *new_root, u64 new_dirid);
3553int btrfs_merge_bio_hook(int rw, struct page *page, unsigned long offset, 3535int btrfs_merge_bio_hook(int rw, struct page *page, unsigned long offset,
@@ -3557,7 +3539,6 @@ int btrfs_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf);
3557int btrfs_readpage(struct file *file, struct page *page); 3539int btrfs_readpage(struct file *file, struct page *page);
3558void btrfs_evict_inode(struct inode *inode); 3540void btrfs_evict_inode(struct inode *inode);
3559int btrfs_write_inode(struct inode *inode, struct writeback_control *wbc); 3541int btrfs_write_inode(struct inode *inode, struct writeback_control *wbc);
3560int btrfs_dirty_inode(struct inode *inode);
3561struct inode *btrfs_alloc_inode(struct super_block *sb); 3542struct inode *btrfs_alloc_inode(struct super_block *sb);
3562void btrfs_destroy_inode(struct inode *inode); 3543void btrfs_destroy_inode(struct inode *inode);
3563int btrfs_drop_inode(struct inode *inode); 3544int btrfs_drop_inode(struct inode *inode);
@@ -3575,7 +3556,6 @@ int btrfs_update_inode(struct btrfs_trans_handle *trans,
3575int btrfs_update_inode_fallback(struct btrfs_trans_handle *trans, 3556int btrfs_update_inode_fallback(struct btrfs_trans_handle *trans,
3576 struct btrfs_root *root, struct inode *inode); 3557 struct btrfs_root *root, struct inode *inode);
3577int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct inode *inode); 3558int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct inode *inode);
3578int btrfs_orphan_del(struct btrfs_trans_handle *trans, struct inode *inode);
3579int btrfs_orphan_cleanup(struct btrfs_root *root); 3559int btrfs_orphan_cleanup(struct btrfs_root *root);
3580void btrfs_orphan_commit_root(struct btrfs_trans_handle *trans, 3560void btrfs_orphan_commit_root(struct btrfs_trans_handle *trans,
3581 struct btrfs_root *root); 3561 struct btrfs_root *root);
@@ -3626,7 +3606,6 @@ int btrfs_drop_extents(struct btrfs_trans_handle *trans,
3626int btrfs_mark_extent_written(struct btrfs_trans_handle *trans, 3606int btrfs_mark_extent_written(struct btrfs_trans_handle *trans,
3627 struct inode *inode, u64 start, u64 end); 3607 struct inode *inode, u64 start, u64 end);
3628int btrfs_release_file(struct inode *inode, struct file *file); 3608int btrfs_release_file(struct inode *inode, struct file *file);
3629void btrfs_drop_pages(struct page **pages, size_t num_pages);
3630int btrfs_dirty_pages(struct btrfs_root *root, struct inode *inode, 3609int btrfs_dirty_pages(struct btrfs_root *root, struct inode *inode,
3631 struct page **pages, size_t num_pages, 3610 struct page **pages, size_t num_pages,
3632 loff_t pos, size_t write_bytes, 3611 loff_t pos, size_t write_bytes,
@@ -3802,7 +3781,6 @@ void btrfs_scrub_continue_super(struct btrfs_root *root);
3802int btrfs_scrub_cancel(struct btrfs_fs_info *info); 3781int btrfs_scrub_cancel(struct btrfs_fs_info *info);
3803int btrfs_scrub_cancel_dev(struct btrfs_fs_info *info, 3782int btrfs_scrub_cancel_dev(struct btrfs_fs_info *info,
3804 struct btrfs_device *dev); 3783 struct btrfs_device *dev);
3805int btrfs_scrub_cancel_devid(struct btrfs_root *root, u64 devid);
3806int btrfs_scrub_progress(struct btrfs_root *root, u64 devid, 3784int btrfs_scrub_progress(struct btrfs_root *root, u64 devid,
3807 struct btrfs_scrub_progress *progress); 3785 struct btrfs_scrub_progress *progress);
3808 3786