Searched refs:btrfs_root (Results 1 - 25 of 36) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/btrfs/
H A Dprint-tree.h21 void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l);
22 void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *t);
H A Dtransaction.h59 struct btrfs_root *root;
60 struct btrfs_root *snap;
89 struct btrfs_root *root);
90 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root,
92 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root,
94 struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *r,
97 struct btrfs_root *root);
99 struct btrfs_root *root);
101 int btrfs_add_dead_root(struct btrfs_root *root);
102 int btrfs_drop_dead_root(struct btrfs_root *roo
[all...]
H A Dtree-log.h26 struct btrfs_root *root);
27 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root);
30 int btrfs_recover_log_trees(struct btrfs_root *tree_root);
32 struct btrfs_root *root, struct dentry *dentry);
34 struct btrfs_root *root,
38 struct btrfs_root *root,
41 int btrfs_join_running_log_trans(struct btrfs_root *root);
42 int btrfs_end_log_trans(struct btrfs_root *root);
43 int btrfs_pin_log_trans(struct btrfs_root *root);
45 struct btrfs_root *roo
[all...]
H A Ddisk-io.h39 struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr,
41 int readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize,
43 struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root,
46 struct btrfs_root *root, struct extent_buffer *buf);
47 struct btrfs_root *open_ctree(struct super_block *sb,
50 int close_ctree(struct btrfs_root *root);
52 struct btrfs_root *root, int max_mirrors);
54 int btrfs_commit_super(struct btrfs_root *root);
55 struct extent_buffer *btrfs_find_tree_block(struct btrfs_root *root,
57 struct btrfs_root *btrfs_lookup_fs_roo
[all...]
H A Dref-cache.h66 struct btrfs_leaf_ref *btrfs_alloc_leaf_ref(struct btrfs_root *root,
68 void btrfs_free_leaf_ref(struct btrfs_root *root, struct btrfs_leaf_ref *ref);
69 struct btrfs_leaf_ref *btrfs_lookup_leaf_ref(struct btrfs_root *root,
71 int btrfs_add_leaf_ref(struct btrfs_root *root, struct btrfs_leaf_ref *ref,
73 int btrfs_remove_leaf_refs(struct btrfs_root *root, u64 max_root_gen,
75 int btrfs_remove_leaf_ref(struct btrfs_root *root, struct btrfs_leaf_ref *ref);
H A Dvolumes.h35 struct btrfs_root *dev_root;
151 int btrfs_read_sys_array(struct btrfs_root *root);
152 int btrfs_read_chunk_tree(struct btrfs_root *root);
154 struct btrfs_root *extent_root, u64 type);
157 int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio,
159 int btrfs_read_super_device(struct btrfs_root *root, struct extent_buffer *buf);
167 struct btrfs_root *root,
169 int btrfs_rm_device(struct btrfs_root *root, char *device_path);
176 struct btrfs_device *btrfs_find_device(struct btrfs_root *root, u64 devid,
179 int btrfs_init_new_device(struct btrfs_root *roo
[all...]
H A Dctree.h812 struct btrfs_root *extent_root;
813 struct btrfs_root *tree_root;
814 struct btrfs_root *chunk_root;
815 struct btrfs_root *dev_root;
816 struct btrfs_root *fs_root;
817 struct btrfs_root *csum_root;
820 struct btrfs_root *log_root_tree;
1019 struct btrfs_root { struct
1026 struct btrfs_root *log_root;
1027 struct btrfs_root *reloc_roo
[all...]
H A Dorphan.c23 struct btrfs_root *root, u64 offset)
44 struct btrfs_root *root, u64 offset)
69 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset)
H A Dsysfs.c31 static ssize_t root_blocks_used_show(struct btrfs_root *root, char *buf)
37 static ssize_t root_block_limit_show(struct btrfs_root *root, char *buf)
65 ssize_t (*show)(struct btrfs_root *, char *);
66 ssize_t (*store)(struct btrfs_root *, const char *, size_t);
132 struct btrfs_root *root = container_of(kobj, struct btrfs_root,
145 struct btrfs_root *root = container_of(kobj, struct btrfs_root,
162 struct btrfs_root *root = container_of(kobj, struct btrfs_root,
[all...]
H A Dordered-data.h120 static inline int btrfs_ordered_sum_size(struct btrfs_root *root,
164 int btrfs_run_ordered_operations(struct btrfs_root *root, int wait);
166 struct btrfs_root *root,
168 int btrfs_wait_ordered_extents(struct btrfs_root *root,
H A Dtransaction.c44 static noinline void switch_commit_root(struct btrfs_root *root)
53 static noinline int join_transaction(struct btrfs_root *root)
104 struct btrfs_root *root)
120 struct btrfs_root *root)
140 static void wait_current_trans(struct btrfs_root *root)
168 static int may_wait_transaction(struct btrfs_root *root, int type)
177 static struct btrfs_trans_handle *start_transaction(struct btrfs_root *root,
236 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root,
241 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root,
247 struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *
[all...]
H A Dinode-map.c23 int btrfs_find_highest_inode(struct btrfs_root *root, u64 *objectid)
58 struct btrfs_root *root,
H A Droot-tree.c30 int btrfs_search_root(struct btrfs_root *root, u64 search_start,
76 int btrfs_find_last_root(struct btrfs_root *root, u64 objectid,
132 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root
166 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root
181 int btrfs_find_dead_roots(struct btrfs_root *root, u64 objectid)
183 struct btrfs_root *dead_root;
257 int btrfs_find_orphan_roots(struct btrfs_root *tree_root)
263 struct btrfs_root *root;
328 int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
353 struct btrfs_root *tree_roo
[all...]
H A Dfree-space-cache.h42 struct btrfs_root *root,
H A Dtree-log.c95 struct btrfs_root *root, struct inode *inode,
98 struct btrfs_root *root,
101 struct btrfs_root *root,
102 struct btrfs_root *log,
135 struct btrfs_root *root)
179 static int join_running_log_trans(struct btrfs_root *root)
201 int btrfs_pin_log_trans(struct btrfs_root *root)
215 int btrfs_end_log_trans(struct btrfs_root *root)
257 struct btrfs_root *replay_dest;
267 int (*process_func)(struct btrfs_root *lo
[all...]
H A Dref-cache.c36 struct btrfs_leaf_ref *btrfs_alloc_leaf_ref(struct btrfs_root *root,
59 void btrfs_free_leaf_ref(struct btrfs_root *root, struct btrfs_leaf_ref *ref)
120 int btrfs_remove_leaf_refs(struct btrfs_root *root, u64 max_root_gen,
158 struct btrfs_leaf_ref *btrfs_lookup_leaf_ref(struct btrfs_root *root,
187 int btrfs_add_leaf_ref(struct btrfs_root *root, struct btrfs_leaf_ref *ref,
215 int btrfs_remove_leaf_ref(struct btrfs_root *root, struct btrfs_leaf_ref *ref)
H A Ddisk-io.c45 static void free_fs_root(struct btrfs_root *root);
179 u32 btrfs_csum_data(struct btrfs_root *root, char *data, u32 seed, size_t len)
193 static int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf,
302 static int btree_read_extent_buffer_pages(struct btrfs_root *root,
336 static int csum_dirty_buffer(struct btrfs_root *root, struct page *page)
381 static int check_tree_block_fsid(struct btrfs_root *root,
417 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root;
625 struct btrfs_root *root;
694 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root;
727 struct btrfs_root *roo
[all...]
H A Ddir-item.c34 struct btrfs_root *root,
71 struct btrfs_root *root,
120 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root
203 struct btrfs_root *root,
250 struct btrfs_root *root,
273 btrfs_search_dir_index_item(struct btrfs_root *root,
320 struct btrfs_root *root,
360 struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root,
396 struct btrfs_root *root,
H A Dinode-item.c54 struct btrfs_root *root,
80 struct btrfs_root *root,
140 struct btrfs_root *root,
198 struct btrfs_root *root,
212 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root
H A Drelocation.c58 struct btrfs_root *root;
158 struct btrfs_root *extent_root;
511 static int should_ignore_root(struct btrfs_root *root)
513 struct btrfs_root *reloc_root;
537 static struct btrfs_root *find_reloc_root(struct reloc_control *rc,
542 struct btrfs_root *root = NULL;
548 root = (struct btrfs_root *)node->data;
566 static struct btrfs_root *read_fs_root(struct btrfs_fs_info *fs_info,
583 struct btrfs_root *find_tree_root(struct reloc_control *rc,
587 struct btrfs_root *roo
[all...]
H A Dextent-tree.c37 struct btrfs_root *root,
42 struct btrfs_root *root,
51 struct btrfs_root *root,
56 struct btrfs_root *root,
61 struct btrfs_root *extent_root, u64 alloc_bytes,
174 static int add_excluded_extent(struct btrfs_root *root,
185 static void free_excluded_extents(struct btrfs_root *root,
199 static int exclude_super_stripes(struct btrfs_root *root,
304 struct btrfs_root *extent_root = fs_info->extent_root;
545 u64 btrfs_find_block_group(struct btrfs_root *roo
[all...]
H A Dbtrfs_inode.h29 struct btrfs_root *root;
H A Dctree.c27 static int split_node(struct btrfs_trans_handle *trans, struct btrfs_root
29 static int split_leaf(struct btrfs_trans_handle *trans, struct btrfs_root
33 struct btrfs_root *root, struct extent_buffer *dst,
36 struct btrfs_root *root,
39 static int del_ptr(struct btrfs_trans_handle *trans, struct btrfs_root *root,
42 struct btrfs_root *root, struct btrfs_path *path,
118 noinline void btrfs_release_path(struct btrfs_root *root, struct btrfs_path *p)
145 struct extent_buffer *btrfs_root_node(struct btrfs_root *root)
159 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root)
184 static void add_root_to_dirty_list(struct btrfs_root *roo
[all...]
H A Dioctl.c145 struct btrfs_root *root = ip->root;
225 static noinline int create_subvol(struct btrfs_root *root,
234 struct btrfs_root *new_root;
347 static int create_snapshot(struct btrfs_root *root, struct dentry *dentry)
415 struct btrfs_root *snap_src)
539 struct btrfs_root *root = BTRFS_I(inode)->root;
699 static noinline int btrfs_ioctl_resize(struct btrfs_root *root,
807 struct btrfs_root *root = BTRFS_I(fdentry(file)->d_inode)->root;
858 static noinline int may_destroy_subvol(struct btrfs_root *root)
915 static noinline int copy_to_sk(struct btrfs_root *roo
[all...]
H A Dxattr.c36 struct btrfs_root *root = BTRFS_I(inode)->root;
93 struct btrfs_root *root = BTRFS_I(inode)->root;
151 struct btrfs_root *root = BTRFS_I(inode)->root;
179 struct btrfs_root *root = BTRFS_I(inode)->root;

Completed in 91 milliseconds

12