Lines Matching refs:location
1542 struct btrfs_key *location) in btrfs_read_fs_root() argument
1546 root = btrfs_read_tree_root(tree_root, location); in btrfs_read_fs_root()
1644 struct btrfs_key *location, in btrfs_get_fs_root() argument
1652 if (location->objectid == BTRFS_ROOT_TREE_OBJECTID) in btrfs_get_fs_root()
1654 if (location->objectid == BTRFS_EXTENT_TREE_OBJECTID) in btrfs_get_fs_root()
1656 if (location->objectid == BTRFS_CHUNK_TREE_OBJECTID) in btrfs_get_fs_root()
1658 if (location->objectid == BTRFS_DEV_TREE_OBJECTID) in btrfs_get_fs_root()
1660 if (location->objectid == BTRFS_CSUM_TREE_OBJECTID) in btrfs_get_fs_root()
1662 if (location->objectid == BTRFS_QUOTA_TREE_OBJECTID) in btrfs_get_fs_root()
1665 if (location->objectid == BTRFS_UUID_TREE_OBJECTID) in btrfs_get_fs_root()
1669 root = btrfs_lookup_fs_root(fs_info, location->objectid); in btrfs_get_fs_root()
1676 root = btrfs_read_fs_root(fs_info->tree_root, location); in btrfs_get_fs_root()
1696 key.offset = location->objectid; in btrfs_get_fs_root()
2251 memset(&BTRFS_I(fs_info->btree_inode)->location, 0, in btrfs_init_btree_inode()
2420 struct btrfs_key location; in btrfs_read_roots() local
2423 location.objectid = BTRFS_EXTENT_TREE_OBJECTID; in btrfs_read_roots()
2424 location.type = BTRFS_ROOT_ITEM_KEY; in btrfs_read_roots()
2425 location.offset = 0; in btrfs_read_roots()
2427 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2433 location.objectid = BTRFS_DEV_TREE_OBJECTID; in btrfs_read_roots()
2434 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2441 location.objectid = BTRFS_CSUM_TREE_OBJECTID; in btrfs_read_roots()
2442 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2448 location.objectid = BTRFS_QUOTA_TREE_OBJECTID; in btrfs_read_roots()
2449 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2457 location.objectid = BTRFS_UUID_TREE_OBJECTID; in btrfs_read_roots()
2458 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2480 struct btrfs_key location; in open_ctree() local
3071 location.objectid = BTRFS_FS_TREE_OBJECTID; in open_ctree()
3072 location.type = BTRFS_ROOT_ITEM_KEY; in open_ctree()
3073 location.offset = 0; in open_ctree()
3075 fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); in open_ctree()