Lines Matching refs:ceph_mds_client
61 static void __wake_requests(struct ceph_mds_client *mdsc,
775 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
783 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
791 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
804 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
873 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
897 void ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_iterate_sessions()
978 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) in DEFINE_RB_FUNCS()
995 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
1033 static void __unregister_request(struct ceph_mds_client *mdsc, in __unregister_request()
1111 static int __choose_mds(struct ceph_mds_client *mdsc, in __choose_mds()
1364 static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u64 seq) in create_session_open_msg()
1474 static int __open_session(struct ceph_mds_client *mdsc, in __open_session()
1502 __open_export_target_session(struct ceph_mds_client *mdsc, int target) in __open_export_target_session()
1524 ceph_mdsc_open_export_target_session(struct ceph_mds_client *mdsc, int target) in ceph_mdsc_open_export_target_session()
1537 static void __open_export_target_sessions(struct ceph_mds_client *mdsc, in __open_export_target_sessions()
1557 void ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_open_export_target_sessions()
1579 static void dispose_cap_releases(struct ceph_mds_client *mdsc, in dispose_cap_releases()
1591 static void cleanup_session_requests(struct ceph_mds_client *mdsc, in cleanup_session_requests()
1814 static int send_renew_caps(struct ceph_mds_client *mdsc, in send_renew_caps()
1844 static int send_flushmsg_ack(struct ceph_mds_client *mdsc, in send_flushmsg_ack()
1864 static void renewed_caps(struct ceph_mds_client *mdsc, in renewed_caps()
1914 static int __close_session(struct ceph_mds_client *mdsc, in __close_session()
2029 int ceph_trim_caps(struct ceph_mds_client *mdsc, in ceph_trim_caps()
2050 static int check_caps_flush(struct ceph_mds_client *mdsc, in check_caps_flush()
2075 static void wait_caps_flush(struct ceph_mds_client *mdsc, in wait_caps_flush()
2089 static void ceph_send_cap_releases(struct ceph_mds_client *mdsc, in ceph_send_cap_releases()
2196 void ceph_flush_cap_releases(struct ceph_mds_client *mdsc, in ceph_flush_cap_releases()
2227 struct ceph_mds_client *mdsc = in ceph_cap_reclaim_work()
2228 container_of(work, struct ceph_mds_client, cap_reclaim_work); in ceph_cap_reclaim_work()
2234 void ceph_queue_cap_reclaim_work(struct ceph_mds_client *mdsc) in ceph_queue_cap_reclaim_work()
2246 void ceph_reclaim_caps_nr(struct ceph_mds_client *mdsc, int nr) in ceph_reclaim_caps_nr()
2305 ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op, int mode) in ceph_mdsc_create_request()
2341 static struct ceph_mds_request *__get_oldest_req(struct ceph_mds_client *mdsc) in __get_oldest_req()
2349 static inline u64 __get_oldest_tid(struct ceph_mds_client *mdsc) in __get_oldest_tid()
2544 struct ceph_mds_client *mdsc = session->s_mdsc; in create_request_message()
2698 static void complete_request(struct ceph_mds_client *mdsc, in complete_request()
2728 struct ceph_mds_client *mdsc = session->s_mdsc; in __prepare_send_request()
2849 static void __do_request(struct ceph_mds_client *mdsc, in __do_request()
3049 static void __wake_requests(struct ceph_mds_client *mdsc, in __wake_requests()
3070 static void kick_requests(struct ceph_mds_client *mdsc, int mds) in kick_requests()
3092 int ceph_mdsc_submit_request(struct ceph_mds_client *mdsc, struct inode *dir, in ceph_mdsc_submit_request()
3140 int ceph_mdsc_wait_request(struct ceph_mds_client *mdsc, in ceph_mdsc_wait_request()
3195 int ceph_mdsc_do_request(struct ceph_mds_client *mdsc, in ceph_mdsc_do_request()
3240 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_reply()
3423 static void handle_forward(struct ceph_mds_client *mdsc, in handle_forward()
3535 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_session()
3737 static void replay_unsafe_requests(struct ceph_mds_client *mdsc, in replay_unsafe_requests()
4064 static int encode_snap_realms(struct ceph_mds_client *mdsc, in encode_snap_realms()
4134 static void send_mds_reconnect(struct ceph_mds_client *mdsc, in send_mds_reconnect()
4307 static void check_new_map(struct ceph_mds_client *mdsc, in check_new_map()
4480 static void handle_lease(struct ceph_mds_client *mdsc, in handle_lease()
4626 static void maybe_recover_session(struct ceph_mds_client *mdsc) in maybe_recover_session()
4689 static void schedule_delayed(struct ceph_mds_client *mdsc, unsigned long delay) in schedule_delayed()
4702 struct ceph_mds_client *mdsc = in delayed_work()
4703 container_of(work, struct ceph_mds_client, delayed_work.work); in delayed_work()
4761 struct ceph_mds_client *mdsc; in ceph_mdsc_init()
4764 mdsc = kzalloc(sizeof(struct ceph_mds_client), GFP_NOFS); in ceph_mdsc_init()
4833 static void wait_requests(struct ceph_mds_client *mdsc) in wait_requests()
4887 void ceph_mdsc_pre_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_pre_umount()
4909 static void flush_mdlog_and_wait_mdsc_unsafe_requests(struct ceph_mds_client *mdsc, in flush_mdlog_and_wait_mdsc_unsafe_requests()
4973 void ceph_mdsc_sync(struct ceph_mds_client *mdsc) in ceph_mdsc_sync()
5006 static bool done_closing_sessions(struct ceph_mds_client *mdsc, int skipped) in done_closing_sessions()
5016 void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc) in ceph_mdsc_close_sessions()
5072 void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_force_umount()
5106 static void ceph_mdsc_stop(struct ceph_mds_client *mdsc) in ceph_mdsc_stop()
5128 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mdsc_destroy()
5146 void ceph_mdsc_handle_fsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_fsmap()
5217 void ceph_mdsc_handle_mdsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_mdsmap()
5301 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_peer_reset()
5310 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_dispatch()
5369 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_get_authorizer()
5386 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_add_authorizer_challenge()
5396 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_verify_authorizer_reply()
5408 struct ceph_mds_client *mdsc = s->s_mdsc; in mds_invalidate_authorizer()