Lines Matching refs:anon_dev
1034 root->anon_dev = 0; in __setup_root()
1437 static int btrfs_init_fs_root(struct btrfs_root *root, dev_t anon_dev) in btrfs_init_fs_root() argument
1464 if (!anon_dev) { in btrfs_init_fs_root()
1465 ret = get_anon_bdev(&root->anon_dev); in btrfs_init_fs_root()
1469 root->anon_dev = anon_dev; in btrfs_init_fs_root()
1643 u64 objectid, dev_t anon_dev, in btrfs_get_root_ref() argument
1658 ASSERT(!anon_dev); in btrfs_get_root_ref()
1678 ret = btrfs_init_fs_root(root, anon_dev); in btrfs_get_root_ref()
1714 if (anon_dev) in btrfs_get_root_ref()
1715 root->anon_dev = 0; in btrfs_get_root_ref()
1742 u64 objectid, dev_t anon_dev) in btrfs_get_new_fs_root() argument
1744 return btrfs_get_root_ref(fs_info, objectid, anon_dev, true); in btrfs_get_new_fs_root()
2161 if (root->anon_dev) in btrfs_put_root()
2162 free_anon_bdev(root->anon_dev); in btrfs_put_root()