Partitioning of oxygen between the Earth's mantle and core