Lines Matching refs:ceph_mds_client
61 static void __wake_requests(struct ceph_mds_client *mdsc,
678 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
686 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
694 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
707 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
776 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
800 void ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_iterate_sessions()
881 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) in DEFINE_RB_FUNCS()
898 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
936 static void __unregister_request(struct ceph_mds_client *mdsc, in __unregister_request()
1014 static int __choose_mds(struct ceph_mds_client *mdsc, in __choose_mds()
1264 static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u64 seq) in create_session_open_msg()
1374 static int __open_session(struct ceph_mds_client *mdsc, in __open_session()
1402 __open_export_target_session(struct ceph_mds_client *mdsc, int target) in __open_export_target_session()
1424 ceph_mdsc_open_export_target_session(struct ceph_mds_client *mdsc, int target) in ceph_mdsc_open_export_target_session()
1437 static void __open_export_target_sessions(struct ceph_mds_client *mdsc, in __open_export_target_sessions()
1457 void ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_open_export_target_sessions()
1479 static void dispose_cap_releases(struct ceph_mds_client *mdsc, in dispose_cap_releases()
1491 static void cleanup_session_requests(struct ceph_mds_client *mdsc, in cleanup_session_requests()
1714 static int send_renew_caps(struct ceph_mds_client *mdsc, in send_renew_caps()
1744 static int send_flushmsg_ack(struct ceph_mds_client *mdsc, in send_flushmsg_ack()
1764 static void renewed_caps(struct ceph_mds_client *mdsc, in renewed_caps()
1814 static int __close_session(struct ceph_mds_client *mdsc, in __close_session()
1929 int ceph_trim_caps(struct ceph_mds_client *mdsc, in ceph_trim_caps()
1950 static int check_caps_flush(struct ceph_mds_client *mdsc, in check_caps_flush()
1975 static void wait_caps_flush(struct ceph_mds_client *mdsc, in wait_caps_flush()
1989 static void ceph_send_cap_releases(struct ceph_mds_client *mdsc, in ceph_send_cap_releases()
2096 void ceph_flush_cap_releases(struct ceph_mds_client *mdsc, in ceph_flush_cap_releases()
2127 struct ceph_mds_client *mdsc = in ceph_cap_reclaim_work()
2128 container_of(work, struct ceph_mds_client, cap_reclaim_work); in ceph_cap_reclaim_work()
2134 void ceph_queue_cap_reclaim_work(struct ceph_mds_client *mdsc) in ceph_queue_cap_reclaim_work()
2146 void ceph_reclaim_caps_nr(struct ceph_mds_client *mdsc, int nr) in ceph_reclaim_caps_nr()
2204 ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op, int mode) in ceph_mdsc_create_request()
2239 static struct ceph_mds_request *__get_oldest_req(struct ceph_mds_client *mdsc) in __get_oldest_req()
2247 static inline u64 __get_oldest_tid(struct ceph_mds_client *mdsc) in __get_oldest_tid()
2442 struct ceph_mds_client *mdsc = session->s_mdsc; in create_request_message()
2596 static void complete_request(struct ceph_mds_client *mdsc, in complete_request()
2626 struct ceph_mds_client *mdsc = session->s_mdsc; in __prepare_send_request()
2726 static void __do_request(struct ceph_mds_client *mdsc, in __do_request()
2858 static void __wake_requests(struct ceph_mds_client *mdsc, in __wake_requests()
2879 static void kick_requests(struct ceph_mds_client *mdsc, int mds) in kick_requests()
2901 int ceph_mdsc_submit_request(struct ceph_mds_client *mdsc, struct inode *dir, in ceph_mdsc_submit_request()
2949 static int ceph_mdsc_wait_request(struct ceph_mds_client *mdsc, in ceph_mdsc_wait_request()
3003 int ceph_mdsc_do_request(struct ceph_mds_client *mdsc, in ceph_mdsc_do_request()
3048 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_reply()
3260 static void handle_forward(struct ceph_mds_client *mdsc, in handle_forward()
3343 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_session()
3526 static void replay_unsafe_requests(struct ceph_mds_client *mdsc, in replay_unsafe_requests()
3853 static int encode_snap_realms(struct ceph_mds_client *mdsc, in encode_snap_realms()
3923 static void send_mds_reconnect(struct ceph_mds_client *mdsc, in send_mds_reconnect()
4096 static void check_new_map(struct ceph_mds_client *mdsc, in check_new_map()
4269 static void handle_lease(struct ceph_mds_client *mdsc, in handle_lease()
4421 static void maybe_recover_session(struct ceph_mds_client *mdsc) in maybe_recover_session()
4490 static void schedule_delayed(struct ceph_mds_client *mdsc, unsigned long delay) in schedule_delayed()
4503 struct ceph_mds_client *mdsc = in delayed_work()
4504 container_of(work, struct ceph_mds_client, delayed_work.work); in delayed_work()
4562 struct ceph_mds_client *mdsc; in ceph_mdsc_init()
4565 mdsc = kzalloc(sizeof(struct ceph_mds_client), GFP_NOFS); in ceph_mdsc_init()
4634 static void wait_requests(struct ceph_mds_client *mdsc) in wait_requests()
4688 void ceph_mdsc_pre_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_pre_umount()
4710 static void wait_unsafe_requests(struct ceph_mds_client *mdsc, u64 want_tid) in wait_unsafe_requests()
4753 void ceph_mdsc_sync(struct ceph_mds_client *mdsc) in ceph_mdsc_sync()
4786 static bool done_closing_sessions(struct ceph_mds_client *mdsc, int skipped) in done_closing_sessions()
4796 void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc) in ceph_mdsc_close_sessions()
4852 void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_force_umount()
4886 static void ceph_mdsc_stop(struct ceph_mds_client *mdsc) in ceph_mdsc_stop()
4908 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mdsc_destroy()
4926 void ceph_mdsc_handle_fsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_fsmap()
4997 void ceph_mdsc_handle_mdsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_mdsmap()
5081 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_peer_reset()
5090 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_dispatch()
5149 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_get_authorizer()
5166 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_add_authorizer_challenge()
5176 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_verify_authorizer_reply()
5188 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_invalidate_authorizer()