Lines Matching defs:con
109 static int ceph_tcp_recv(struct ceph_connection *con) in ceph_tcp_recv()
196 static int ceph_tcp_send(struct ceph_connection *con) in ceph_tcp_send()
211 static void add_in_kvec(struct ceph_connection *con, void *buf, int len) in add_in_kvec()
224 static void reset_in_kvecs(struct ceph_connection *con) in reset_in_kvecs()
232 static void set_in_bvec(struct ceph_connection *con, const struct bio_vec *bv) in set_in_bvec()
240 static void set_in_skip(struct ceph_connection *con, int len) in set_in_skip()
248 static void add_out_kvec(struct ceph_connection *con, void *buf, int len) in add_out_kvec()
262 static void reset_out_kvecs(struct ceph_connection *con) in reset_out_kvecs()
273 static void set_out_bvec(struct ceph_connection *con, const struct bio_vec *bv, in set_out_bvec()
285 static void set_out_bvec_zero(struct ceph_connection *con) in set_out_bvec_zero()
297 static void out_zero_add(struct ceph_connection *con, int len) in out_zero_add()
303 static void *alloc_conn_buf(struct ceph_connection *con, int len) in alloc_conn_buf()
320 static void free_conn_bufs(struct ceph_connection *con) in free_conn_bufs()
326 static void add_in_sign_kvec(struct ceph_connection *con, void *buf, int len) in add_in_sign_kvec()
335 static void clear_in_sign_kvecs(struct ceph_connection *con) in clear_in_sign_kvecs()
340 static void add_out_sign_kvec(struct ceph_connection *con, void *buf, int len) in add_out_sign_kvec()
349 static void clear_out_sign_kvecs(struct ceph_connection *con) in clear_out_sign_kvecs()
354 static bool con_secure(struct ceph_connection *con) in con_secure()
565 static void encode_epilogue_plain(struct ceph_connection *con, bool aborted) in encode_epilogue_plain()
574 static void encode_epilogue_secure(struct ceph_connection *con, bool aborted) in encode_epilogue_secure()
639 static int verify_control_crc(struct ceph_connection *con) in verify_control_crc()
658 static int verify_epilogue_crcs(struct ceph_connection *con, u32 front_crc, in verify_epilogue_crcs()
703 static int setup_crypto(struct ceph_connection *con, in setup_crypto()
798 static int hmac_sha256(struct ceph_connection *con, const struct kvec *kvecs, in hmac_sha256()
842 static int gcm_crypt(struct ceph_connection *con, bool encrypt, in gcm_crypt()
1064 static int decrypt_preamble(struct ceph_connection *con) in decrypt_preamble()
1072 static int decrypt_control_remainder(struct ceph_connection *con) in decrypt_control_remainder()
1091 static int process_v2_sparse_read(struct ceph_connection *con, in process_v2_sparse_read()
1130 static int decrypt_tail(struct ceph_connection *con) in decrypt_tail()
1182 static int prepare_banner(struct ceph_connection *con) in prepare_banner()
1221 static void prepare_head_plain(struct ceph_connection *con, void *base, in prepare_head_plain()
1251 static int prepare_head_secure_small(struct ceph_connection *con, in prepare_head_secure_small()
1292 static int prepare_head_secure_big(struct ceph_connection *con, in prepare_head_secure_big()
1324 static int __prepare_control(struct ceph_connection *con, int tag, in __prepare_control()
1363 static int prepare_control(struct ceph_connection *con, int tag, in prepare_control()
1369 static int prepare_hello(struct ceph_connection *con) in prepare_hello()
1391 static int prepare_auth_request(struct ceph_connection *con) in prepare_auth_request()
1427 static int prepare_auth_request_more(struct ceph_connection *con, in prepare_auth_request_more()
1459 static int prepare_auth_signature(struct ceph_connection *con) in prepare_auth_signature()
1478 static int prepare_client_ident(struct ceph_connection *con) in prepare_client_ident()
1530 static int prepare_session_reconnect(struct ceph_connection *con) in prepare_session_reconnect()
1565 static int prepare_keepalive2(struct ceph_connection *con) in prepare_keepalive2()
1581 static int prepare_ack(struct ceph_connection *con) in prepare_ack()
1596 static void prepare_epilogue_plain(struct ceph_connection *con, bool aborted) in prepare_epilogue_plain()
1610 static void prepare_message_plain(struct ceph_connection *con) in prepare_message_plain()
1666 static int prepare_message_secure(struct ceph_connection *con) in prepare_message_secure()
1730 static int prepare_message(struct ceph_connection *con) in prepare_message()
1768 static int prepare_read_banner_prefix(struct ceph_connection *con) in prepare_read_banner_prefix()
1783 static int prepare_read_banner_payload(struct ceph_connection *con, in prepare_read_banner_payload()
1799 static void prepare_read_preamble(struct ceph_connection *con) in prepare_read_preamble()
1808 static int prepare_read_control(struct ceph_connection *con) in prepare_read_control()
1844 static int prepare_read_control_remainder(struct ceph_connection *con) in prepare_read_control_remainder()
1864 static int prepare_read_data(struct ceph_connection *con) in prepare_read_data()
1890 static void prepare_read_data_cont(struct ceph_connection *con) in prepare_read_data_cont()
1930 static int prepare_sparse_read_cont(struct ceph_connection *con) in prepare_sparse_read_cont()
2029 static int prepare_sparse_read_data(struct ceph_connection *con) in prepare_sparse_read_data()
2047 static int prepare_read_tail_plain(struct ceph_connection *con) in prepare_read_tail_plain()
2078 static void prepare_read_enc_page(struct ceph_connection *con) in prepare_read_enc_page()
2106 static int prepare_read_tail_secure(struct ceph_connection *con) in prepare_read_tail_secure()
2130 static void __finish_skip(struct ceph_connection *con) in __finish_skip()
2136 static void prepare_skip_message(struct ceph_connection *con) in prepare_skip_message()
2154 static int process_banner_prefix(struct ceph_connection *con) in process_banner_prefix()
2177 static int process_banner_payload(struct ceph_connection *con) in process_banner_payload()
2222 static int process_hello(struct ceph_connection *con, void *p, void *end) in process_hello()
2289 static int process_auth_bad_method(struct ceph_connection *con, in process_auth_bad_method()
2351 static int process_auth_reply_more(struct ceph_connection *con, in process_auth_reply_more()
2388 static int process_auth_done(struct ceph_connection *con, void *p, void *end) in process_auth_done()
2453 static int process_auth_signature(struct ceph_connection *con, in process_auth_signature()
2503 static int process_server_ident(struct ceph_connection *con, in process_server_ident()
2587 static int process_ident_missing_features(struct ceph_connection *con, in process_ident_missing_features()
2609 static int process_session_reconnect_ok(struct ceph_connection *con, in process_session_reconnect_ok()
2638 static int process_session_retry(struct ceph_connection *con, in process_session_retry()
2671 static int process_session_retry_global(struct ceph_connection *con, in process_session_retry_global()
2704 static int process_session_reset(struct ceph_connection *con, in process_session_reset()
2752 static int process_keepalive2_ack(struct ceph_connection *con, in process_keepalive2_ack()
2773 static int process_ack(struct ceph_connection *con, void *p, void *end) in process_ack()
2793 static int process_control(struct ceph_connection *con, void *p, void *end) in process_control()
2860 static int process_message_header(struct ceph_connection *con, in process_message_header()
2902 static int process_message(struct ceph_connection *con) in process_message()
2920 static int __handle_control(struct ceph_connection *con, void *p) in __handle_control()
2960 static int handle_preamble(struct ceph_connection *con) in handle_preamble()
2996 static int handle_control(struct ceph_connection *con) in handle_control()
3022 static int handle_control_remainder(struct ceph_connection *con) in handle_control_remainder()
3039 static int handle_epilogue(struct ceph_connection *con) in handle_epilogue()
3077 static void finish_skip(struct ceph_connection *con) in finish_skip()
3087 static int populate_in_iter(struct ceph_connection *con) in populate_in_iter()
3156 int ceph_con_v2_try_read(struct ceph_connection *con) in ceph_con_v2_try_read()
3188 static void queue_data(struct ceph_connection *con) in queue_data()
3201 static void queue_data_cont(struct ceph_connection *con) in queue_data_cont()
3226 static void queue_enc_page(struct ceph_connection *con) in queue_enc_page()
3254 static void queue_zeros(struct ceph_connection *con) in queue_zeros()
3275 static void finish_message(struct ceph_connection *con) in finish_message()
3296 static int populate_out_iter(struct ceph_connection *con) in populate_out_iter()
3374 int ceph_con_v2_try_write(struct ceph_connection *con) in ceph_con_v2_try_write()
3457 static void prepare_zero_front(struct ceph_connection *con, int resid) in prepare_zero_front()
3478 static void prepare_zero_middle(struct ceph_connection *con, int resid) in prepare_zero_middle()
3499 static void prepare_zero_data(struct ceph_connection *con) in prepare_zero_data()
3506 static void revoke_at_queue_data(struct ceph_connection *con) in revoke_at_queue_data()
3549 static void revoke_at_queue_data_cont(struct ceph_connection *con) in revoke_at_queue_data_cont()
3575 static void revoke_at_finish_message(struct ceph_connection *con) in revoke_at_finish_message()
3633 void ceph_con_v2_revoke(struct ceph_connection *con) in ceph_con_v2_revoke()
3660 static void revoke_at_prepare_read_data(struct ceph_connection *con) in revoke_at_prepare_read_data()
3679 static void revoke_at_prepare_read_data_cont(struct ceph_connection *con) in revoke_at_prepare_read_data_cont()
3704 static void revoke_at_prepare_read_enc_page(struct ceph_connection *con) in revoke_at_prepare_read_enc_page()
3720 static void revoke_at_prepare_sparse_data(struct ceph_connection *con) in revoke_at_prepare_sparse_data()
3737 static void revoke_at_handle_epilogue(struct ceph_connection *con) in revoke_at_handle_epilogue()
3750 void ceph_con_v2_revoke_incoming(struct ceph_connection *con) in ceph_con_v2_revoke_incoming()
3775 bool ceph_con_v2_opened(struct ceph_connection *con) in ceph_con_v2_opened()
3780 void ceph_con_v2_reset_session(struct ceph_connection *con) in ceph_con_v2_reset_session()
3789 void ceph_con_v2_reset_protocol(struct ceph_connection *con) in ceph_con_v2_reset_protocol()