Markets under price controls in partial and general equilibrium