Lines Matching defs:connection

493 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size)  in drbd_recv()
526 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all()
539 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn()
568 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect()
657 struct drbd_connection *connection; member
675 static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) in prepare_listen_socket()
746 static struct socket *drbd_wait_for_connect(struct drbd_connection *connection, struct accept_wait_… in drbd_wait_for_connect()
785 static int send_first_packet(struct drbd_connection *connection, struct drbd_socket *sock, in send_first_packet()
793 static int receive_first_packet(struct drbd_connection *connection, struct socket *sock) in receive_first_packet()
844 static bool connection_established(struct drbd_connection *connection, in connection_established()
903 static int conn_connect(struct drbd_connection *connection) in conn_connect()
1124 static int decode_header(struct drbd_connection *connection, void *header, struct packet_info *pi) in decode_header()
1160 static int drbd_recv_header(struct drbd_connection *connection, struct packet_info *pi) in drbd_recv_header()
1175 static void drbd_flush(struct drbd_connection *connection) in drbd_flush()
1225 static enum finish_epoch drbd_may_finish_epoch(struct drbd_connection *connection, in drbd_may_finish_epoch()
1493 static void conn_wait_active_ee_empty(struct drbd_connection *connection) in conn_wait_active_ee_empty()
1512 conn_peer_device(struct drbd_connection *connection, int volume_number) in conn_peer_device()
1517 static int receive_Barrier(struct drbd_connection *connection, struct packet_info *pi) in receive_Barrier()
1839 static int receive_DataReply(struct drbd_connection *connection, struct packet_info *pi) in receive_DataReply()
1874 static int receive_RSDataReply(struct drbd_connection *connection, struct packet_info *pi) in receive_RSDataReply()
1996 struct drbd_connection *connection = peer_req->peer_device->connection; in e_send_retry_write() local
2165 struct drbd_connection *connection = peer_req->peer_device->connection; in handle_write_conflicts() local
2271 static int receive_Data(struct drbd_connection *connection, struct packet_info *pi) in receive_Data()
2513 static int receive_DataRequest(struct drbd_connection *connection, struct packet_info *pi) in receive_DataRequest()
2937 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in drbd_uuid_compare() local
3291 static int receive_protocol(struct drbd_connection *connection, struct packet_info *pi) in receive_protocol()
3463 static int ignore_remaining_packet(struct drbd_connection *connection, struct packet_info *pi) in ignore_remaining_packet()
3494 static int config_unknown_volume(struct drbd_connection *connection, struct packet_info *pi) in config_unknown_volume()
3501 static int receive_SyncParam(struct drbd_connection *connection, struct packet_info *pi) in receive_SyncParam()
3726 static int receive_sizes(struct drbd_connection *connection, struct packet_info *pi) in receive_sizes()
3867 static int receive_uuids(struct drbd_connection *connection, struct packet_info *pi) in receive_uuids()
3974 static int receive_req_state(struct drbd_connection *connection, struct packet_info *pi) in receive_req_state()
4007 static int receive_req_conn_state(struct drbd_connection *connection, struct packet_info *pi) in receive_req_conn_state()
4031 static int receive_state(struct drbd_connection *connection, struct packet_info *pi) in receive_state()
4209 static int receive_sync_uuid(struct drbd_connection *connection, struct packet_info *pi) in receive_sync_uuid()
4433 static int receive_bitmap(struct drbd_connection *connection, struct packet_info *pi) in receive_bitmap()
4521 static int receive_skip(struct drbd_connection *connection, struct packet_info *pi) in receive_skip()
4529 static int receive_UnplugRemote(struct drbd_connection *connection, struct packet_info *pi) in receive_UnplugRemote()
4538 static int receive_out_of_sync(struct drbd_connection *connection, struct packet_info *pi) in receive_out_of_sync()
4598 static void drbdd(struct drbd_connection *connection) in drbdd()
4648 static void conn_disconnect(struct drbd_connection *connection) in conn_disconnect()
4794 static int drbd_send_features(struct drbd_connection *connection) in drbd_send_features()
4817 static int drbd_do_features(struct drbd_connection *connection) in drbd_do_features()
4879 static int drbd_do_auth(struct drbd_connection *connection) in drbd_do_auth()
4894 static int drbd_do_auth(struct drbd_connection *connection) in drbd_do_auth()
5071 struct drbd_connection *connection = thi->connection; in drbd_receiver() local
5099 static int got_conn_RqSReply(struct drbd_connection *connection, struct packet_info *pi) in got_conn_RqSReply()
5116 static int got_RqSReply(struct drbd_connection *connection, struct packet_info *pi) in got_RqSReply()
5145 static int got_Ping(struct drbd_connection *connection, struct packet_info *pi) in got_Ping()
5151 static int got_PingAck(struct drbd_connection *connection, struct packet_info *pi) in got_PingAck()
5161 static int got_IsInSync(struct drbd_connection *connection, struct packet_info *pi) in got_IsInSync()
5213 static int got_BlockAck(struct drbd_connection *connection, struct packet_info *pi) in got_BlockAck()
5259 static int got_NegAck(struct drbd_connection *connection, struct packet_info *pi) in got_NegAck()
5295 static int got_NegDReply(struct drbd_connection *connection, struct packet_info *pi) in got_NegDReply()
5317 static int got_NegRSDReply(struct drbd_connection *connection, struct packet_info *pi) in got_NegRSDReply()
5353 static int got_BarrierAck(struct drbd_connection *connection, struct packet_info *pi) in got_BarrierAck()
5377 static int got_OVResult(struct drbd_connection *connection, struct packet_info *pi) in got_OVResult()
5429 static int got_skip(struct drbd_connection *connection, struct packet_info *pi) in got_skip()
5434 static int connection_finish_peer_reqs(struct drbd_connection *connection) in connection_finish_peer_reqs()
5498 struct drbd_connection *connection = thi->connection; in drbd_asender() local