Lines Matching defs:connection
492 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv()
525 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all()
538 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn()
567 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect()
656 struct drbd_connection *connection; member
674 static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) in prepare_listen_socket()
745 static struct socket *drbd_wait_for_connect(struct drbd_connection *connection, struct accept_wait_… in drbd_wait_for_connect()
784 static int send_first_packet(struct drbd_connection *connection, struct drbd_socket *sock, in send_first_packet()
792 static int receive_first_packet(struct drbd_connection *connection, struct socket *sock) in receive_first_packet()
843 static bool connection_established(struct drbd_connection *connection, in connection_established()
902 static int conn_connect(struct drbd_connection *connection) in conn_connect()
1123 static int decode_header(struct drbd_connection *connection, void *header, struct packet_info *pi) in decode_header()
1159 static int drbd_recv_header(struct drbd_connection *connection, struct packet_info *pi) in drbd_recv_header()
1174 static void drbd_flush(struct drbd_connection *connection) in drbd_flush()
1224 static enum finish_epoch drbd_may_finish_epoch(struct drbd_connection *connection, in drbd_may_finish_epoch()
1492 static void conn_wait_active_ee_empty(struct drbd_connection *connection) in conn_wait_active_ee_empty()
1511 conn_peer_device(struct drbd_connection *connection, int volume_number) in conn_peer_device()
1516 static int receive_Barrier(struct drbd_connection *connection, struct packet_info *pi) in receive_Barrier()
1838 static int receive_DataReply(struct drbd_connection *connection, struct packet_info *pi) in receive_DataReply()
1873 static int receive_RSDataReply(struct drbd_connection *connection, struct packet_info *pi) in receive_RSDataReply()
1995 struct drbd_connection *connection = peer_req->peer_device->connection; in e_send_retry_write() local
2164 struct drbd_connection *connection = peer_req->peer_device->connection; in handle_write_conflicts() local
2270 static int receive_Data(struct drbd_connection *connection, struct packet_info *pi) in receive_Data()
2512 static int receive_DataRequest(struct drbd_connection *connection, struct packet_info *pi) in receive_DataRequest()
2936 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in drbd_uuid_compare() local
3290 static int receive_protocol(struct drbd_connection *connection, struct packet_info *pi) in receive_protocol()
3462 static int ignore_remaining_packet(struct drbd_connection *connection, struct packet_info *pi) in ignore_remaining_packet()
3493 static int config_unknown_volume(struct drbd_connection *connection, struct packet_info *pi) in config_unknown_volume()
3500 static int receive_SyncParam(struct drbd_connection *connection, struct packet_info *pi) in receive_SyncParam()
3725 static int receive_sizes(struct drbd_connection *connection, struct packet_info *pi) in receive_sizes()
3866 static int receive_uuids(struct drbd_connection *connection, struct packet_info *pi) in receive_uuids()
3973 static int receive_req_state(struct drbd_connection *connection, struct packet_info *pi) in receive_req_state()
4006 static int receive_req_conn_state(struct drbd_connection *connection, struct packet_info *pi) in receive_req_conn_state()
4030 static int receive_state(struct drbd_connection *connection, struct packet_info *pi) in receive_state()
4208 static int receive_sync_uuid(struct drbd_connection *connection, struct packet_info *pi) in receive_sync_uuid()
4432 static int receive_bitmap(struct drbd_connection *connection, struct packet_info *pi) in receive_bitmap()
4520 static int receive_skip(struct drbd_connection *connection, struct packet_info *pi) in receive_skip()
4528 static int receive_UnplugRemote(struct drbd_connection *connection, struct packet_info *pi) in receive_UnplugRemote()
4537 static int receive_out_of_sync(struct drbd_connection *connection, struct packet_info *pi) in receive_out_of_sync()
4597 static void drbdd(struct drbd_connection *connection) in drbdd()
4647 static void conn_disconnect(struct drbd_connection *connection) in conn_disconnect()
4793 static int drbd_send_features(struct drbd_connection *connection) in drbd_send_features()
4816 static int drbd_do_features(struct drbd_connection *connection) in drbd_do_features()
4878 static int drbd_do_auth(struct drbd_connection *connection) in drbd_do_auth()
4893 static int drbd_do_auth(struct drbd_connection *connection) in drbd_do_auth()
5070 struct drbd_connection *connection = thi->connection; in drbd_receiver() local
5098 static int got_conn_RqSReply(struct drbd_connection *connection, struct packet_info *pi) in got_conn_RqSReply()
5115 static int got_RqSReply(struct drbd_connection *connection, struct packet_info *pi) in got_RqSReply()
5144 static int got_Ping(struct drbd_connection *connection, struct packet_info *pi) in got_Ping()
5150 static int got_PingAck(struct drbd_connection *connection, struct packet_info *pi) in got_PingAck()
5160 static int got_IsInSync(struct drbd_connection *connection, struct packet_info *pi) in got_IsInSync()
5212 static int got_BlockAck(struct drbd_connection *connection, struct packet_info *pi) in got_BlockAck()
5258 static int got_NegAck(struct drbd_connection *connection, struct packet_info *pi) in got_NegAck()
5294 static int got_NegDReply(struct drbd_connection *connection, struct packet_info *pi) in got_NegDReply()
5316 static int got_NegRSDReply(struct drbd_connection *connection, struct packet_info *pi) in got_NegRSDReply()
5352 static int got_BarrierAck(struct drbd_connection *connection, struct packet_info *pi) in got_BarrierAck()
5376 static int got_OVResult(struct drbd_connection *connection, struct packet_info *pi) in got_OVResult()
5428 static int got_skip(struct drbd_connection *connection, struct packet_info *pi) in got_skip()
5433 static int connection_finish_peer_reqs(struct drbd_connection *connection) in connection_finish_peer_reqs()
5497 struct drbd_connection *connection = thi->connection; in drbd_asender() local