Searched refs:anon_dev (Results 1 – 7 of 7) sorted by relevance
681 root->anon_dev = 0; in __setup_root()1096 static int btrfs_init_fs_root(struct btrfs_root *root, dev_t anon_dev) in btrfs_init_fs_root() argument1115 if (!anon_dev) { in btrfs_init_fs_root()1116 ret = get_anon_bdev(&root->anon_dev); in btrfs_init_fs_root()1120 root->anon_dev = anon_dev; in btrfs_init_fs_root()1290 u64 objectid, dev_t *anon_dev, in btrfs_get_root_ref() argument1320 if (unlikely(anon_dev && *anon_dev)) { in btrfs_get_root_ref()1321 free_anon_bdev(*anon_dev); in btrfs_get_root_ref()1322 *anon_dev = 0; in btrfs_get_root_ref()1344 ret = btrfs_init_fs_root(root, anon_dev ? *anon_dev : 0); in btrfs_get_root_ref()[all …]
67 u64 objectid, dev_t *anon_dev);
174 dev_t anon_dev; member
602 dev_t anon_dev; in create_subvol() local623 ret = get_anon_bdev(&anon_dev); in create_subvol()732 new_root = btrfs_get_new_fs_root(fs_info, objectid, &anon_dev); in create_subvol()739 anon_dev = 0; in create_subvol()778 if (anon_dev) in create_subvol()779 free_anon_bdev(anon_dev); in create_subvol()821 ret = get_anon_bdev(&pending_snapshot->anon_dev); in create_snapshot()887 pending_snapshot->anon_dev = 0; in create_snapshot()891 pending_snapshot->snap->anon_dev = 0; in create_snapshot()897 if (pending_snapshot->anon_dev) in create_snapshot()[all …]
258 dev_t anon_dev; member
1823 pending->snap = btrfs_get_new_fs_root(fs_info, objectid, &pending->anon_dev); in create_pending_snapshot()
4579 free_anon_bdev(dest->anon_dev); in btrfs_delete_subvolume()4580 dest->anon_dev = 0; in btrfs_delete_subvolume()8722 stat->dev = BTRFS_I(inode)->root->anon_dev; in btrfs_getattr()