Home
last modified time | relevance | path

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

/Linux-v5.15/fs/btrfs/
Dtransaction.h164 dev_t anon_dev; member
Ddisk-io.h73 u64 objectid, dev_t anon_dev);
Ddisk-io.c1204 root->anon_dev = 0; in __setup_root()
1487 static int btrfs_init_fs_root(struct btrfs_root *root, dev_t anon_dev) in btrfs_init_fs_root() argument
1514 if (!anon_dev) { in btrfs_init_fs_root()
1515 ret = get_anon_bdev(&root->anon_dev); in btrfs_init_fs_root()
1519 root->anon_dev = anon_dev; in btrfs_init_fs_root()
1670 u64 objectid, dev_t anon_dev, in btrfs_get_root_ref() argument
1685 ASSERT(!anon_dev); in btrfs_get_root_ref()
1705 ret = btrfs_init_fs_root(root, anon_dev); in btrfs_get_root_ref()
1760 u64 objectid, dev_t anon_dev) in btrfs_get_new_fs_root() argument
1762 return btrfs_get_root_ref(fs_info, objectid, anon_dev, true); in btrfs_get_new_fs_root()
[all …]
Dioctl.c520 dev_t anon_dev = 0; in create_subvol() local
532 ret = get_anon_bdev(&anon_dev); in create_subvol()
631 new_root = btrfs_get_new_fs_root(fs_info, objectid, anon_dev); in create_subvol()
633 free_anon_bdev(anon_dev); in create_subvol()
639 anon_dev = 0; in create_subvol()
710 if (anon_dev) in create_subvol()
711 free_anon_bdev(anon_dev); in create_subvol()
739 ret = get_anon_bdev(&pending_snapshot->anon_dev); in create_snapshot()
803 pending_snapshot->anon_dev = 0; in create_snapshot()
807 pending_snapshot->snap->anon_dev = 0; in create_snapshot()
[all …]
Dtransaction.c1720 pending->snap = btrfs_get_new_fs_root(fs_info, objectid, pending->anon_dev); in create_pending_snapshot()
Dinode.c4526 free_anon_bdev(dest->anon_dev); in btrfs_delete_subvolume()
4527 dest->anon_dev = 0; in btrfs_delete_subvolume()
9294 stat->dev = BTRFS_I(inode)->root->anon_dev; in btrfs_getattr()
Dctree.h1177 dev_t anon_dev; member