backref.h (bb739cf08e8f32ea0b4a6d2ae22466488182c2fe) backref.h (00142756e1f8015d2f8ce96532d156689db7e448)
1/*
2 * Copyright (C) 2011 STRATO. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 58 unchanged lines hidden (view full) ---

67int btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid,
68 u64 start_off, struct btrfs_path *path,
69 struct btrfs_inode_extref **ret_extref,
70 u64 *found_off);
71int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr);
72
73int __init btrfs_prelim_ref_init(void);
74void btrfs_prelim_ref_exit(void);
1/*
2 * Copyright (C) 2011 STRATO. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 58 unchanged lines hidden (view full) ---

67int btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid,
68 u64 start_off, struct btrfs_path *path,
69 struct btrfs_inode_extref **ret_extref,
70 u64 *found_off);
71int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr);
72
73int __init btrfs_prelim_ref_init(void);
74void btrfs_prelim_ref_exit(void);
75
76struct prelim_ref {
77 struct rb_node rbnode;
78 u64 root_id;
79 struct btrfs_key key_for_search;
80 int level;
81 int count;
82 struct extent_inode_elem *inode_list;
83 u64 parent;
84 u64 wanted_disk_byte;
85};
86
75#endif
87#endif