Lines Matching refs:location
1438 struct btrfs_key *location) in btrfs_read_fs_root() argument
1442 root = btrfs_read_tree_root(tree_root, location); in btrfs_read_fs_root()
1541 struct btrfs_key *location, in btrfs_get_fs_root() argument
1549 if (location->objectid == BTRFS_ROOT_TREE_OBJECTID) in btrfs_get_fs_root()
1551 if (location->objectid == BTRFS_EXTENT_TREE_OBJECTID) in btrfs_get_fs_root()
1553 if (location->objectid == BTRFS_CHUNK_TREE_OBJECTID) in btrfs_get_fs_root()
1555 if (location->objectid == BTRFS_DEV_TREE_OBJECTID) in btrfs_get_fs_root()
1557 if (location->objectid == BTRFS_CSUM_TREE_OBJECTID) in btrfs_get_fs_root()
1559 if (location->objectid == BTRFS_QUOTA_TREE_OBJECTID) in btrfs_get_fs_root()
1562 if (location->objectid == BTRFS_UUID_TREE_OBJECTID) in btrfs_get_fs_root()
1565 if (location->objectid == BTRFS_FREE_SPACE_TREE_OBJECTID) in btrfs_get_fs_root()
1569 root = btrfs_lookup_fs_root(fs_info, location->objectid); in btrfs_get_fs_root()
1576 root = btrfs_read_fs_root(fs_info->tree_root, location); in btrfs_get_fs_root()
1596 key.offset = location->objectid; in btrfs_get_fs_root()
2119 memset(&BTRFS_I(inode)->location, 0, sizeof(struct btrfs_key)); in btrfs_init_btree_inode()
2324 struct btrfs_key location; in btrfs_read_roots() local
2329 location.objectid = BTRFS_EXTENT_TREE_OBJECTID; in btrfs_read_roots()
2330 location.type = BTRFS_ROOT_ITEM_KEY; in btrfs_read_roots()
2331 location.offset = 0; in btrfs_read_roots()
2333 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2341 location.objectid = BTRFS_DEV_TREE_OBJECTID; in btrfs_read_roots()
2342 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2351 location.objectid = BTRFS_CSUM_TREE_OBJECTID; in btrfs_read_roots()
2352 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2360 location.objectid = BTRFS_QUOTA_TREE_OBJECTID; in btrfs_read_roots()
2361 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2368 location.objectid = BTRFS_UUID_TREE_OBJECTID; in btrfs_read_roots()
2369 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2380 location.objectid = BTRFS_FREE_SPACE_TREE_OBJECTID; in btrfs_read_roots()
2381 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2393 location.objectid, ret); in btrfs_read_roots()
2628 struct btrfs_key location; in open_ctree() local
3256 location.objectid = BTRFS_FS_TREE_OBJECTID; in open_ctree()
3257 location.type = BTRFS_ROOT_ITEM_KEY; in open_ctree()
3258 location.offset = 0; in open_ctree()
3260 fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); in open_ctree()