Lines Matching refs:othercon
93 struct connection *othercon; member
808 if (con->othercon && and_other) { in close_connection()
810 close_connection(con->othercon, false, tx, rx); in close_connection()
884 if (con->othercon) in dlm_tcp_shutdown()
885 shutdown_connection(con->othercon); in dlm_tcp_shutdown()
1076 struct connection *othercon = newcon->othercon; in accept_from_sock() local
1078 if (!othercon) { in accept_from_sock()
1079 othercon = kzalloc(sizeof(*othercon), GFP_NOFS); in accept_from_sock()
1080 if (!othercon) { in accept_from_sock()
1088 result = dlm_con_init(othercon, nodeid); in accept_from_sock()
1090 kfree(othercon); in accept_from_sock()
1096 lockdep_set_subclass(&othercon->sock_mutex, 1); in accept_from_sock()
1097 set_bit(CF_IS_OTHERCON, &othercon->flags); in accept_from_sock()
1098 newcon->othercon = othercon; in accept_from_sock()
1099 othercon->sendcon = newcon; in accept_from_sock()
1102 close_connection(othercon, false, true, false); in accept_from_sock()
1105 mutex_lock(&othercon->sock_mutex); in accept_from_sock()
1106 add_sock(newsock, othercon); in accept_from_sock()
1107 addcon = othercon; in accept_from_sock()
1108 mutex_unlock(&othercon->sock_mutex); in accept_from_sock()
1517 if (con->othercon) in dlm_lowcomms_close()
1518 clean_one_writequeue(con->othercon); in dlm_lowcomms_close()
1718 if (con->othercon && and_other) in _stop_conn()
1719 _stop_conn(con->othercon, false); in _stop_conn()
1742 if (con->othercon) { in free_conn()
1743 clean_one_writequeue(con->othercon); in free_conn()
1744 call_srcu(&connections_srcu, &con->othercon->rcu, in free_conn()
1769 if (con->othercon) { in work_flush()
1771 &con->othercon->flags); in work_flush()
1773 &con->othercon->flags); in work_flush()