Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dmon_client.c37 static int __validate_auth(struct ceph_mon_client *monc);
175 static void __send_prepared_auth_request(struct ceph_mon_client *monc, int len) in __send_prepared_auth_request() argument
177 monc->pending_auth = 1; in __send_prepared_auth_request()
178 monc->m_auth->front.iov_len = len; in __send_prepared_auth_request()
179 monc->m_auth->hdr.front_len = cpu_to_le32(len); in __send_prepared_auth_request()
180 ceph_msg_revoke(monc->m_auth); in __send_prepared_auth_request()
181 ceph_msg_get(monc->m_auth); /* keep our ref */ in __send_prepared_auth_request()
182 ceph_con_send(&monc->con, monc->m_auth); in __send_prepared_auth_request()
188 static void __close_session(struct ceph_mon_client *monc) in __close_session() argument
205 pick_new_mon(struct ceph_mon_client * monc) pick_new_mon() argument
239 __open_session(struct ceph_mon_client * monc) __open_session() argument
279 reopen_session(struct ceph_mon_client * monc) reopen_session() argument
289 ceph_monc_reopen_session(struct ceph_mon_client * monc) ceph_monc_reopen_session() argument
296 un_backoff(struct ceph_mon_client * monc) un_backoff() argument
307 __schedule_delayed(struct ceph_mon_client * monc) __schedule_delayed() argument
332 __send_subscribe(struct ceph_mon_client * monc) __send_subscribe() argument
382 handle_subscribe_ack(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_subscribe_ack() argument
420 __ceph_monc_want_map(struct ceph_mon_client * monc,int sub,u32 epoch,bool continuous) __ceph_monc_want_map() argument
441 ceph_monc_want_map(struct ceph_mon_client * monc,int sub,u32 epoch,bool continuous) ceph_monc_want_map() argument
459 __ceph_monc_got_map(struct ceph_mon_client * monc,int sub,u32 epoch) __ceph_monc_got_map() argument
474 ceph_monc_got_map(struct ceph_mon_client * monc,int sub,u32 epoch) ceph_monc_got_map() argument
482 ceph_monc_renew_subs(struct ceph_mon_client * monc) ceph_monc_renew_subs() argument
496 ceph_monc_wait_osdmap(struct ceph_mon_client * monc,u32 epoch,unsigned long timeout) ceph_monc_wait_osdmap() argument
527 ceph_monc_open_session(struct ceph_mon_client * monc) ceph_monc_open_session() argument
539 ceph_monc_handle_map(struct ceph_mon_client * monc,struct ceph_msg * msg) ceph_monc_handle_map() argument
610 alloc_generic_request(struct ceph_mon_client * monc,gfp_t gfp) alloc_generic_request() argument
629 struct ceph_mon_client *monc = req->monc; register_generic_request() local
638 send_generic_request(struct ceph_mon_client * monc,struct ceph_mon_generic_request * req) send_generic_request() argument
650 struct ceph_mon_client *monc = req->monc; __finish_generic_request() local
676 struct ceph_mon_client *monc = req->monc; cancel_generic_request() local
710 struct ceph_mon_client *monc = con->private; get_generic_reply() local
738 handle_statfs_reply(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_statfs_reply() argument
773 ceph_monc_do_statfs(struct ceph_mon_client * monc,u64 data_pool,struct ceph_statfs * buf) ceph_monc_do_statfs() argument
816 handle_get_version_reply(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_get_version_reply() argument
853 __ceph_monc_get_version(struct ceph_mon_client * monc,const char * what,ceph_monc_callback_t cb,u64 private_data) __ceph_monc_get_version() argument
901 ceph_monc_get_version(struct ceph_mon_client * monc,const char * what,u64 * newest) ceph_monc_get_version() argument
925 ceph_monc_get_version_async(struct ceph_mon_client * monc,const char * what,ceph_monc_callback_t cb,u64 private_data) ceph_monc_get_version_async() argument
939 handle_command_ack(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_command_ack() argument
973 do_mon_command_vargs(struct ceph_mon_client * monc,const char * fmt,va_list ap) do_mon_command_vargs() argument
1014 do_mon_command(struct ceph_mon_client * monc,const char * fmt,...) do_mon_command() argument
1025 ceph_monc_blocklist_add(struct ceph_mon_client * monc,struct ceph_entity_addr * client_addr) ceph_monc_blocklist_add() argument
1065 __resend_generic_request(struct ceph_mon_client * monc) __resend_generic_request() argument
1085 struct ceph_mon_client *monc = delayed_work() local
1134 build_initial_monmap(struct ceph_mon_client * monc) build_initial_monmap() argument
1162 ceph_monc_init(struct ceph_mon_client * monc,struct ceph_client * cl) ceph_monc_init() argument
1240 ceph_monc_stop(struct ceph_mon_client * monc) ceph_monc_stop() argument
1273 finish_hunting(struct ceph_mon_client * monc) finish_hunting() argument
1284 finish_auth(struct ceph_mon_client * monc,int auth_err,bool was_authed) finish_auth() argument
1313 handle_auth_reply(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_auth_reply() argument
1334 __validate_auth(struct ceph_mon_client * monc) __validate_auth() argument
1349 ceph_monc_validate_auth(struct ceph_mon_client * monc) ceph_monc_validate_auth() argument
1364 struct ceph_mon_client *monc = con->private; mon_get_auth_request() local
1384 struct ceph_mon_client *monc = con->private; mon_handle_auth_reply_more() local
1405 struct ceph_mon_client *monc = con->private; mon_handle_auth_done() local
1428 struct ceph_mon_client *monc = con->private; mon_handle_auth_bad_method() local
1447 struct ceph_mon_client *monc = con->private; mon_dispatch() local
1498 struct ceph_mon_client *monc = con->private; mon_alloc_msg() local
1556 struct ceph_mon_client *monc = con->private; mon_fault() local
[all...]
H A Ddebugfs.c25 * .../monc - mon client state
39 if (client->monc.monmap == NULL) in monmap_show()
42 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show()
43 for (i = 0; i < client->monc.monmap->num_mon; i++) { 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()
148 for (i = 0; i < ARRAY_SIZE(monc->subs); i++) { in monc_show()
150 monc in monc_show()
[all...]
H 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, "osdma in ceph_wait_for_latest_osdmap()
[all...]
/linux/fs/ceph/
H A Dsuper.c58 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs() local
70 err = ceph_monc_do_statfs(monc, data_pool, &st); in ceph_statfs()
109 mutex_lock(&monc->mutex); in ceph_statfs()
110 for (i = 0 ; i < sizeof(monc->monmap->fsid) / sizeof(__le32) ; ++i) in ceph_statfs()
111 buf->f_fsid.val[0] ^= le32_to_cpu(((__le32 *)&monc->monmap->fsid)[i]); in ceph_statfs()
112 mutex_unlock(&monc->mutex); in ceph_statfs()
115 buf->f_fsid.val[1] = monc->fs_cluster_id; in ceph_statfs()
840 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, in create_fs_client()
843 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_FSMA in create_fs_client()
[all...]
H A Dmds_client.c6100 ceph_monc_got_map(&fsc->client->monc, CEPH_SUB_FSMAP, epoch); in ceph_mdsc_handle_fsmap()
6102 fsc->client->monc.fs_cluster_id = mount_fscid; in ceph_mdsc_handle_fsmap()
6103 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, in ceph_mdsc_handle_fsmap()
6105 ceph_monc_renew_subs(&fsc->client->monc); in ceph_mdsc_handle_fsmap()
6173 ceph_monc_got_map(&mdsc->fsc->client->monc, CEPH_SUB_MDSMAP, in ceph_mdsc_handle_mdsmap()
6286 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_get_authorizer()
6303 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_add_authorizer_challenge()
6313 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_verify_authorizer_reply()
6325 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_invalidate_authorizer()
6329 return ceph_monc_validate_auth(&mdsc->fsc->client->monc); in mds_invalidate_authorizer()
6391 struct ceph_mon_client *monc = &s->s_mdsc->fsc->client->monc; mds_handle_auth_bad_method() local
[all...]
H A Ddebugfs.c320 struct ceph_auth_client *ac = fsc->client->monc.auth; in mds_sessions_show()
/linux/drivers/block/
H A Drbd.c4029 ret = ceph_monc_blocklist_add(&client->monc, in rbd_try_lock()