Lines Matching defs:othercon
75 * othercon handling we can look into other mechanism to synchronize
101 struct connection *othercon;
725 if (con->othercon)
726 clear_bit(CF_IO_STOP, &con->othercon->flags);
732 if (con->othercon)
733 stop_connection_io(con->othercon);
756 if (con->othercon && and_other)
757 close_connection(con->othercon, false);
799 if (con->othercon && and_other)
800 shutdown_connection(con->othercon, false);
1032 * In this case we store the incoming one in "othercon"
1046 struct connection *othercon = newcon->othercon;
1048 if (!othercon) {
1049 othercon = kzalloc(sizeof(*othercon), GFP_NOFS);
1050 if (!othercon) {
1058 dlm_con_init(othercon, nodeid);
1059 lockdep_set_subclass(&othercon->sock_lock, 1);
1060 newcon->othercon = othercon;
1061 set_bit(CF_IS_OTHERCON, &othercon->flags);
1064 close_connection(othercon, false);
1067 down_write(&othercon->sock_lock);
1068 add_sock(newsock, othercon);
1071 lock_sock(othercon->sock->sk);
1072 lowcomms_queue_rwork(othercon);
1073 release_sock(othercon->sock->sk);
1074 up_write(&othercon->sock_lock);
1464 if (con->othercon) {
1465 clean_one_writequeue(con->othercon);
1466 call_srcu(&connections_srcu, &con->othercon->rcu, connection_release);
1521 /* CF_RECV_PENDING cleared for othercon
1731 if (con->othercon)
1732 clean_one_writequeue(con->othercon);
1990 if (con->othercon)
1991 call_srcu(&connections_srcu, &con->othercon->rcu,