Lines Matching refs:location
1534 struct btrfs_key *location) in btrfs_read_fs_root() argument
1538 root = btrfs_read_tree_root(tree_root, location); in btrfs_read_fs_root()
1636 struct btrfs_key *location, in btrfs_get_fs_root() argument
1644 if (location->objectid == BTRFS_ROOT_TREE_OBJECTID) in btrfs_get_fs_root()
1646 if (location->objectid == BTRFS_EXTENT_TREE_OBJECTID) in btrfs_get_fs_root()
1648 if (location->objectid == BTRFS_CHUNK_TREE_OBJECTID) in btrfs_get_fs_root()
1650 if (location->objectid == BTRFS_DEV_TREE_OBJECTID) in btrfs_get_fs_root()
1652 if (location->objectid == BTRFS_CSUM_TREE_OBJECTID) in btrfs_get_fs_root()
1654 if (location->objectid == BTRFS_QUOTA_TREE_OBJECTID) in btrfs_get_fs_root()
1657 if (location->objectid == BTRFS_UUID_TREE_OBJECTID) in btrfs_get_fs_root()
1661 root = btrfs_lookup_fs_root(fs_info, location->objectid); in btrfs_get_fs_root()
1668 root = btrfs_read_fs_root(fs_info->tree_root, location); in btrfs_get_fs_root()
1688 key.offset = location->objectid; in btrfs_get_fs_root()
2205 memset(&BTRFS_I(fs_info->btree_inode)->location, 0, in btrfs_init_btree_inode()
2371 struct btrfs_key location; in btrfs_read_roots() local
2374 location.objectid = BTRFS_EXTENT_TREE_OBJECTID; in btrfs_read_roots()
2375 location.type = BTRFS_ROOT_ITEM_KEY; in btrfs_read_roots()
2376 location.offset = 0; in btrfs_read_roots()
2378 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2384 location.objectid = BTRFS_DEV_TREE_OBJECTID; in btrfs_read_roots()
2385 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2392 location.objectid = BTRFS_CSUM_TREE_OBJECTID; in btrfs_read_roots()
2393 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2399 location.objectid = BTRFS_QUOTA_TREE_OBJECTID; in btrfs_read_roots()
2400 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2408 location.objectid = BTRFS_UUID_TREE_OBJECTID; in btrfs_read_roots()
2409 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2431 struct btrfs_key location; in open_ctree() local
3005 location.objectid = BTRFS_FS_TREE_OBJECTID; in open_ctree()
3006 location.type = BTRFS_ROOT_ITEM_KEY; in open_ctree()
3007 location.offset = 0; in open_ctree()
3009 fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); in open_ctree()