diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 22 |
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); |
3046 | void btrfs_put_block_group(struct btrfs_block_group_cache *cache); | 3046 | void btrfs_put_block_group(struct btrfs_block_group_cache *cache); |
3047 | u64 btrfs_find_block_group(struct btrfs_root *root, | ||
3048 | u64 search_start, u64 search_hint, int owner); | ||
3049 | struct extent_buffer *btrfs_alloc_free_block(struct btrfs_trans_handle *trans, | 3047 | struct 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); |
3058 | struct extent_buffer *btrfs_init_new_buffer(struct btrfs_trans_handle *trans, | ||
3059 | struct btrfs_root *root, | ||
3060 | u64 bytenr, u32 blocksize, | ||
3061 | int level); | ||
3062 | int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans, | 3056 | int 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); |
3112 | void btrfs_create_pending_block_groups(struct btrfs_trans_handle *trans, | 3106 | void btrfs_create_pending_block_groups(struct btrfs_trans_handle *trans, |
3113 | struct btrfs_root *root); | 3107 | struct btrfs_root *root); |
3114 | u64 btrfs_reduce_alloc_profile(struct btrfs_root *root, u64 flags); | ||
3115 | u64 btrfs_get_alloc_profile(struct btrfs_root *root, int data); | 3108 | u64 btrfs_get_alloc_profile(struct btrfs_root *root, int data); |
3116 | void btrfs_clear_space_info_full(struct btrfs_fs_info *info); | 3109 | void 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 | } |
3303 | int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path); | ||
3304 | int btrfs_leaf_free_space(struct btrfs_root *root, struct extent_buffer *leaf); | 3296 | int btrfs_leaf_free_space(struct btrfs_root *root, struct extent_buffer *leaf); |
3305 | int __must_check btrfs_drop_snapshot(struct btrfs_root *root, | 3297 | int __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 * | |||
3395 | btrfs_search_dir_index_item(struct btrfs_root *root, | 3387 | btrfs_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); |
3398 | struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root, | ||
3399 | struct btrfs_path *path, | ||
3400 | const char *name, int name_len); | ||
3401 | int btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans, | 3390 | int 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); |
3478 | u64 btrfs_file_extent_length(struct btrfs_path *path); | ||
3479 | int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans, | 3467 | int 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); |
3482 | int btrfs_csum_one_bio(struct btrfs_root *root, struct inode *inode, | 3470 | int 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); |
3484 | struct 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); | ||
3488 | int btrfs_csum_truncate(struct btrfs_trans_handle *trans, | 3472 | int 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, | |||
3546 | int btrfs_start_delalloc_inodes(struct btrfs_root *root, int delay_iput); | 3530 | int btrfs_start_delalloc_inodes(struct btrfs_root *root, int delay_iput); |
3547 | int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end, | 3531 | int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end, |
3548 | struct extent_state **cached_state); | 3532 | struct extent_state **cached_state); |
3549 | int btrfs_writepages(struct address_space *mapping, | ||
3550 | struct writeback_control *wbc); | ||
3551 | int btrfs_create_subvol_root(struct btrfs_trans_handle *trans, | 3533 | int 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); |
3553 | int btrfs_merge_bio_hook(int rw, struct page *page, unsigned long offset, | 3535 | int 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); | |||
3557 | int btrfs_readpage(struct file *file, struct page *page); | 3539 | int btrfs_readpage(struct file *file, struct page *page); |
3558 | void btrfs_evict_inode(struct inode *inode); | 3540 | void btrfs_evict_inode(struct inode *inode); |
3559 | int btrfs_write_inode(struct inode *inode, struct writeback_control *wbc); | 3541 | int btrfs_write_inode(struct inode *inode, struct writeback_control *wbc); |
3560 | int btrfs_dirty_inode(struct inode *inode); | ||
3561 | struct inode *btrfs_alloc_inode(struct super_block *sb); | 3542 | struct inode *btrfs_alloc_inode(struct super_block *sb); |
3562 | void btrfs_destroy_inode(struct inode *inode); | 3543 | void btrfs_destroy_inode(struct inode *inode); |
3563 | int btrfs_drop_inode(struct inode *inode); | 3544 | int btrfs_drop_inode(struct inode *inode); |
@@ -3575,7 +3556,6 @@ int btrfs_update_inode(struct btrfs_trans_handle *trans, | |||
3575 | int btrfs_update_inode_fallback(struct btrfs_trans_handle *trans, | 3556 | int 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); |
3577 | int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct inode *inode); | 3558 | int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct inode *inode); |
3578 | int btrfs_orphan_del(struct btrfs_trans_handle *trans, struct inode *inode); | ||
3579 | int btrfs_orphan_cleanup(struct btrfs_root *root); | 3559 | int btrfs_orphan_cleanup(struct btrfs_root *root); |
3580 | void btrfs_orphan_commit_root(struct btrfs_trans_handle *trans, | 3560 | void 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, | |||
3626 | int btrfs_mark_extent_written(struct btrfs_trans_handle *trans, | 3606 | int 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); |
3628 | int btrfs_release_file(struct inode *inode, struct file *file); | 3608 | int btrfs_release_file(struct inode *inode, struct file *file); |
3629 | void btrfs_drop_pages(struct page **pages, size_t num_pages); | ||
3630 | int btrfs_dirty_pages(struct btrfs_root *root, struct inode *inode, | 3609 | int 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); | |||
3802 | int btrfs_scrub_cancel(struct btrfs_fs_info *info); | 3781 | int btrfs_scrub_cancel(struct btrfs_fs_info *info); |
3803 | int btrfs_scrub_cancel_dev(struct btrfs_fs_info *info, | 3782 | int btrfs_scrub_cancel_dev(struct btrfs_fs_info *info, |
3804 | struct btrfs_device *dev); | 3783 | struct btrfs_device *dev); |
3805 | int btrfs_scrub_cancel_devid(struct btrfs_root *root, u64 devid); | ||
3806 | int btrfs_scrub_progress(struct btrfs_root *root, u64 devid, | 3784 | int btrfs_scrub_progress(struct btrfs_root *root, u64 devid, |
3807 | struct btrfs_scrub_progress *progress); | 3785 | struct btrfs_scrub_progress *progress); |
3808 | 3786 | ||