Lines Matching defs:con
825 struct connection *con = NULL;
830 list_for_each_entry(con, &node->conn_deleting_list, list) {
831 tcp = con->connect_handle;
834 kref_read(&con->ref_cnt));
992 struct hmdfs_peer *con = NULL;
998 list_for_each_entry(con, &sbi->connections.node_list, list) {
999 if (con->status != NODE_STAT_ONLINE ||
1000 con->device_id != device_id)
1002 lookup = con;
1013 struct hmdfs_peer *con = NULL;
1019 list_for_each_entry(con, &sbi->connections.node_list, list) {
1020 if (strncmp(con->cid, cid, HMDFS_CID_SIZE) != 0)
1022 lookup = con;
1223 struct hmdfs_peer *con;
1227 con = head->peer;
1228 idr_remove(&con->msg_idr, head->msg_id);
1229 spin_unlock(&con->idr_lock);