Searched refs:old_sc (Results 1 – 1 of 1) sorted by relevance
492 struct o2net_sock_container *old_sc = nn->nn_sc; in o2net_set_nn_state() local496 if (old_sc && !sc) in o2net_set_nn_state()498 else if (!old_sc && sc) in o2net_set_nn_state()529 if (old_sc) in o2net_set_nn_state()531 SC_NODEF_FMT "\n", SC_NODEF_ARGS(old_sc)); in o2net_set_nn_state()574 if ((old_sc == NULL) && sc) in o2net_set_nn_state()576 if (old_sc && (old_sc != sc)) { in o2net_set_nn_state()577 o2net_sc_queue_work(old_sc, &old_sc->sc_shutdown_work); in o2net_set_nn_state()578 sc_put(old_sc); in o2net_set_nn_state()