Searched refs:monc (Results  1 – 10 of 10) sorted by relevance
| /Linux-v5.4/net/ceph/ | 
| D | mon_client.c | 37 static int __validate_auth(struct ceph_mon_client *monc); 108 static void __send_prepared_auth_request(struct ceph_mon_client *monc, int len)  in __send_prepared_auth_request()  argument 110 	monc->pending_auth = 1;  in __send_prepared_auth_request() 111 	monc->m_auth->front.iov_len = len;  in __send_prepared_auth_request() 112 	monc->m_auth->hdr.front_len = cpu_to_le32(len);  in __send_prepared_auth_request() 113 	ceph_msg_revoke(monc->m_auth);  in __send_prepared_auth_request() 114 	ceph_msg_get(monc->m_auth);  /* keep our ref */  in __send_prepared_auth_request() 115 	ceph_con_send(&monc->con, monc->m_auth);  in __send_prepared_auth_request() 121 static void __close_session(struct ceph_mon_client *monc)  in __close_session()  argument 123 	dout("__close_session closing mon%d\n", monc->cur_mon);  in __close_session() [all …] 
 | 
| D | debugfs.c | 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() 140 	struct ceph_mon_client *monc = &client->monc;  in monc_show()  local 144 	mutex_lock(&monc->mutex);  in monc_show() 146 	for (i = 0; i < ARRAY_SIZE(monc->subs); i++) {  in monc_show() 148 			   monc->subs[i].have);  in monc_show() 149 		if (monc->subs[i].want)  in monc_show() 151 				   le64_to_cpu(monc->subs[i].item.start),  in monc_show() [all …] 
 | 
| D | ceph_common.c | 181 		if (ceph_monmap_contains(client->monc.monmap,  in ceph_compare_options() 634 	return client->monc.auth->global_id;  in ceph_client_gid() 676 	err = ceph_monc_init(&client->monc, client);  in ceph_create_client() 686 	ceph_monc_stop(&client->monc);  in ceph_create_client() 702 	ceph_monc_stop(&client->monc);  in ceph_destroy_client() 717 	ceph_monc_reopen_session(&client->monc);  in ceph_reset_client_addr() 727 	return client->monc.monmap && client->monc.monmap->epoch &&  in have_mon_and_osd_map() 740 	err = ceph_monc_open_session(&client->monc);  in __ceph_open_session() 788 	ret = ceph_monc_get_version(&client->monc, "osdmap", &newest_epoch);  in ceph_wait_for_latest_osdmap() 796 	return ceph_monc_wait_osdmap(&client->monc, newest_epoch, timeout);  in ceph_wait_for_latest_osdmap()
  | 
| D | osd_client.c | 2270 	if (ceph_monc_want_map(&osdc->client->monc, CEPH_SUB_OSDMAP,  in maybe_request_map() 2272 		ceph_monc_renew_subs(&osdc->client->monc);  in maybe_request_map() 2604 	struct ceph_osd_client *osdc = &greq->monc->client->osdc;  in map_check_cb() 2645 	ret = ceph_monc_get_version_async(&osdc->client->monc, "osdmap",  in send_map_check() 3198 	struct ceph_osd_client *osdc = &greq->monc->client->osdc;  in linger_map_check_cb() 3241 	ret = ceph_monc_get_version_async(&osdc->client->monc, "osdmap",  in send_linger_map_check() 4051 	ceph_monc_got_map(&osdc->client->monc, CEPH_SUB_OSDMAP,  in ceph_osdc_handle_map() 5588 	struct ceph_auth_client *ac = osdc->client->monc.auth;  in get_authorizer() 5616 	struct ceph_auth_client *ac = osdc->client->monc.auth;  in add_authorizer_challenge() 5626 	struct ceph_auth_client *ac = osdc->client->monc.auth;  in verify_authorizer_reply() [all …] 
 | 
| /Linux-v5.4/include/linux/ceph/ | 
| 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 110 extern int ceph_monc_init(struct ceph_mon_client *monc, struct ceph_client *cl); 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, 131 void ceph_monc_got_map(struct ceph_mon_client *monc, int sub, u32 epoch); 132 void ceph_monc_renew_subs(struct ceph_mon_client *monc); 134 extern int ceph_monc_wait_osdmap(struct ceph_mon_client *monc, u32 epoch, [all …] 
 | 
| D | libceph.h | 137 	struct ceph_mon_client monc;  member
  | 
| /Linux-v5.4/fs/ceph/ | 
| D | super.c | 49 	struct ceph_mon_client *monc = &fsc->client->monc;  in ceph_statfs()  local 62 	err = ceph_monc_do_statfs(monc, data_pool, &st);  in ceph_statfs() 98 	mutex_lock(&monc->mutex);  in ceph_statfs() 99 	fsid = le64_to_cpu(*(__le64 *)(&monc->monmap->fsid)) ^  in ceph_statfs() 100 	       le64_to_cpu(*((__le64 *)&monc->monmap->fsid + 1));  in ceph_statfs() 101 	mutex_unlock(&monc->mutex);  in ceph_statfs() 682 		ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP,  in create_fs_client() 685 		ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_FSMAP,  in create_fs_client()
  | 
| D | debugfs.c | 176 	struct ceph_auth_client *ac = fsc->client->monc.auth;  in mds_sessions_show()
  | 
| D | mds_client.c | 4513 	ceph_monc_got_map(&fsc->client->monc, CEPH_SUB_FSMAP, epoch);  in ceph_mdsc_handle_fsmap() 4515 		fsc->client->monc.fs_cluster_id = mount_fscid;  in ceph_mdsc_handle_fsmap() 4516 		ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP,  in ceph_mdsc_handle_fsmap() 4518 		ceph_monc_renew_subs(&fsc->client->monc);  in ceph_mdsc_handle_fsmap() 4583 	ceph_monc_got_map(&mdsc->fsc->client->monc, CEPH_SUB_MDSMAP,  in ceph_mdsc_handle_mdsmap() 4693 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;  in get_authorizer() 4721 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;  in add_authorizer_challenge() 4731 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;  in verify_authorizer_reply() 4740 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;  in invalidate_authorizer() 4744 	return ceph_monc_validate_auth(&mdsc->fsc->client->monc);  in invalidate_authorizer()
  | 
| /Linux-v5.4/drivers/block/ | 
| D | rbd.c | 4105 		ret = ceph_monc_blacklist_add(&client->monc,  in rbd_try_lock()
  |