Lines Matching refs:drbd_connection

56 static int drbd_do_features(struct drbd_connection *connection);
57 static int drbd_do_auth(struct drbd_connection *connection);
59 static void conn_wait_active_ee_empty(struct drbd_connection *connection);
60 static enum finish_epoch drbd_may_finish_epoch(struct drbd_connection *, struct drbd_epoch *, enum …
222 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs()
513 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv()
546 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all()
559 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn()
588 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect()
677 struct drbd_connection *connection;
695 static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) in prepare_listen_socket()
766 static struct socket *drbd_wait_for_connect(struct drbd_connection *connection, struct accept_wait_… in drbd_wait_for_connect()
803 static int decode_header(struct drbd_connection *, void *, struct packet_info *);
805 static int send_first_packet(struct drbd_connection *connection, struct drbd_socket *sock, in send_first_packet()
813 static int receive_first_packet(struct drbd_connection *connection, struct socket *sock) in receive_first_packet()
864 static bool connection_established(struct drbd_connection *connection, in connection_established()
923 static int conn_connect(struct drbd_connection *connection) in conn_connect()
1158 static int decode_header(struct drbd_connection *connection, void *header, struct packet_info *pi) in decode_header()
1194 static void drbd_unplug_all_devices(struct drbd_connection *connection) in drbd_unplug_all_devices()
1202 static int drbd_recv_header(struct drbd_connection *connection, struct packet_info *pi) in drbd_recv_header()
1217 static int drbd_recv_header_maybe_unplug(struct drbd_connection *connection, struct packet_info *pi) in drbd_recv_header_maybe_unplug()
1312 static void drbd_flush(struct drbd_connection *connection) in drbd_flush()
1359 static enum finish_epoch drbd_may_finish_epoch(struct drbd_connection *connection, in drbd_may_finish_epoch()
1740 static void conn_wait_active_ee_empty(struct drbd_connection *connection) in conn_wait_active_ee_empty()
1758 static int receive_Barrier(struct drbd_connection *connection, struct packet_info *pi) in receive_Barrier()
2116 static int receive_DataReply(struct drbd_connection *connection, struct packet_info *pi) in receive_DataReply()
2148 static int receive_RSDataReply(struct drbd_connection *connection, struct packet_info *pi) in receive_RSDataReply()
2270 struct drbd_connection *connection = peer_req->peer_device->connection; in e_send_retry_write()
2411 static blk_opf_t wire_flags_to_bio(struct drbd_connection *connection, u32 dpf) in wire_flags_to_bio()
2448 struct drbd_connection *connection = peer_req->peer_device->connection; in handle_write_conflicts()
2554 static int receive_Data(struct drbd_connection *connection, struct packet_info *pi) in receive_Data()
2802 static int receive_DataRequest(struct drbd_connection *connection, struct packet_info *pi) in receive_DataRequest()
3233 struct drbd_connection *const connection = peer_device->connection; in drbd_uuid_compare()
3629 static int receive_protocol(struct drbd_connection *connection, struct packet_info *pi) in receive_protocol()
3800 static int ignore_remaining_packet(struct drbd_connection *connection, struct packet_info *pi) in ignore_remaining_packet()
3831 static int config_unknown_volume(struct drbd_connection *connection, struct packet_info *pi) in config_unknown_volume()
3838 static int receive_SyncParam(struct drbd_connection *connection, struct packet_info *pi) in receive_SyncParam()
4061 static int receive_sizes(struct drbd_connection *connection, struct packet_info *pi) in receive_sizes()
4232 static int receive_uuids(struct drbd_connection *connection, struct packet_info *pi) in receive_uuids()
4337 static int receive_req_state(struct drbd_connection *connection, struct packet_info *pi) in receive_req_state()
4370 static int receive_req_conn_state(struct drbd_connection *connection, struct packet_info *pi) in receive_req_conn_state()
4394 static int receive_state(struct drbd_connection *connection, struct packet_info *pi) in receive_state()
4591 static int receive_sync_uuid(struct drbd_connection *connection, struct packet_info *pi) in receive_sync_uuid()
4815 static int receive_bitmap(struct drbd_connection *connection, struct packet_info *pi) in receive_bitmap()
4903 static int receive_skip(struct drbd_connection *connection, struct packet_info *pi) in receive_skip()
4911 static int receive_UnplugRemote(struct drbd_connection *connection, struct packet_info *pi) in receive_UnplugRemote()
4919 static int receive_out_of_sync(struct drbd_connection *connection, struct packet_info *pi) in receive_out_of_sync()
4945 static int receive_rs_deallocated(struct drbd_connection *connection, struct packet_info *pi) in receive_rs_deallocated()
5014 int (*fn)(struct drbd_connection *, struct packet_info *);
5048 static void drbdd(struct drbd_connection *connection) in drbdd()
5105 static void conn_disconnect(struct drbd_connection *connection) in conn_disconnect()
5257 static int drbd_send_features(struct drbd_connection *connection) in drbd_send_features()
5280 static int drbd_do_features(struct drbd_connection *connection) in drbd_do_features()
5347 static int drbd_do_auth(struct drbd_connection *connection) in drbd_do_auth()
5362 static int drbd_do_auth(struct drbd_connection *connection) in drbd_do_auth()
5541 struct drbd_connection *connection = thi->connection; in drbd_receiver()
5572 static int got_conn_RqSReply(struct drbd_connection *connection, struct packet_info *pi) in got_conn_RqSReply()
5589 static int got_RqSReply(struct drbd_connection *connection, struct packet_info *pi) in got_RqSReply()
5618 static int got_Ping(struct drbd_connection *connection, struct packet_info *pi) in got_Ping()
5624 static int got_PingAck(struct drbd_connection *connection, struct packet_info *pi) in got_PingAck()
5634 static int got_IsInSync(struct drbd_connection *connection, struct packet_info *pi) in got_IsInSync()
5687 static int got_BlockAck(struct drbd_connection *connection, struct packet_info *pi) in got_BlockAck()
5733 static int got_NegAck(struct drbd_connection *connection, struct packet_info *pi) in got_NegAck()
5769 static int got_NegDReply(struct drbd_connection *connection, struct packet_info *pi) in got_NegDReply()
5791 static int got_NegRSDReply(struct drbd_connection *connection, struct packet_info *pi) in got_NegRSDReply()
5828 static int got_BarrierAck(struct drbd_connection *connection, struct packet_info *pi) in got_BarrierAck()
5852 static int got_OVResult(struct drbd_connection *connection, struct packet_info *pi) in got_OVResult()
5904 static int got_skip(struct drbd_connection *connection, struct packet_info *pi) in got_skip()
5911 int (*fn)(struct drbd_connection *connection, struct packet_info *);
5914 static void set_rcvtimeo(struct drbd_connection *connection, bool ping_timeout) in set_rcvtimeo()
5931 static void set_ping_timeout(struct drbd_connection *connection) in set_ping_timeout()
5936 static void set_idle_timeout(struct drbd_connection *connection) in set_idle_timeout()
5963 struct drbd_connection *connection = thi->connection; in drbd_ack_receiver()
6101 struct drbd_connection *connection = peer_device->connection; in drbd_send_acks_wf()