Lines Matching defs:con
119 static void con_flag_clear(struct ceph_connection *con, unsigned long con_flag) in con_flag_clear()
126 static void con_flag_set(struct ceph_connection *con, unsigned long con_flag) in con_flag_set()
133 static bool con_flag_test(struct ceph_connection *con, unsigned long con_flag) in con_flag_test()
140 static bool con_flag_test_and_clear(struct ceph_connection *con, in con_flag_test_and_clear()
148 static bool con_flag_test_and_set(struct ceph_connection *con, in con_flag_test_and_set()
312 static void con_sock_state_init(struct ceph_connection *con) in con_sock_state_init()
323 static void con_sock_state_connecting(struct ceph_connection *con) in con_sock_state_connecting()
334 static void con_sock_state_connected(struct ceph_connection *con) in con_sock_state_connected()
345 static void con_sock_state_closing(struct ceph_connection *con) in con_sock_state_closing()
358 static void con_sock_state_closed(struct ceph_connection *con) in con_sock_state_closed()
379 struct ceph_connection *con = sk->sk_user_data; in ceph_sock_data_ready() local
394 struct ceph_connection *con = sk->sk_user_data; in ceph_sock_write_space() local
417 struct ceph_connection *con = sk->sk_user_data; in ceph_sock_state_change() local
446 struct ceph_connection *con) in set_sock_callbacks()
463 static int ceph_tcp_connect(struct ceph_connection *con) in ceph_tcp_connect()
627 static int con_close_socket(struct ceph_connection *con) in con_close_socket()
669 static void reset_connection(struct ceph_connection *con) in reset_connection()
699 void ceph_con_close(struct ceph_connection *con) in ceph_con_close()
722 void ceph_con_open(struct ceph_connection *con, in ceph_con_open()
745 bool ceph_con_opened(struct ceph_connection *con) in ceph_con_opened()
753 void ceph_con_init(struct ceph_connection *con, void *private, in ceph_con_init()
791 static void con_out_kvec_reset(struct ceph_connection *con) in con_out_kvec_reset()
800 static void con_out_kvec_add(struct ceph_connection *con, in con_out_kvec_add()
819 static int con_out_kvec_skip(struct ceph_connection *con) in con_out_kvec_skip()
1248 static size_t sizeof_footer(struct ceph_connection *con) in sizeof_footer()
1269 static void prepare_write_message_footer(struct ceph_connection *con) in prepare_write_message_footer()
1292 static void prepare_write_message(struct ceph_connection *con) in prepare_write_message()
1382 static void prepare_write_ack(struct ceph_connection *con) in prepare_write_ack()
1403 static void prepare_write_seq(struct ceph_connection *con) in prepare_write_seq()
1421 static void prepare_write_keepalive(struct ceph_connection *con) in prepare_write_keepalive()
1443 static int get_connect_authorizer(struct ceph_connection *con) in get_connect_authorizer()
1468 static void prepare_write_banner(struct ceph_connection *con) in prepare_write_banner()
1478 static void __prepare_write_connect(struct ceph_connection *con) in __prepare_write_connect()
1489 static int prepare_write_connect(struct ceph_connection *con) in prepare_write_connect()
1534 static int write_partial_kvec(struct ceph_connection *con) in write_partial_kvec()
1590 static int write_partial_message_data(struct ceph_connection *con) in write_partial_message_data()
1654 static int write_partial_skip(struct ceph_connection *con) in write_partial_skip()
1675 static void prepare_read_banner(struct ceph_connection *con) in prepare_read_banner()
1681 static void prepare_read_connect(struct ceph_connection *con) in prepare_read_connect()
1687 static void prepare_read_ack(struct ceph_connection *con) in prepare_read_ack()
1693 static void prepare_read_seq(struct ceph_connection *con) in prepare_read_seq()
1700 static void prepare_read_tag(struct ceph_connection *con) in prepare_read_tag()
1707 static void prepare_read_keepalive_ack(struct ceph_connection *con) in prepare_read_keepalive_ack()
1716 static int prepare_read_message(struct ceph_connection *con) in prepare_read_message()
1726 static int read_partial(struct ceph_connection *con, in read_partial()
1744 static int read_partial_banner(struct ceph_connection *con) in read_partial_banner()
1775 static int read_partial_connect(struct ceph_connection *con) in read_partial_connect()
1816 static int verify_hello(struct ceph_connection *con) in verify_hello()
2038 static int process_banner(struct ceph_connection *con) in process_banner()
2084 static int process_connect(struct ceph_connection *con) in process_connect()
2284 static int read_partial_ack(struct ceph_connection *con) in read_partial_ack()
2295 static void process_ack(struct ceph_connection *con) in process_ack()
2325 static int read_partial_message_section(struct ceph_connection *con, in read_partial_message_section()
2348 static int read_partial_msg_data(struct ceph_connection *con) in read_partial_msg_data()
2395 static int read_partial_message(struct ceph_connection *con) in read_partial_message()
2556 static void process_message(struct ceph_connection *con) in process_message()
2583 static int read_keepalive_ack(struct ceph_connection *con) in read_keepalive_ack()
2599 static int try_write(struct ceph_connection *con) in try_write()
2695 static int try_read(struct ceph_connection *con) in try_read()
2846 static int queue_con_delay(struct ceph_connection *con, unsigned long delay) in queue_con_delay()
2863 static void queue_con(struct ceph_connection *con) in queue_con()
2868 static void cancel_con(struct ceph_connection *con) in cancel_con()
2876 static bool con_sock_closed(struct ceph_connection *con) in con_sock_closed()
2905 static bool con_backoff(struct ceph_connection *con) in con_backoff()
2925 static void con_fault_finish(struct ceph_connection *con) in con_fault_finish()
2949 struct ceph_connection *con = container_of(work, struct ceph_connection, in ceph_con_workfn() local
3014 static void con_fault(struct ceph_connection *con) in con_fault()
3099 static void msg_con_set(struct ceph_msg *msg, struct ceph_connection *con) in msg_con_set()
3108 static void clear_standby(struct ceph_connection *con) in clear_standby()
3123 void ceph_con_send(struct ceph_connection *con, struct ceph_msg *msg) in ceph_con_send()
3165 struct ceph_connection *con = msg->con; in ceph_msg_revoke() local
3211 struct ceph_connection *con = msg->con; in ceph_msg_revoke_incoming() local
3246 void ceph_con_keepalive(struct ceph_connection *con) in ceph_con_keepalive()
3259 bool ceph_con_keepalive_expired(struct ceph_connection *con, in ceph_con_keepalive_expired()
3428 static int ceph_alloc_middle(struct ceph_connection *con, struct ceph_msg *msg) in ceph_alloc_middle()
3459 static int ceph_con_in_msg_alloc(struct ceph_connection *con, int *skip) in ceph_con_in_msg_alloc()