Home
last modified time | relevance | path

Searched refs:anon_dev (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Ddisk-io.h71 u64 objectid, dev_t anon_dev);
Dtransaction.h163 dev_t anon_dev; member
Ddisk-io.c1087 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() argument
1385 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() argument
1557 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 …]
Dioctl.c595 dev_t anon_dev = 0; in create_subvol() local
608 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 …]
Dtransaction.c1682 pending->snap = btrfs_get_new_fs_root(fs_info, objectid, pending->anon_dev); in create_pending_snapshot()
Dinode.c4102 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()
Dctree.h1128 dev_t anon_dev; member