Lines Matching refs:con

111 	ceph_con_send(&monc->con, monc->m_auth);  in __send_prepared_auth_request()
124 ceph_con_close(&monc->con); in __close_session()
148 ceph_con_open(&monc->con, in __open_session()
154 ceph_con_keepalive(&monc->con); in __open_session()
241 ceph_con_send(&monc->con, ceph_msg_get(msg)); in __send_subscribe()
261 ceph_pr_addr(&monc->con.peer_addr.in_addr)); in handle_subscribe_ack()
494 static struct ceph_msg *get_generic_reply(struct ceph_connection *con, in get_generic_reply() argument
498 struct ceph_mon_client *monc = con->private; in get_generic_reply()
533 ceph_con_send(&monc->con, ceph_msg_get(req->request)); in __do_generic_request()
735 ceph_con_send(&monc->con, ceph_msg_get(req->request)); in __resend_generic_request()
757 if (ceph_con_keepalive_expired(&monc->con, in delayed_work()
767 ceph_con_keepalive(&monc->con); in delayed_work()
855 ceph_con_init(&monc->con, monc, &mon_con_ops, in ceph_monc_init()
994 static void dispatch(struct ceph_connection *con, struct ceph_msg *msg) in dispatch() argument
996 struct ceph_mon_client *monc = con->private; in dispatch()
1042 static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con, in mon_alloc_msg() argument
1046 struct ceph_mon_client *monc = con->private; in mon_alloc_msg()
1058 return get_generic_reply(con, hdr, skip); in mon_alloc_msg()
1064 return get_generic_reply(con, hdr, skip); in mon_alloc_msg()
1086 (unsigned int)con->peer_name.type, in mon_alloc_msg()
1087 le64_to_cpu(con->peer_name.num)); in mon_alloc_msg()
1099 static void mon_fault(struct ceph_connection *con) in mon_fault() argument
1101 struct ceph_mon_client *monc = con->private; in mon_fault()
1108 if (!con->private) in mon_fault()
1114 ceph_pr_addr(&monc->con.peer_addr.in_addr)); in mon_fault()
1134 static struct ceph_connection *con_get(struct ceph_connection *con) in con_get() argument
1136 return con; in con_get()
1139 static void con_put(struct ceph_connection *con) in con_put() argument