H A D | mon_client.c | 37 static int __validate_auth(struct ceph_mon_client *monc); 175 static void __send_prepared_auth_request(struct ceph_mon_client *monc, int len) in __send_prepared_auth_request() argument 177 monc->pending_auth = 1; in __send_prepared_auth_request() 178 monc->m_auth->front.iov_len = len; in __send_prepared_auth_request() 179 monc->m_auth->hdr.front_len = cpu_to_le32(len); in __send_prepared_auth_request() 180 ceph_msg_revoke(monc->m_auth); in __send_prepared_auth_request() 181 ceph_msg_get(monc->m_auth); /* keep our ref */ in __send_prepared_auth_request() 182 ceph_con_send(&monc->con, monc->m_auth); in __send_prepared_auth_request() 188 static void __close_session(struct ceph_mon_client *monc) in __close_session() argument 205 pick_new_mon(struct ceph_mon_client * monc) pick_new_mon() argument 239 __open_session(struct ceph_mon_client * monc) __open_session() argument 279 reopen_session(struct ceph_mon_client * monc) reopen_session() argument 289 ceph_monc_reopen_session(struct ceph_mon_client * monc) ceph_monc_reopen_session() argument 296 un_backoff(struct ceph_mon_client * monc) un_backoff() argument 307 __schedule_delayed(struct ceph_mon_client * monc) __schedule_delayed() argument 332 __send_subscribe(struct ceph_mon_client * monc) __send_subscribe() argument 382 handle_subscribe_ack(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_subscribe_ack() argument 420 __ceph_monc_want_map(struct ceph_mon_client * monc,int sub,u32 epoch,bool continuous) __ceph_monc_want_map() argument 441 ceph_monc_want_map(struct ceph_mon_client * monc,int sub,u32 epoch,bool continuous) ceph_monc_want_map() argument 459 __ceph_monc_got_map(struct ceph_mon_client * monc,int sub,u32 epoch) __ceph_monc_got_map() argument 474 ceph_monc_got_map(struct ceph_mon_client * monc,int sub,u32 epoch) ceph_monc_got_map() argument 482 ceph_monc_renew_subs(struct ceph_mon_client * monc) ceph_monc_renew_subs() argument 496 ceph_monc_wait_osdmap(struct ceph_mon_client * monc,u32 epoch,unsigned long timeout) ceph_monc_wait_osdmap() argument 527 ceph_monc_open_session(struct ceph_mon_client * monc) ceph_monc_open_session() argument 539 ceph_monc_handle_map(struct ceph_mon_client * monc,struct ceph_msg * msg) ceph_monc_handle_map() argument 610 alloc_generic_request(struct ceph_mon_client * monc,gfp_t gfp) alloc_generic_request() argument 629 struct ceph_mon_client *monc = req->monc; register_generic_request() local 638 send_generic_request(struct ceph_mon_client * monc,struct ceph_mon_generic_request * req) send_generic_request() argument 650 struct ceph_mon_client *monc = req->monc; __finish_generic_request() local 676 struct ceph_mon_client *monc = req->monc; cancel_generic_request() local 710 struct ceph_mon_client *monc = con->private; get_generic_reply() local 738 handle_statfs_reply(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_statfs_reply() argument 773 ceph_monc_do_statfs(struct ceph_mon_client * monc,u64 data_pool,struct ceph_statfs * buf) ceph_monc_do_statfs() argument 816 handle_get_version_reply(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_get_version_reply() argument 853 __ceph_monc_get_version(struct ceph_mon_client * monc,const char * what,ceph_monc_callback_t cb,u64 private_data) __ceph_monc_get_version() argument 901 ceph_monc_get_version(struct ceph_mon_client * monc,const char * what,u64 * newest) ceph_monc_get_version() argument 925 ceph_monc_get_version_async(struct ceph_mon_client * monc,const char * what,ceph_monc_callback_t cb,u64 private_data) ceph_monc_get_version_async() argument 939 handle_command_ack(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_command_ack() argument 973 do_mon_command_vargs(struct ceph_mon_client * monc,const char * fmt,va_list ap) do_mon_command_vargs() argument 1014 do_mon_command(struct ceph_mon_client * monc,const char * fmt,...) do_mon_command() argument 1025 ceph_monc_blocklist_add(struct ceph_mon_client * monc,struct ceph_entity_addr * client_addr) ceph_monc_blocklist_add() argument 1065 __resend_generic_request(struct ceph_mon_client * monc) __resend_generic_request() argument 1085 struct ceph_mon_client *monc = delayed_work() local 1134 build_initial_monmap(struct ceph_mon_client * monc) build_initial_monmap() argument 1162 ceph_monc_init(struct ceph_mon_client * monc,struct ceph_client * cl) ceph_monc_init() argument 1240 ceph_monc_stop(struct ceph_mon_client * monc) ceph_monc_stop() argument 1273 finish_hunting(struct ceph_mon_client * monc) finish_hunting() argument 1284 finish_auth(struct ceph_mon_client * monc,int auth_err,bool was_authed) finish_auth() argument 1313 handle_auth_reply(struct ceph_mon_client * monc,struct ceph_msg * msg) handle_auth_reply() argument 1334 __validate_auth(struct ceph_mon_client * monc) __validate_auth() argument 1349 ceph_monc_validate_auth(struct ceph_mon_client * monc) ceph_monc_validate_auth() argument 1364 struct ceph_mon_client *monc = con->private; mon_get_auth_request() local 1384 struct ceph_mon_client *monc = con->private; mon_handle_auth_reply_more() local 1405 struct ceph_mon_client *monc = con->private; mon_handle_auth_done() local 1428 struct ceph_mon_client *monc = con->private; mon_handle_auth_bad_method() local 1447 struct ceph_mon_client *monc = con->private; mon_dispatch() local 1498 struct ceph_mon_client *monc = con->private; mon_alloc_msg() local 1556 struct ceph_mon_client *monc = con->private; mon_fault() local [all...] |