Lines Matching refs:location
631 struct btrfs_key *location) in btrfs_read_fs_root_no_cache() argument
643 if (location->offset == (u64)-1) { in btrfs_read_fs_root_no_cache()
645 location->objectid, root); in btrfs_read_fs_root_no_cache()
654 location->objectid); in btrfs_read_fs_root_no_cache()
662 ret = btrfs_search_slot(NULL, tree_root, location, path, 0, 0); in btrfs_read_fs_root_no_cache()
672 memcpy(&root->root_key, location, sizeof(*location)); in btrfs_read_fs_root_no_cache()
722 struct btrfs_key *location) in btrfs_read_fs_root() argument
727 u64 objectid = location->objectid; in btrfs_read_fs_root()
729 if (location->objectid == BTRFS_ROOT_TREE_OBJECTID) in btrfs_read_fs_root()
731 if (location->objectid == BTRFS_CHUNK_TREE_OBJECTID) in btrfs_read_fs_root()
733 if (location->objectid == BTRFS_CSUM_TREE_OBJECTID) in btrfs_read_fs_root()
735 BUG_ON(location->objectid == BTRFS_TREE_RELOC_OBJECTID); in btrfs_read_fs_root()
742 root = btrfs_read_fs_root_no_cache(fs_info, location); in btrfs_read_fs_root()