Searched refs:old_sc (Results 1 – 1 of 1) sorted by relevance
493 struct o2net_sock_container *old_sc = nn->nn_sc; in o2net_set_nn_state() local497 if (old_sc && !sc) in o2net_set_nn_state()499 else if (!old_sc && sc) in o2net_set_nn_state()530 if (old_sc) in o2net_set_nn_state()532 SC_NODEF_FMT "\n", SC_NODEF_ARGS(old_sc)); in o2net_set_nn_state()575 if ((old_sc == NULL) && sc) in o2net_set_nn_state()577 if (old_sc && (old_sc != sc)) { in o2net_set_nn_state()578 o2net_sc_queue_work(old_sc, &old_sc->sc_shutdown_work); in o2net_set_nn_state()579 sc_put(old_sc); in o2net_set_nn_state()