Lines Matching refs:fsc
381 s->s_mdsc->fsc->client->monc.auth, in ceph_put_mds_session()
442 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()
721 if (dir->i_sb != mdsc->fsc->sb) { in __choose_mds()
844 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg()
1168 struct super_block *sb = session->s_mdsc->fsc->sb; in remove_session_caps()
1438 int extra = mdsc->fsc->mount_options->cap_release_safety; in ceph_add_cap_releases()
1625 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
2472 err = ceph_fill_trace(mdsc->fsc->sb, req, req->r_session); in handle_reply()
2895 if (mdsc->fsc->sb->s_root) in send_mds_reconnect()
2896 shrink_dcache_parent(mdsc->fsc->sb->s_root); in send_mds_reconnect()
3096 struct super_block *sb = mdsc->fsc->sb; in handle_lease()
3369 int ceph_mdsc_init(struct ceph_fs_client *fsc) in ceph_mdsc_init() argument
3377 mdsc->fsc = fsc; in ceph_mdsc_init()
3378 fsc->mdsc = mdsc; in ceph_mdsc_init()
3415 ceph_adjust_min_caps(mdsc, fsc->min_caps); in ceph_mdsc_init()
3427 struct ceph_fs_client *fsc = mdsc->fsc; in wait_requests() local
3435 fsc->client->options->mount_timeout * HZ); in wait_requests()
3518 if (mdsc->fsc->mount_state == CEPH_MOUNT_SHUTDOWN) in ceph_mdsc_sync()
3542 if (mdsc->fsc->mount_state == CEPH_MOUNT_SHUTDOWN) in done_closing_sessions()
3554 struct ceph_fs_client *fsc = mdsc->fsc; in ceph_mdsc_close_sessions() local
3555 unsigned long timeout = fsc->client->options->mount_timeout * HZ; in ceph_mdsc_close_sessions()
3612 void ceph_mdsc_destroy(struct ceph_fs_client *fsc) in ceph_mdsc_destroy() argument
3614 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mdsc_destroy()
3622 fsc->mdsc = NULL; in ceph_mdsc_destroy()
3643 if (ceph_check_fsid(mdsc->fsc->client, &fsid) < 0) in ceph_mdsc_handle_map()
3650 ceph_monc_got_mdsmap(&mdsc->fsc->client->monc, epoch); in ceph_mdsc_handle_map()
3674 mdsc->fsc->sb->s_maxbytes = mdsc->mdsmap->m_max_file_size; in ceph_mdsc_handle_map()
3779 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in get_authorizer()
3807 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in verify_authorizer_reply()
3816 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in invalidate_authorizer()
3820 return ceph_monc_validate_auth(&mdsc->fsc->client->monc); in invalidate_authorizer()