Searched refs:anon_dev (Results 1 – 7 of 7) sorted by relevance
68 u64 objectid, dev_t anon_dev);
165 dev_t anon_dev; member
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() argument1464 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() argument1658 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()[all …]
591 dev_t anon_dev; in create_subvol() local611 ret = get_anon_bdev(&anon_dev); in create_subvol()709 new_root = btrfs_get_new_fs_root(fs_info, objectid, anon_dev); in create_subvol()716 anon_dev = 0; in create_subvol()756 if (anon_dev) in create_subvol()757 free_anon_bdev(anon_dev); in create_subvol()794 ret = get_anon_bdev(&pending_snapshot->anon_dev); in create_snapshot()853 pending_snapshot->anon_dev = 0; in create_snapshot()857 pending_snapshot->snap->anon_dev = 0; in create_snapshot()861 if (pending_snapshot->anon_dev) in create_snapshot()[all …]
1780 pending->snap = btrfs_get_new_fs_root(fs_info, objectid, pending->anon_dev); in create_pending_snapshot()
4762 free_anon_bdev(dest->anon_dev); in btrfs_delete_subvolume()4763 dest->anon_dev = 0; in btrfs_delete_subvolume()8983 stat->dev = BTRFS_I(inode)->root->anon_dev; in btrfs_getattr()
1386 dev_t anon_dev; member