Barcelona and Real Madrid both enjoyed big home wins in La Liga as Deportivo La Coruna breathed life into their fight for survival.