Quantum oscillations in the mixed state of d -wave superconductors