Searched refs:monc (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/net/ceph/ |
D | mon_client.c | 35 static int __validate_auth(struct ceph_mon_client *monc); 104 static void __send_prepared_auth_request(struct ceph_mon_client *monc, int len) in __send_prepared_auth_request() argument 106 monc->pending_auth = 1; in __send_prepared_auth_request() 107 monc->m_auth->front.iov_len = len; in __send_prepared_auth_request() 108 monc->m_auth->hdr.front_len = cpu_to_le32(len); in __send_prepared_auth_request() 109 ceph_msg_revoke(monc->m_auth); in __send_prepared_auth_request() 110 ceph_msg_get(monc->m_auth); /* keep our ref */ in __send_prepared_auth_request() 111 ceph_con_send(&monc->con, monc->m_auth); in __send_prepared_auth_request() 117 static void __close_session(struct ceph_mon_client *monc) in __close_session() argument 119 dout("__close_session closing mon%d\n", monc->cur_mon); in __close_session() [all …]
|
D | debugfs.c | 38 if (client->monc.monmap == NULL) in monmap_show() 41 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show() 42 for (i = 0; i < client->monc.monmap->num_mon; i++) { in monmap_show() 44 &client->monc.monmap->mon_inst[i]; in monmap_show() 113 struct ceph_mon_client *monc = &client->monc; in monc_show() local 116 mutex_lock(&monc->mutex); in monc_show() 118 if (monc->have_mdsmap) in monc_show() 119 seq_printf(s, "have mdsmap %u\n", (unsigned int)monc->have_mdsmap); in monc_show() 120 if (monc->have_osdmap) in monc_show() 121 seq_printf(s, "have osdmap %u\n", (unsigned int)monc->have_osdmap); in monc_show() [all …]
|
D | ceph_common.c | 168 if (ceph_monmap_contains(client->monc.monmap, in ceph_compare_options() 535 return client->monc.auth->global_id; in ceph_client_id() 581 err = ceph_monc_init(&client->monc, client); in ceph_create_client() 591 ceph_monc_stop(&client->monc); in ceph_create_client() 607 ceph_monc_stop(&client->monc); in ceph_destroy_client() 623 return client->monc.monmap && client->monc.monmap->epoch && in have_mon_and_osd_map() 636 err = ceph_monc_open_session(&client->monc); in __ceph_open_session()
|
D | osd_client.c | 1039 struct ceph_auth_client *ac = osd->o_osdc->client->monc.auth; in put_osd() 1549 ceph_monc_request_next_osdmap(&osdc->client->monc); in __ceph_osdc_start_request() 1578 ceph_monc_request_next_osdmap(&osdc->client->monc); in handle_timeout() 2047 ceph_monc_request_next_osdmap(&osdc->client->monc); in kick_requests() 2166 ceph_monc_got_osdmap(&osdc->client->monc, osdc->osdmap->epoch); in ceph_osdc_handle_map() 2176 ceph_monc_request_next_osdmap(&osdc->client->monc); in ceph_osdc_handle_map() 2940 struct ceph_auth_client *ac = osdc->client->monc.auth; in get_authorizer() 2968 struct ceph_auth_client *ac = osdc->client->monc.auth; in verify_authorizer_reply() 2977 struct ceph_auth_client *ac = osdc->client->monc.auth; in invalidate_authorizer() 2980 return ceph_monc_validate_auth(&osdc->client->monc); in invalidate_authorizer()
|
/linux-4.1.27/include/linux/ceph/ |
D | mon_client.h | 31 typedef void (*ceph_monc_request_func_t)(struct ceph_mon_client *monc, 36 struct ceph_mon_client *monc; member 93 extern int ceph_monc_init(struct ceph_mon_client *monc, struct ceph_client *cl); 94 extern void ceph_monc_stop(struct ceph_mon_client *monc); 102 extern int ceph_monc_got_mdsmap(struct ceph_mon_client *monc, u32 have); 103 extern int ceph_monc_got_osdmap(struct ceph_mon_client *monc, u32 have); 105 extern void ceph_monc_request_next_osdmap(struct ceph_mon_client *monc); 106 extern int ceph_monc_wait_osdmap(struct ceph_mon_client *monc, u32 epoch, 109 extern int ceph_monc_do_statfs(struct ceph_mon_client *monc, 112 extern int ceph_monc_do_get_version(struct ceph_mon_client *monc, [all …]
|
D | libceph.h | 131 struct ceph_mon_client monc; member
|
/linux-4.1.27/fs/ceph/ |
D | super.c | 48 struct ceph_monmap *monmap = fsc->client->monc.monmap; in ceph_statfs() 54 err = ceph_monc_do_statfs(&fsc->client->monc, &st); in ceph_statfs() 520 fsc->client->monc.want_mdsmap = 1; in create_fs_client()
|
D | debugfs.c | 163 struct ceph_auth_client *ac = fsc->client->monc.auth; in mds_sessions_show()
|
D | mds_client.c | 381 s->s_mdsc->fsc->client->monc.auth, in ceph_put_mds_session() 3650 ceph_monc_got_mdsmap(&mdsc->fsc->client->monc, epoch); in ceph_mdsc_handle_map() 3779 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in get_authorizer() 3807 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in verify_authorizer_reply() 3816 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in invalidate_authorizer() 3820 return ceph_monc_validate_auth(&mdsc->fsc->client->monc); in invalidate_authorizer()
|
/linux-4.1.27/drivers/block/ |
D | rbd.c | 4992 ret = ceph_monc_do_get_version(&rbdc->client->monc, "osdmap", in rbd_add_get_pool_id() 4998 ceph_monc_request_next_osdmap(&rbdc->client->monc); in rbd_add_get_pool_id() 4999 (void) ceph_monc_wait_osdmap(&rbdc->client->monc, in rbd_add_get_pool_id()
|