Lines Matching refs:ceph_mds_client

60 static void __wake_requests(struct ceph_mds_client *mdsc,
681 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
689 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
697 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
710 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
788 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
812 void ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_iterate_sessions()
893 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) in DEFINE_RB_FUNCS()
910 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
949 static void __unregister_request(struct ceph_mds_client *mdsc, in __unregister_request()
1028 static int __choose_mds(struct ceph_mds_client *mdsc, in __choose_mds()
1283 static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u64 seq) in create_session_open_msg()
1393 static int __open_session(struct ceph_mds_client *mdsc, in __open_session()
1421 __open_export_target_session(struct ceph_mds_client *mdsc, int target) in __open_export_target_session()
1443 ceph_mdsc_open_export_target_session(struct ceph_mds_client *mdsc, int target) in ceph_mdsc_open_export_target_session()
1456 static void __open_export_target_sessions(struct ceph_mds_client *mdsc, in __open_export_target_sessions()
1476 void ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_open_export_target_sessions()
1498 static void dispose_cap_releases(struct ceph_mds_client *mdsc, in dispose_cap_releases()
1510 static void cleanup_session_requests(struct ceph_mds_client *mdsc, in cleanup_session_requests()
1614 static int remove_capsnaps(struct ceph_mds_client *mdsc, struct inode *inode) in remove_capsnaps()
1641 struct ceph_mds_client *mdsc = fsc->mdsc; in remove_session_caps_cb()
1842 static int send_renew_caps(struct ceph_mds_client *mdsc, in send_renew_caps()
1872 static int send_flushmsg_ack(struct ceph_mds_client *mdsc, in send_flushmsg_ack()
1892 static void renewed_caps(struct ceph_mds_client *mdsc, in renewed_caps()
1942 static int __close_session(struct ceph_mds_client *mdsc, in __close_session()
2057 int ceph_trim_caps(struct ceph_mds_client *mdsc, in ceph_trim_caps()
2078 static int check_caps_flush(struct ceph_mds_client *mdsc, in check_caps_flush()
2103 static void wait_caps_flush(struct ceph_mds_client *mdsc, in wait_caps_flush()
2117 static void ceph_send_cap_releases(struct ceph_mds_client *mdsc, in ceph_send_cap_releases()
2224 void ceph_flush_cap_releases(struct ceph_mds_client *mdsc, in ceph_flush_cap_releases()
2255 struct ceph_mds_client *mdsc = in ceph_cap_reclaim_work()
2256 container_of(work, struct ceph_mds_client, cap_reclaim_work); in ceph_cap_reclaim_work()
2262 void ceph_queue_cap_reclaim_work(struct ceph_mds_client *mdsc) in ceph_queue_cap_reclaim_work()
2274 void ceph_reclaim_caps_nr(struct ceph_mds_client *mdsc, int nr) in ceph_reclaim_caps_nr()
2332 ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op, int mode) in ceph_mdsc_create_request()
2367 static struct ceph_mds_request *__get_oldest_req(struct ceph_mds_client *mdsc) in __get_oldest_req()
2375 static inline u64 __get_oldest_tid(struct ceph_mds_client *mdsc) in __get_oldest_tid()
2549 static struct ceph_msg *create_request_message(struct ceph_mds_client *mdsc, in create_request_message()
2692 static void complete_request(struct ceph_mds_client *mdsc, in complete_request()
2705 static int __prepare_send_request(struct ceph_mds_client *mdsc, in __prepare_send_request()
2792 static int __send_request(struct ceph_mds_client *mdsc, in __send_request()
2812 static void __do_request(struct ceph_mds_client *mdsc, in __do_request()
2934 static void __wake_requests(struct ceph_mds_client *mdsc, in __wake_requests()
2955 static void kick_requests(struct ceph_mds_client *mdsc, int mds) in kick_requests()
2977 int ceph_mdsc_submit_request(struct ceph_mds_client *mdsc, struct inode *dir, in ceph_mdsc_submit_request()
3026 static int ceph_mdsc_wait_request(struct ceph_mds_client *mdsc, in ceph_mdsc_wait_request()
3080 int ceph_mdsc_do_request(struct ceph_mds_client *mdsc, in ceph_mdsc_do_request()
3125 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_reply()
3320 static void handle_forward(struct ceph_mds_client *mdsc, in handle_forward()
3403 struct ceph_mds_client *mdsc = session->s_mdsc; in handle_session()
3571 static void replay_unsafe_requests(struct ceph_mds_client *mdsc, in replay_unsafe_requests()
3898 static int encode_snap_realms(struct ceph_mds_client *mdsc, in encode_snap_realms()
3968 static void send_mds_reconnect(struct ceph_mds_client *mdsc, in send_mds_reconnect()
4143 static void check_new_map(struct ceph_mds_client *mdsc, in check_new_map()
4262 static void handle_lease(struct ceph_mds_client *mdsc, in handle_lease()
4415 static void maybe_recover_session(struct ceph_mds_client *mdsc) in maybe_recover_session()
4486 static void schedule_delayed(struct ceph_mds_client *mdsc, unsigned long delay) in schedule_delayed()
4499 struct ceph_mds_client *mdsc = in delayed_work()
4500 container_of(work, struct ceph_mds_client, delayed_work.work); in delayed_work()
4558 struct ceph_mds_client *mdsc; in ceph_mdsc_init()
4561 mdsc = kzalloc(sizeof(struct ceph_mds_client), GFP_NOFS); in ceph_mdsc_init()
4641 static void wait_requests(struct ceph_mds_client *mdsc) in wait_requests()
4695 void ceph_mdsc_pre_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_pre_umount()
4717 static void wait_unsafe_requests(struct ceph_mds_client *mdsc, u64 want_tid) in wait_unsafe_requests()
4760 void ceph_mdsc_sync(struct ceph_mds_client *mdsc) in ceph_mdsc_sync()
4793 static bool done_closing_sessions(struct ceph_mds_client *mdsc, int skipped) in done_closing_sessions()
4803 void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc) in ceph_mdsc_close_sessions()
4859 void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc) in ceph_mdsc_force_umount()
4893 static void ceph_mdsc_stop(struct ceph_mds_client *mdsc) in ceph_mdsc_stop()
4915 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mdsc_destroy()
4933 void ceph_mdsc_handle_fsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_fsmap()
5012 void ceph_mdsc_handle_mdsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) in ceph_mdsc_handle_mdsmap()
5095 struct ceph_mds_client *mdsc = s->s_mdsc; in peer_reset()
5104 struct ceph_mds_client *mdsc = s->s_mdsc; in dispatch()
5163 struct ceph_mds_client *mdsc = s->s_mdsc; in get_authorizer()
5191 struct ceph_mds_client *mdsc = s->s_mdsc; in add_authorizer_challenge()
5201 struct ceph_mds_client *mdsc = s->s_mdsc; in verify_authorizer_reply()
5210 struct ceph_mds_client *mdsc = s->s_mdsc; in invalidate_authorizer()