Home
last modified time | relevance | path

Searched refs:monc (Results 1 – 4 of 4) sorted by relevance

/net/ceph/
A Dmon_client.c182 ceph_con_send(&monc->con, monc->m_auth); in __send_prepared_auth_request()
219 if (monc->cur_mon < monc->monmap->num_mon) in pick_new_mon()
233 monc->cur_mon, monc->monmap->num_mon); in pick_new_mon()
257 &monc->monmap->mon_inst[monc->cur_mon].addr); in __open_session()
398 monc->sub_renew_after = monc->sub_renew_sent + in handle_subscribe_ack()
618 req->monc = monc; in alloc_generic_request()
629 struct ceph_mon_client *monc = req->monc; in register_generic_request() local
650 struct ceph_mon_client *monc = req->monc; in __finish_generic_request() local
676 struct ceph_mon_client *monc = req->monc; in cancel_generic_request() local
1167 memset(monc, 0, sizeof(*monc)); in ceph_monc_init()
[all …]
A Ddebugfs.c39 if (client->monc.monmap == NULL) in monmap_show()
45 &client->monc.monmap->mon_inst[i]; in monmap_show()
142 struct ceph_mon_client *monc = &client->monc; in monc_show() local
146 mutex_lock(&monc->mutex); in monc_show()
150 monc->subs[i].have); in monc_show()
151 if (monc->subs[i].want) in monc_show()
154 (monc->subs[i].item.flags & in monc_show()
172 mutex_unlock(&monc->mutex); in monc_show()
393 DEFINE_SHOW_ATTRIBUTE(monc);
412 client->monc.auth->global_id); in ceph_debugfs_client_init()
[all …]
A Dceph_common.c185 if (ceph_monmap_contains(client->monc.monmap, in ceph_compare_options()
700 return client->monc.auth->global_id; in ceph_client_gid()
742 err = ceph_monc_init(&client->monc, client); in ceph_create_client()
752 ceph_monc_stop(&client->monc); in ceph_create_client()
768 ceph_monc_stop(&client->monc); in ceph_destroy_client()
783 ceph_monc_reopen_session(&client->monc); in ceph_reset_client_addr()
793 return client->monc.monmap && client->monc.monmap->epoch && in have_mon_and_osd_map()
806 err = ceph_monc_open_session(&client->monc); in __ceph_open_session()
854 ret = ceph_monc_get_version(&client->monc, "osdmap", &newest_epoch); in ceph_wait_for_latest_osdmap()
862 return ceph_monc_wait_osdmap(&client->monc, newest_epoch, timeout); in ceph_wait_for_latest_osdmap()
A Dosd_client.c2371 ceph_monc_renew_subs(&osdc->client->monc); in maybe_request_map()
2712 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in map_check_cb()
3346 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in linger_map_check_cb()
4228 ceph_monc_got_map(&osdc->client->monc, CEPH_SUB_OSDMAP, in ceph_osdc_handle_map()
5549 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_get_authorizer()
5566 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_add_authorizer_challenge()
5576 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_verify_authorizer_reply()
5588 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_invalidate_authorizer()
5591 return ceph_monc_validate_auth(&osdc->client->monc); in osd_invalidate_authorizer()
5653 struct ceph_mon_client *monc = &o->o_osdc->client->monc; in osd_handle_auth_bad_method() local
[all …]

Completed in 765 milliseconds