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()
232 ceph_con_send(&monc->con, ceph_msg_get(msg)); in __send_subscribe()
252 ceph_pr_addr(&monc->con.peer_addr.in_addr)); in handle_subscribe_ack()
478 static struct ceph_msg *get_generic_reply(struct ceph_connection *con, in get_generic_reply() argument
482 struct ceph_mon_client *monc = con->private; in get_generic_reply()
517 ceph_con_send(&monc->con, ceph_msg_get(req->request)); in __do_generic_request()
719 ceph_con_send(&monc->con, ceph_msg_get(req->request)); in __resend_generic_request()
739 ceph_con_keepalive(&monc->con); in delayed_work()
827 ceph_con_init(&monc->con, monc, &mon_con_ops, in ceph_monc_init()
966 static void dispatch(struct ceph_connection *con, struct ceph_msg *msg) in dispatch() argument
968 struct ceph_mon_client *monc = con->private; in dispatch()
1014 static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con, in mon_alloc_msg() argument
1018 struct ceph_mon_client *monc = con->private; in mon_alloc_msg()
1030 return get_generic_reply(con, hdr, skip); in mon_alloc_msg()
1036 return get_generic_reply(con, hdr, skip); in mon_alloc_msg()
1058 (unsigned int)con->peer_name.type, in mon_alloc_msg()
1059 le64_to_cpu(con->peer_name.num)); in mon_alloc_msg()
1071 static void mon_fault(struct ceph_connection *con) in mon_fault() argument
1073 struct ceph_mon_client *monc = con->private; in mon_fault()
1080 if (!con->private) in mon_fault()
1086 ceph_pr_addr(&monc->con.peer_addr.in_addr)); in mon_fault()
1106 static struct ceph_connection *con_get(struct ceph_connection *con) in con_get() argument
1108 return con; in con_get()
1111 static void con_put(struct ceph_connection *con) in con_put() argument