Lines Matching defs:root
61 struct btrfs_root *root);
71 int btrfs_global_root_insert(struct btrfs_root *root);
72 void btrfs_global_root_delete(struct btrfs_root *root);
83 struct btrfs_root *root);
91 * This function is used to grab the root, and avoid it is freed when we
97 static inline struct btrfs_root *btrfs_grab_root(struct btrfs_root *root)
99 if (!root)
101 if (refcount_inc_not_zero(&root->refs))
102 return root;
106 void btrfs_put_root(struct btrfs_root *root);
116 struct btrfs_root *root);
120 struct btrfs_root *root);
128 int btrfs_get_free_objectid(struct btrfs_root *root, u64 *objectid);
129 int btrfs_init_root_free_objectid(struct btrfs_root *root);