Lines Matching defs:mdsc
566 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
574 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
582 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
595 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
671 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
766 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
800 static void __unregister_request(struct ceph_mds_client *mdsc, in __unregister_request()
880 static int __choose_mds(struct ceph_mds_client *mdsc, in __choose_mds()
1073 static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u64 seq) in create_session_open_msg()
1156 static int __open_session(struct ceph_mds_client *mdsc, in __open_session()
1184 __open_export_target_session(struct ceph_mds_client *mdsc, int target) in __open_export_target_session()
1202 ceph_mdsc_open_export_target_session(struct ceph_mds_client *mdsc, int target) in ceph_mdsc_open_export_target_session()
1215 static void __open_export_target_sessions(struct ceph_mds_client *mdsc, in __open_export_target_sessions()
1236 void ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_open_export_target_sessions()
1258 static void dispose_cap_releases(struct ceph_mds_client *mdsc, in dispose_cap_releases()
1270 static void cleanup_session_requests(struct ceph_mds_client *mdsc, in cleanup_session_requests()
1390 struct ceph_mds_client *mdsc = fsc->mdsc; in remove_session_caps_cb() local
1576 static int send_renew_caps(struct ceph_mds_client *mdsc, in send_renew_caps()
1606 static int send_flushmsg_ack(struct ceph_mds_client *mdsc, in send_flushmsg_ack()
1626 static void renewed_caps(struct ceph_mds_client *mdsc, in renewed_caps()
1658 static int request_close_session(struct ceph_mds_client *mdsc, in request_close_session()
1676 static int __close_session(struct ceph_mds_client *mdsc, in __close_session()
1790 int ceph_trim_caps(struct ceph_mds_client *mdsc, in ceph_trim_caps()
1811 static int check_caps_flush(struct ceph_mds_client *mdsc, in check_caps_flush()
1836 static void wait_caps_flush(struct ceph_mds_client *mdsc, in wait_caps_flush()
1850 static void ceph_send_cap_releases(struct ceph_mds_client *mdsc, in ceph_send_cap_releases()
1957 void ceph_flush_cap_releases(struct ceph_mds_client *mdsc, in ceph_flush_cap_releases()
1988 struct ceph_mds_client *mdsc = in ceph_cap_reclaim_work() local
1995 void ceph_queue_cap_reclaim_work(struct ceph_mds_client *mdsc) in ceph_queue_cap_reclaim_work()
2007 void ceph_reclaim_caps_nr(struct ceph_mds_client *mdsc, int nr) in ceph_reclaim_caps_nr()
2064 ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op, int mode) in ceph_mdsc_create_request()
2099 static struct ceph_mds_request *__get_oldest_req(struct ceph_mds_client *mdsc) in __get_oldest_req()
2107 static inline u64 __get_oldest_tid(struct ceph_mds_client *mdsc) in __get_oldest_tid()
2277 static struct ceph_msg *create_request_message(struct ceph_mds_client *mdsc, in create_request_message()
2413 static void complete_request(struct ceph_mds_client *mdsc, in complete_request()
2424 static int __prepare_send_request(struct ceph_mds_client *mdsc, in __prepare_send_request()
2510 static void __do_request(struct ceph_mds_client *mdsc, in __do_request()
2616 static void __wake_requests(struct ceph_mds_client *mdsc, in __wake_requests()
2637 static void kick_requests(struct ceph_mds_client *mdsc, int mds) in kick_requests()
2659 int ceph_mdsc_submit_request(struct ceph_mds_client *mdsc, struct inode *dir, in ceph_mdsc_submit_request()
2684 static int ceph_mdsc_wait_request(struct ceph_mds_client *mdsc, in ceph_mdsc_wait_request()
2738 int ceph_mdsc_do_request(struct ceph_mds_client *mdsc, in ceph_mdsc_do_request()
2783 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_reply() local
2982 static void handle_forward(struct ceph_mds_client *mdsc, in handle_forward()
3061 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_session() local
3210 static void replay_unsafe_requests(struct ceph_mds_client *mdsc, in replay_unsafe_requests()
3503 static int encode_snap_realms(struct ceph_mds_client *mdsc, in encode_snap_realms()
3575 static void send_mds_reconnect(struct ceph_mds_client *mdsc, in send_mds_reconnect()
3748 static void check_new_map(struct ceph_mds_client *mdsc, in check_new_map()
3863 static void handle_lease(struct ceph_mds_client *mdsc, in handle_lease()
4010 static void lock_unlock_sessions(struct ceph_mds_client *mdsc) in lock_unlock_sessions()
4028 static void maybe_recover_session(struct ceph_mds_client *mdsc) in maybe_recover_session()
4055 static void schedule_delayed(struct ceph_mds_client *mdsc, unsigned long delay) in schedule_delayed()
4068 struct ceph_mds_client *mdsc = in delayed_work() local
4142 struct ceph_mds_client *mdsc; in ceph_mdsc_init() local
4216 static void wait_requests(struct ceph_mds_client *mdsc) in wait_requests()
4246 void ceph_mdsc_pre_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_pre_umount()
4267 static void wait_unsafe_requests(struct ceph_mds_client *mdsc, u64 want_tid) in wait_unsafe_requests()
4310 void ceph_mdsc_sync(struct ceph_mds_client *mdsc) in ceph_mdsc_sync()
4343 static bool done_closing_sessions(struct ceph_mds_client *mdsc, int skipped) in done_closing_sessions()
4353 void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc) in ceph_mdsc_close_sessions()
4409 void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_force_umount()
4443 static void ceph_mdsc_stop(struct ceph_mds_client *mdsc) in ceph_mdsc_stop()
4465 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mdsc_destroy() local
4481 void ceph_mdsc_handle_fsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_fsmap()
4560 void ceph_mdsc_handle_mdsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_mdsmap()
4647 struct ceph_mds_client *mdsc = s->s_mdsc; in peer_reset() local
4656 struct ceph_mds_client *mdsc = s->s_mdsc; in dispatch() local
4715 struct ceph_mds_client *mdsc = s->s_mdsc; in get_authorizer() local
4743 struct ceph_mds_client *mdsc = s->s_mdsc; in add_authorizer_challenge() local
4753 struct ceph_mds_client *mdsc = s->s_mdsc; in verify_authorizer_reply() local
4762 struct ceph_mds_client *mdsc = s->s_mdsc; in invalidate_authorizer() local