Lines Matching defs:mdsc
928 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
936 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
944 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
957 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
1029 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
1053 void ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_iterate_sessions()
1154 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
1192 static void __unregister_request(struct ceph_mds_client *mdsc, in __unregister_request()
1270 static int __choose_mds(struct ceph_mds_client *mdsc, in __choose_mds()
1523 static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u64 seq) in create_session_open_msg()
1633 static int __open_session(struct ceph_mds_client *mdsc, in __open_session()
1664 __open_export_target_session(struct ceph_mds_client *mdsc, int target) in __open_export_target_session()
1686 ceph_mdsc_open_export_target_session(struct ceph_mds_client *mdsc, int target) in ceph_mdsc_open_export_target_session()
1699 static void __open_export_target_sessions(struct ceph_mds_client *mdsc, in __open_export_target_sessions()
1719 void ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_open_export_target_sessions()
1741 static void dispose_cap_releases(struct ceph_mds_client *mdsc, in dispose_cap_releases()
1753 static void cleanup_session_requests(struct ceph_mds_client *mdsc, in cleanup_session_requests()
1985 static int send_renew_caps(struct ceph_mds_client *mdsc, in send_renew_caps()
2015 static int send_flushmsg_ack(struct ceph_mds_client *mdsc, in send_flushmsg_ack()
2035 static void renewed_caps(struct ceph_mds_client *mdsc, in renewed_caps()
2085 static int __close_session(struct ceph_mds_client *mdsc, in __close_session()
2129 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in trim_caps_cb() local
2207 int ceph_trim_caps(struct ceph_mds_client *mdsc, in ceph_trim_caps()
2228 static int check_caps_flush(struct ceph_mds_client *mdsc, in check_caps_flush()
2253 static void wait_caps_flush(struct ceph_mds_client *mdsc, in wait_caps_flush()
2267 static void ceph_send_cap_releases(struct ceph_mds_client *mdsc, in ceph_send_cap_releases()
2374 void ceph_flush_cap_releases(struct ceph_mds_client *mdsc, in ceph_flush_cap_releases()
2405 struct ceph_mds_client *mdsc = in ceph_cap_reclaim_work() local
2412 void ceph_queue_cap_reclaim_work(struct ceph_mds_client *mdsc) in ceph_queue_cap_reclaim_work()
2424 void ceph_reclaim_caps_nr(struct ceph_mds_client *mdsc, int nr) in ceph_reclaim_caps_nr()
2483 ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op, int mode) in ceph_mdsc_create_request()
2519 static struct ceph_mds_request *__get_oldest_req(struct ceph_mds_client *mdsc) in __get_oldest_req()
2527 static inline u64 __get_oldest_tid(struct ceph_mds_client *mdsc) in __get_oldest_tid()
2612 char *ceph_mdsc_build_path(struct ceph_mds_client *mdsc, struct dentry *dentry, in ceph_mdsc_build_path()
2730 static int build_dentry_path(struct ceph_mds_client *mdsc, struct dentry *dentry, in build_dentry_path()
2760 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in build_inode_path() local
2783 static int set_request_path_attr(struct ceph_mds_client *mdsc, struct inode *rinode, in set_request_path_attr()
2866 struct ceph_mds_client *mdsc = session->s_mdsc; in create_request_message() local
3086 static void complete_request(struct ceph_mds_client *mdsc, in complete_request()
3104 struct ceph_mds_client *mdsc = session->s_mdsc; in __prepare_send_request() local
3233 static void __do_request(struct ceph_mds_client *mdsc, in __do_request()
3438 static void __wake_requests(struct ceph_mds_client *mdsc, in __wake_requests()
3459 static void kick_requests(struct ceph_mds_client *mdsc, int mds) in kick_requests()
3481 int ceph_mdsc_submit_request(struct ceph_mds_client *mdsc, struct inode *dir, in ceph_mdsc_submit_request()
3529 int ceph_mdsc_wait_request(struct ceph_mds_client *mdsc, in ceph_mdsc_wait_request()
3584 int ceph_mdsc_do_request(struct ceph_mds_client *mdsc, in ceph_mdsc_do_request()
3629 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_reply() local
3837 static void handle_forward(struct ceph_mds_client *mdsc, in handle_forward()
3938 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_session() local
4146 static void replay_unsafe_requests(struct ceph_mds_client *mdsc, in replay_unsafe_requests()
4296 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in reconnect_caps_cb() local
4480 static int encode_snap_realms(struct ceph_mds_client *mdsc, in encode_snap_realms()
4550 static void send_mds_reconnect(struct ceph_mds_client *mdsc, in send_mds_reconnect()
4723 static void check_new_map(struct ceph_mds_client *mdsc, in check_new_map()
4896 static void handle_lease(struct ceph_mds_client *mdsc, in handle_lease()
5047 static void maybe_recover_session(struct ceph_mds_client *mdsc) in maybe_recover_session()
5110 static void schedule_delayed(struct ceph_mds_client *mdsc, unsigned long delay) in schedule_delayed()
5123 struct ceph_mds_client *mdsc = in delayed_work() local
5182 struct ceph_mds_client *mdsc; in ceph_mdsc_init() local
5257 static void wait_requests(struct ceph_mds_client *mdsc) in wait_requests()
5311 void ceph_mdsc_pre_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_pre_umount()
5333 static void flush_mdlog_and_wait_mdsc_unsafe_requests(struct ceph_mds_client *mdsc, in flush_mdlog_and_wait_mdsc_unsafe_requests()
5397 void ceph_mdsc_sync(struct ceph_mds_client *mdsc) in ceph_mdsc_sync()
5430 static bool done_closing_sessions(struct ceph_mds_client *mdsc, int skipped) in done_closing_sessions()
5440 void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc) in ceph_mdsc_close_sessions()
5496 void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_force_umount()
5530 static void ceph_mdsc_stop(struct ceph_mds_client *mdsc) in ceph_mdsc_stop()
5552 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mdsc_destroy() local
5570 void ceph_mdsc_handle_fsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_fsmap()
5642 void ceph_mdsc_handle_mdsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_mdsmap()
5727 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_peer_reset() local
5737 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_dispatch() local
5796 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_get_authorizer() local
5813 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_add_authorizer_challenge() local
5823 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_verify_authorizer_reply() local
5835 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_invalidate_authorizer() local