Lines Matching defs:root

483 				   "trying to use backup root at mount time");
884 "trying to use backup root at mount time");
1139 struct btrfs_root *root = fs_info->tree_root;
1166 * Walk up the subvolume trees in the tree of tree roots by root
1174 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0);
1178 ret = btrfs_previous_item(root, path, subvol_objectid,
1214 * root directory.
1275 struct btrfs_root *root = fs_info->tree_root;
1287 * Find the "default" dir item which points to the root item that we
1292 di = btrfs_lookup_dir_item(NULL, root, path, dir_id, "default", 7, 0);
1372 struct btrfs_root *root = fs_info->tree_root;
1383 trans = btrfs_attach_transaction_barrier(root);
1403 trans = btrfs_start_transaction(root, 0);
1501 BTRFS_I(d_inode(dentry))->root->root_key.objectid);
1503 BTRFS_I(d_inode(dentry))->root->root_key.objectid);
1541 struct dentry *root;
1549 root = ERR_PTR(ret);
1556 root = ERR_CAST(subvol_name);
1563 root = mount_subtree(mnt, subvol_name);
1567 if (!IS_ERR(root)) {
1568 struct super_block *s = root->d_sb;
1570 struct inode *root_inode = d_inode(root);
1571 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid;
1591 dput(root);
1592 root = ERR_PTR(ret);
1600 return root;
1631 * Setup a dummy root and fs_info for test/set super. This is because
1720 * which needs vfsmount* of device's root (/). This means device's root has to
1726 * 2. Mount device's root (/) by calling vfs_kern_mount().
1742 struct dentry *root;
1754 /* mount device's root (/) */
1764 root = ERR_CAST(mnt_root);
1773 root = ERR_PTR(error);
1781 root = ERR_CAST(mnt_root);
1787 root = mount_subvol(subvol_name, subvol_objectid, mnt_root);
1790 return root;
1857 struct btrfs_root *root = fs_info->tree_root;
1964 ret = btrfs_recover_relocation(root);
2282 /* Mask in the root object ID too, to disambiguate subvols */
2284 BTRFS_I(d_inode(dentry))->root->root_key.objectid >> 32;
2286 BTRFS_I(d_inode(dentry))->root->root_key.objectid;
2382 struct btrfs_root *root = fs_info->tree_root;
2391 trans = btrfs_attach_transaction_barrier(root);
2409 static int btrfs_show_devname(struct seq_file *m, struct dentry *root)
2411 struct btrfs_fs_info *fs_info = btrfs_sb(root->d_sb);