Phase diagram of reentrant and magnetic-field-induced superconducting states with Kondo impurities in bulk and proximity-coupled compounds