Lines Matching refs:was_up
913 static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up);
914 static int gve_reset_recovery(struct gve_priv *priv, bool was_up);
1436 static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up) in gve_reset_and_teardown() argument
1440 if (was_up) in gve_reset_and_teardown()
1445 static int gve_reset_recovery(struct gve_priv *priv, bool was_up) in gve_reset_recovery() argument
1452 if (was_up) { in gve_reset_recovery()
1466 bool was_up = netif_carrier_ok(priv->dev); in gve_reset() local
1477 gve_reset_and_teardown(priv, was_up); in gve_reset()
1480 if (was_up) { in gve_reset()
1484 gve_reset_and_teardown(priv, was_up); in gve_reset()
1491 err = gve_reset_recovery(priv, was_up); in gve_reset()