Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/ceph/
Dmon_client.h32 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 int ceph_monc_init(struct ceph_mon_client *monc, struct ceph_client *cl);
112 extern void ceph_monc_stop(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,
137 int ceph_monc_do_statfs(struct ceph_mon_client *monc, u64 data_pool,
[all …]
Dlibceph.h134 struct ceph_mon_client monc; member
/linux-4.19.296/fs/ceph/
Dsuper.c48 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs() local
61 err = ceph_monc_do_statfs(monc, data_pool, &st); in ceph_statfs()
97 mutex_lock(&monc->mutex); in ceph_statfs()
98 fsid = le64_to_cpu(*(__le64 *)(&monc->monmap->fsid)) ^ in ceph_statfs()
99 le64_to_cpu(*((__le64 *)&monc->monmap->fsid + 1)); in ceph_statfs()
100 mutex_unlock(&monc->mutex); in ceph_statfs()
668 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, in create_fs_client()
671 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_FSMAP, in create_fs_client()
Ddebugfs.c163 struct ceph_auth_client *ac = fsc->client->monc.auth; in mds_sessions_show()
Dmds_client.c4046 ceph_monc_got_map(&fsc->client->monc, CEPH_SUB_FSMAP, epoch); in ceph_mdsc_handle_fsmap()
4048 fsc->client->monc.fs_cluster_id = mount_fscid; in ceph_mdsc_handle_fsmap()
4049 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, in ceph_mdsc_handle_fsmap()
4051 ceph_monc_renew_subs(&fsc->client->monc); in ceph_mdsc_handle_fsmap()
4116 ceph_monc_got_map(&mdsc->fsc->client->monc, CEPH_SUB_MDSMAP, in ceph_mdsc_handle_mdsmap()
4226 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in get_authorizer()
4254 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in add_authorizer_challenge()
4264 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in verify_authorizer_reply()
4273 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in invalidate_authorizer()
4277 return ceph_monc_validate_auth(&mdsc->fsc->client->monc); in invalidate_authorizer()