Lines Matching refs:newcon
773 struct connection *newcon;
822 newcon = nodeid2con(nodeid, GFP_NOFS);
823 if (!newcon) {
827 mutex_lock_nested(&newcon->sock_mutex, 1);
828 if (newcon->sock) {
829 struct connection *othercon = newcon->othercon;
835 mutex_unlock(&newcon->sock_mutex);
843 mutex_unlock(&newcon->sock_mutex);
865 newcon->othercon = othercon;
871 newcon->rx_action = receive_from_sock;
875 add_sock(newsock, newcon);
876 addcon = newcon;
879 mutex_unlock(&newcon->sock_mutex);