Searched refs:monc (Results 1 – 10 of 10) sorted by relevance
| /linux/net/ceph/ |
| A D | mon_client.c | 182 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 1159 memset(monc, 0, sizeof(*monc)); in ceph_monc_init() [all …]
|
| A D | debugfs.c | 39 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 D | ceph_common.c | 185 if (ceph_monmap_contains(client->monc.monmap, in ceph_compare_options() 720 return client->monc.auth->global_id; in ceph_client_gid() 762 err = ceph_monc_init(&client->monc, client); in ceph_create_client() 772 ceph_monc_stop(&client->monc); in ceph_create_client() 788 ceph_monc_stop(&client->monc); in ceph_destroy_client() 803 ceph_monc_reopen_session(&client->monc); in ceph_reset_client_addr() 813 return client->monc.monmap && client->monc.monmap->epoch && in have_mon_and_osd_map() 826 err = ceph_monc_open_session(&client->monc); in __ceph_open_session() 874 ret = ceph_monc_get_version(&client->monc, "osdmap", &newest_epoch); in ceph_wait_for_latest_osdmap() 882 return ceph_monc_wait_osdmap(&client->monc, newest_epoch, timeout); in ceph_wait_for_latest_osdmap()
|
| A D | osd_client.c | 2332 ceph_monc_renew_subs(&osdc->client->monc); in maybe_request_map() 2667 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in map_check_cb() 3259 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in linger_map_check_cb() 4133 ceph_monc_got_map(&osdc->client->monc, CEPH_SUB_OSDMAP, in ceph_osdc_handle_map() 5548 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_get_authorizer() 5565 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_add_authorizer_challenge() 5575 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_verify_authorizer_reply() 5587 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_invalidate_authorizer() 5590 return ceph_monc_validate_auth(&osdc->client->monc); in osd_invalidate_authorizer() 5652 struct ceph_mon_client *monc = &o->o_osdc->client->monc; in osd_handle_auth_bad_method() local [all …]
|
| /linux/include/linux/ceph/ |
| A D | mon_client.h | 32 typedef void (*ceph_monc_request_func_t)(struct ceph_mon_client *monc, 37 struct ceph_mon_client *monc; member 51 struct ceph_mon_client *monc; member 111 extern void ceph_monc_stop(struct ceph_mon_client *monc); 112 extern void ceph_monc_reopen_session(struct ceph_mon_client *monc); 129 bool ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, 132 void ceph_monc_renew_subs(struct ceph_mon_client *monc); 137 int ceph_monc_do_statfs(struct ceph_mon_client *monc, u64 data_pool, 145 int ceph_monc_blocklist_add(struct ceph_mon_client *monc, 148 extern int ceph_monc_open_session(struct ceph_mon_client *monc); [all …]
|
| A D | libceph.h | 142 struct ceph_mon_client monc; member
|
| /linux/fs/ceph/ |
| A D | super.c | 53 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs() local 65 err = ceph_monc_do_statfs(monc, data_pool, &st); in ceph_statfs() 102 mutex_lock(&monc->mutex); in ceph_statfs() 103 for (i = 0 ; i < sizeof(monc->monmap->fsid) / sizeof(__le32) ; ++i) in ceph_statfs() 104 buf->f_fsid.val[0] ^= le32_to_cpu(((__le32 *)&monc->monmap->fsid)[i]); in ceph_statfs() 105 mutex_unlock(&monc->mutex); in ceph_statfs() 108 buf->f_fsid.val[1] = monc->fs_cluster_id; in ceph_statfs() 659 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, in create_fs_client() 662 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_FSMAP, in create_fs_client()
|
| A D | mds_client.c | 4974 fsc->client->monc.fs_cluster_id = mount_fscid; in ceph_mdsc_handle_fsmap() 4975 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, in ceph_mdsc_handle_fsmap() 4977 ceph_monc_renew_subs(&fsc->client->monc); in ceph_mdsc_handle_fsmap() 5043 ceph_monc_got_map(&mdsc->fsc->client->monc, CEPH_SUB_MDSMAP, in ceph_mdsc_handle_mdsmap() 5150 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_get_authorizer() 5167 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_add_authorizer_challenge() 5177 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_verify_authorizer_reply() 5189 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_invalidate_authorizer() 5193 return ceph_monc_validate_auth(&mdsc->fsc->client->monc); in mds_invalidate_authorizer() 5255 struct ceph_mon_client *monc = &s->s_mdsc->fsc->client->monc; in mds_handle_auth_bad_method() local [all …]
|
| A D | debugfs.c | 315 struct ceph_auth_client *ac = fsc->client->monc.auth; in mds_sessions_show()
|
| /linux/drivers/block/ |
| A D | rbd.c | 3954 ret = ceph_monc_blocklist_add(&client->monc, in rbd_try_lock()
|
Completed in 56 milliseconds