Searched refs:anon_dev (Results 1 – 7 of 7) sorted by relevance
71 u64 objectid, dev_t anon_dev);
163 dev_t anon_dev; member
1087 root->anon_dev = 0; in __setup_root()1346 static int btrfs_init_fs_root(struct btrfs_root *root, dev_t anon_dev) in btrfs_init_fs_root() argument1385 if (!anon_dev) { in btrfs_init_fs_root()1386 ret = get_anon_bdev(&root->anon_dev); in btrfs_init_fs_root()1390 root->anon_dev = anon_dev; in btrfs_init_fs_root()1542 u64 objectid, dev_t anon_dev, in btrfs_get_root_ref() argument1557 ASSERT(!anon_dev); in btrfs_get_root_ref()1577 ret = btrfs_init_fs_root(root, anon_dev); in btrfs_get_root_ref()1612 if (anon_dev) in btrfs_get_root_ref()1613 root->anon_dev = 0; in btrfs_get_root_ref()[all …]
595 dev_t anon_dev = 0; in create_subvol() local608 ret = get_anon_bdev(&anon_dev); in create_subvol()707 new_root = btrfs_get_new_fs_root(fs_info, objectid, anon_dev); in create_subvol()709 free_anon_bdev(anon_dev); in create_subvol()715 anon_dev = 0; in create_subvol()785 if (anon_dev) in create_subvol()786 free_anon_bdev(anon_dev); in create_subvol()814 ret = get_anon_bdev(&pending_snapshot->anon_dev); in create_snapshot()878 pending_snapshot->anon_dev = 0; in create_snapshot()882 pending_snapshot->snap->anon_dev = 0; in create_snapshot()[all …]
1682 pending->snap = btrfs_get_new_fs_root(fs_info, objectid, pending->anon_dev); in create_pending_snapshot()
4102 free_anon_bdev(dest->anon_dev); in btrfs_delete_subvolume()4103 dest->anon_dev = 0; in btrfs_delete_subvolume()8873 stat->dev = BTRFS_I(inode)->root->anon_dev; in btrfs_getattr()
1128 dev_t anon_dev; member