Lines Matching defs:con
182 ceph_con_send(&monc->con, monc->m_auth);
195 ceph_con_close(&monc->con);
256 ceph_con_open(&monc->con, CEPH_ENTITY_TYPE_MON, monc->cur_mon,
265 ceph_con_keepalive(&monc->con);
283 monc->cur_mon, ceph_pr_addr(&monc->con.peer_addr));
379 ceph_con_send(&monc->con, ceph_msg_get(msg));
645 ceph_con_send(&monc->con, ceph_msg_get(req->request));
706 static struct ceph_msg *get_generic_reply(struct ceph_connection *con,
710 struct ceph_mon_client *monc = con->private;
1074 ceph_con_send(&monc->con, ceph_msg_get(req->request));
1101 if (ceph_con_keepalive_expired(&monc->con,
1109 ceph_con_keepalive(&monc->con);
1115 !(monc->con.peer_features & CEPH_FEATURE_MON_STATEFUL_SUB)) {
1210 ceph_con_init(&monc->con, monc, &mon_con_ops,
1254 * - any work that references our embedded con is finished.
1309 ceph_pr_addr(&monc->con.peer_addr));
1360 static int mon_get_auth_request(struct ceph_connection *con,
1364 struct ceph_mon_client *monc = con->private;
1379 static int mon_handle_auth_reply_more(struct ceph_connection *con,
1384 struct ceph_mon_client *monc = con->private;
1400 static int mon_handle_auth_done(struct ceph_connection *con,
1405 struct ceph_mon_client *monc = con->private;
1423 static int mon_handle_auth_bad_method(struct ceph_connection *con,
1428 struct ceph_mon_client *monc = con->private;
1445 static void mon_dispatch(struct ceph_connection *con, struct ceph_msg *msg)
1447 struct ceph_mon_client *monc = con->private;
1494 static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con,
1498 struct ceph_mon_client *monc = con->private;
1511 return get_generic_reply(con, hdr, skip);
1517 return get_generic_reply(con, hdr, skip);
1541 (unsigned int)con->peer_name.type,
1542 le64_to_cpu(con->peer_name.num));
1554 static void mon_fault(struct ceph_connection *con)
1556 struct ceph_mon_client *monc = con->private;
1577 static struct ceph_connection *mon_get_con(struct ceph_connection *con)
1579 return con;
1582 static void mon_put_con(struct ceph_connection *con)