Lines Matching refs:othercon
76 * othercon handling we can look into other mechanism to synchronize
102 struct connection *othercon;
729 if (con->othercon)
730 clear_bit(CF_IO_STOP, &con->othercon->flags);
736 if (con->othercon)
737 stop_connection_io(con->othercon);
760 if (con->othercon && and_other)
761 close_connection(con->othercon, false);
803 if (con->othercon && and_other)
804 shutdown_connection(con->othercon, false);
1038 * In this case we store the incoming one in "othercon"
1052 struct connection *othercon = newcon->othercon;
1054 if (!othercon) {
1055 othercon = kzalloc(sizeof(*othercon), GFP_NOFS);
1056 if (!othercon) {
1064 dlm_con_init(othercon, nodeid);
1065 lockdep_set_subclass(&othercon->sock_lock, 1);
1066 newcon->othercon = othercon;
1067 set_bit(CF_IS_OTHERCON, &othercon->flags);
1070 close_connection(othercon, false);
1073 down_write(&othercon->sock_lock);
1074 add_sock(newsock, othercon);
1077 lock_sock(othercon->sock->sk);
1078 lowcomms_queue_rwork(othercon);
1079 release_sock(othercon->sock->sk);
1080 up_write(&othercon->sock_lock);
1468 if (con->othercon) {
1469 clean_one_writequeue(con->othercon);
1470 call_srcu(&connections_srcu, &con->othercon->rcu, connection_release);
1541 /* CF_RECV_PENDING cleared for othercon
1739 if (con->othercon)
1740 clean_one_writequeue(con->othercon);
1976 if (con->othercon)
1977 call_srcu(&connections_srcu, &con->othercon->rcu,