Lines Matching refs:ceph_mds_client

58 static void __wake_requests(struct ceph_mds_client *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()
747 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) in DEFINE_RB_FUNCS()
764 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
798 static void __unregister_request(struct ceph_mds_client *mdsc, in __unregister_request()
878 static int __choose_mds(struct ceph_mds_client *mdsc, in __choose_mds()
1071 static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u64 seq) in create_session_open_msg()
1154 static int __open_session(struct ceph_mds_client *mdsc, in __open_session()
1182 __open_export_target_session(struct ceph_mds_client *mdsc, int target) in __open_export_target_session()
1200 ceph_mdsc_open_export_target_session(struct ceph_mds_client *mdsc, int target) in ceph_mdsc_open_export_target_session()
1213 static void __open_export_target_sessions(struct ceph_mds_client *mdsc, in __open_export_target_sessions()
1234 void ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_open_export_target_sessions()
1256 static void dispose_cap_releases(struct ceph_mds_client *mdsc, in dispose_cap_releases()
1268 static void cleanup_session_requests(struct ceph_mds_client *mdsc, in cleanup_session_requests()
1395 struct ceph_mds_client *mdsc = fsc->mdsc; in remove_session_caps_cb()
1581 static int send_renew_caps(struct ceph_mds_client *mdsc, in send_renew_caps()
1611 static int send_flushmsg_ack(struct ceph_mds_client *mdsc, in send_flushmsg_ack()
1631 static void renewed_caps(struct ceph_mds_client *mdsc, in renewed_caps()
1663 static int request_close_session(struct ceph_mds_client *mdsc, in request_close_session()
1681 static int __close_session(struct ceph_mds_client *mdsc, in __close_session()
1795 int ceph_trim_caps(struct ceph_mds_client *mdsc, in ceph_trim_caps()
1816 static int check_caps_flush(struct ceph_mds_client *mdsc, in check_caps_flush()
1841 static void wait_caps_flush(struct ceph_mds_client *mdsc, in wait_caps_flush()
1855 static void ceph_send_cap_releases(struct ceph_mds_client *mdsc, in ceph_send_cap_releases()
1962 void ceph_flush_cap_releases(struct ceph_mds_client *mdsc, in ceph_flush_cap_releases()
1993 struct ceph_mds_client *mdsc = in ceph_cap_reclaim_work()
1994 container_of(work, struct ceph_mds_client, cap_reclaim_work); in ceph_cap_reclaim_work()
2000 void ceph_queue_cap_reclaim_work(struct ceph_mds_client *mdsc) in ceph_queue_cap_reclaim_work()
2012 void ceph_reclaim_caps_nr(struct ceph_mds_client *mdsc, int nr) in ceph_reclaim_caps_nr()
2069 ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op, int mode) in ceph_mdsc_create_request()
2104 static struct ceph_mds_request *__get_oldest_req(struct ceph_mds_client *mdsc) in __get_oldest_req()
2112 static inline u64 __get_oldest_tid(struct ceph_mds_client *mdsc) in __get_oldest_tid()
2282 static struct ceph_msg *create_request_message(struct ceph_mds_client *mdsc, in create_request_message()
2418 static void complete_request(struct ceph_mds_client *mdsc, in complete_request()
2429 static int __prepare_send_request(struct ceph_mds_client *mdsc, in __prepare_send_request()
2515 static void __do_request(struct ceph_mds_client *mdsc, in __do_request()
2622 static void __wake_requests(struct ceph_mds_client *mdsc, in __wake_requests()
2643 static void kick_requests(struct ceph_mds_client *mdsc, int mds) in kick_requests()
2665 int ceph_mdsc_submit_request(struct ceph_mds_client *mdsc, struct inode *dir, in ceph_mdsc_submit_request()
2688 static int ceph_mdsc_wait_request(struct ceph_mds_client *mdsc, in ceph_mdsc_wait_request()
2742 int ceph_mdsc_do_request(struct ceph_mds_client *mdsc, in ceph_mdsc_do_request()
2787 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_reply()
2986 static void handle_forward(struct ceph_mds_client *mdsc, in handle_forward()
3065 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_session()
3208 static void replay_unsafe_requests(struct ceph_mds_client *mdsc, in replay_unsafe_requests()
3501 static int encode_snap_realms(struct ceph_mds_client *mdsc, in encode_snap_realms()
3573 static void send_mds_reconnect(struct ceph_mds_client *mdsc, in send_mds_reconnect()
3746 static void check_new_map(struct ceph_mds_client *mdsc, in check_new_map()
3861 static void handle_lease(struct ceph_mds_client *mdsc, in handle_lease()
4008 static void lock_unlock_sessions(struct ceph_mds_client *mdsc) in lock_unlock_sessions()
4026 static void maybe_recover_session(struct ceph_mds_client *mdsc) in maybe_recover_session()
4051 static void schedule_delayed(struct ceph_mds_client *mdsc) in schedule_delayed()
4061 struct ceph_mds_client *mdsc = in delayed_work()
4062 container_of(work, struct ceph_mds_client, delayed_work.work); in delayed_work()
4130 struct ceph_mds_client *mdsc; in ceph_mdsc_init()
4132 mdsc = kzalloc(sizeof(struct ceph_mds_client), GFP_NOFS); in ceph_mdsc_init()
4202 static void wait_requests(struct ceph_mds_client *mdsc) in wait_requests()
4232 void ceph_mdsc_pre_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_pre_umount()
4253 static void wait_unsafe_requests(struct ceph_mds_client *mdsc, u64 want_tid) in wait_unsafe_requests()
4296 void ceph_mdsc_sync(struct ceph_mds_client *mdsc) in ceph_mdsc_sync()
4329 static bool done_closing_sessions(struct ceph_mds_client *mdsc, int skipped) in done_closing_sessions()
4339 void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc) in ceph_mdsc_close_sessions()
4395 void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_force_umount()
4429 static void ceph_mdsc_stop(struct ceph_mds_client *mdsc) in ceph_mdsc_stop()
4442 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mdsc_destroy()
4458 void ceph_mdsc_handle_fsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_fsmap()
4537 void ceph_mdsc_handle_mdsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_mdsmap()
4624 struct ceph_mds_client *mdsc = s->s_mdsc; in peer_reset()
4633 struct ceph_mds_client *mdsc = s->s_mdsc; in dispatch()
4692 struct ceph_mds_client *mdsc = s->s_mdsc; in get_authorizer()
4720 struct ceph_mds_client *mdsc = s->s_mdsc; in add_authorizer_challenge()
4730 struct ceph_mds_client *mdsc = s->s_mdsc; in verify_authorizer_reply()
4739 struct ceph_mds_client *mdsc = s->s_mdsc; in invalidate_authorizer()