Lines Matching defs:root

266 				   "trying to use backup root at mount time");
707 "trying to use backup root at mount time");
973 struct btrfs_root *root = fs_info->tree_root;
999 * Walk up the subvolume trees in the tree of tree roots by root
1007 ret = btrfs_search_backwards(root, &key, path);
1040 * root directory.
1094 struct btrfs_root *root = fs_info->tree_root;
1106 * Find the "default" dir item which points to the root item that we
1111 di = btrfs_lookup_dir_item(NULL, root, path, dir_id, &name, 0);
1194 struct btrfs_root *root = fs_info->tree_root;
1205 trans = btrfs_attach_transaction_barrier(root);
1226 trans = btrfs_start_transaction(root, 0);
1335 BTRFS_I(d_inode(dentry))->root->root_key.objectid);
1337 BTRFS_I(d_inode(dentry))->root->root_key.objectid);
1375 struct dentry *root;
1383 root = ERR_PTR(ret);
1390 root = ERR_CAST(subvol_name);
1397 root = mount_subtree(mnt, subvol_name);
1401 if (!IS_ERR(root)) {
1402 struct super_block *s = root->d_sb;
1404 struct inode *root_inode = d_inode(root);
1405 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid;
1425 dput(root);
1426 root = ERR_PTR(ret);
1434 return root;
1462 * Setup a dummy root and fs_info for test/set super. This is because
1553 * which needs vfsmount* of device's root (/). This means device's root has to
1559 * 2. Mount device's root (/) by calling vfs_kern_mount().
1575 struct dentry *root;
1587 /* mount device's root (/) */
1597 root = ERR_CAST(mnt_root);
1606 root = ERR_PTR(error);
1614 root = ERR_CAST(mnt_root);
1620 root = mount_subvol(subvol_name, subvol_objectid, mnt_root);
1623 return root;
1775 * a transaction - either because it was dropping a dead root,
2135 /* Mask in the root object ID too, to disambiguate subvols */
2137 BTRFS_I(d_inode(dentry))->root->root_key.objectid >> 32;
2139 BTRFS_I(d_inode(dentry))->root->root_key.objectid;
2239 struct btrfs_root *root = fs_info->tree_root;
2248 trans = btrfs_attach_transaction_barrier(root);
2342 static int btrfs_show_devname(struct seq_file *m, struct dentry *root)
2344 struct btrfs_fs_info *fs_info = btrfs_sb(root->d_sb);