Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Ddisk-io.h68 u64 objectid, dev_t anon_dev);
Dtransaction.h165 dev_t anon_dev; member
Ddisk-io.c1034 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()
[all …]
Dioctl.c591 dev_t anon_dev; in create_subvol() local
611 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 …]
Dtransaction.c1780 pending->snap = btrfs_get_new_fs_root(fs_info, objectid, pending->anon_dev); in create_pending_snapshot()
Dinode.c4762 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()
Dctree.h1386 dev_t anon_dev; member