Valves incorporated in the piston