Home
last modified time | relevance | path

Searched refs:msgr (Results 1 – 7 of 7) sorted by relevance

/net/ceph/
Dmessenger.c196 void ceph_encode_my_addr(struct ceph_messenger *msgr) in ceph_encode_my_addr() argument
198 if (!ceph_msgr2(from_msgr(msgr))) { in ceph_encode_my_addr()
199 memcpy(&msgr->my_enc_addr, &msgr->inst.addr, in ceph_encode_my_addr()
200 sizeof(msgr->my_enc_addr)); in ceph_encode_my_addr()
201 ceph_encode_banner_addr(&msgr->my_enc_addr); in ceph_encode_my_addr()
347 if (atomic_read(&con->msgr->stopping)) { in ceph_sock_data_ready()
443 ret = sock_create_kern(read_pnet(&con->msgr->net), ss.ss_family, in ceph_tcp_connect()
470 if (ceph_test_opt(from_msgr(con->msgr), TCP_NODELAY)) in ceph_tcp_connect()
519 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_protocol()
557 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_session()
[all …]
Dceph_common.c144 if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net))) in ceph_compare_options()
714 return &client->msgr.inst.addr; in ceph_client_addr()
759 ceph_messenger_init(&client->msgr, myaddr); in ceph_create_client()
774 ceph_messenger_fini(&client->msgr); in ceph_create_client()
784 atomic_set(&client->msgr.stopping, 1); in ceph_destroy_client()
789 ceph_messenger_fini(&client->msgr); in ceph_destroy_client()
802 ceph_messenger_reset_nonce(&client->msgr); in ceph_reset_client_addr()
Dmessenger_v1.c357 con_out_kvec_add(con, sizeof (con->msgr->my_enc_addr), in prepare_write_banner()
358 &con->msgr->my_enc_addr); in prepare_write_banner()
378 unsigned int global_seq = ceph_get_global_seq(con->msgr, 0); in prepare_write_connect()
400 cpu_to_le64(from_msgr(con->msgr)->supported_features); in prepare_write_connect()
469 bool do_datacrc = !ceph_test_opt(from_msgr(con->msgr), NOCRC); in write_partial_message_data()
709 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_banner()
742 ceph_encode_my_addr(con->msgr); in process_banner()
752 u64 sup_feat = from_msgr(con->msgr)->supported_features; in process_connect()
753 u64 req_feat = from_msgr(con->msgr)->required_features; in process_connect()
879 ceph_get_global_seq(con->msgr, in process_connect()
[all …]
Dmessenger_v2.c1363 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_client_ident()
1364 struct ceph_client *client = from_msgr(con->msgr); in prepare_client_ident()
1415 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_session_reconnect()
1889 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_hello()
2171 struct ceph_client *client = from_msgr(con->msgr); in process_server_ident()
2255 struct ceph_client *client = from_msgr(con->msgr); in process_ident_missing_features()
2351 con->v2.global_seq = ceph_get_global_seq(con->msgr, global_seq); in process_session_retry_global()
3068 con->v2.global_seq = ceph_get_global_seq(con->msgr, 0); in ceph_con_v2_try_write()
Dmon_client.c1204 &monc->client->msgr); in ceph_monc_init()
1292 monc->client->msgr.inst.name.type = CEPH_ENTITY_TYPE_CLIENT; in finish_auth()
1293 monc->client->msgr.inst.name.num = in finish_auth()
Dauth_x.c1033 if (ceph_test_opt(from_msgr(msg->con->msgr), NOMSGSIGN)) in ceph_x_sign_message()
1052 if (ceph_test_opt(from_msgr(msg->con->msgr), NOMSGSIGN)) in ceph_x_check_message_signature()
Dosd_client.c1220 ceph_con_init(&osd->o_con, osd, &osd_con_ops, &osdc->client->msgr); in create_osd()