Lines Matching refs:drbd_peer_device
105 __drbd_printk_if_same_type(obj, struct drbd_peer_device *, \
395 struct drbd_peer_device *peer_device;
801 struct drbd_peer_device { struct
1011 static inline struct drbd_peer_device *first_peer_device(struct drbd_device *device) in first_peer_device()
1013 return list_first_entry_or_null(&device->peer_devices, struct drbd_peer_device, peer_devices); in first_peer_device()
1016 static inline struct drbd_peer_device *
1084 extern int drbd_send_uuids(struct drbd_peer_device *);
1085 extern int drbd_send_uuids_skip_initial_sync(struct drbd_peer_device *);
1086 extern void drbd_gen_and_send_sync_uuid(struct drbd_peer_device *);
1087 extern int drbd_send_sizes(struct drbd_peer_device *, int trigger_reply, enum dds_flags flags);
1088 extern int drbd_send_state(struct drbd_peer_device *, union drbd_state s);
1089 extern int drbd_send_current_state(struct drbd_peer_device *);
1090 extern int drbd_send_sync_param(struct drbd_peer_device *);
1093 extern int drbd_send_ack(struct drbd_peer_device *, enum drbd_packet,
1095 extern void drbd_send_ack_rp(struct drbd_peer_device *, enum drbd_packet,
1097 extern void drbd_send_ack_dp(struct drbd_peer_device *, enum drbd_packet,
1099 extern int drbd_send_ack_ex(struct drbd_peer_device *, enum drbd_packet,
1101 extern int drbd_send_out_of_sync(struct drbd_peer_device *, struct drbd_request *);
1102 extern int drbd_send_block(struct drbd_peer_device *, enum drbd_packet,
1104 extern int drbd_send_dblock(struct drbd_peer_device *, struct drbd_request *req);
1105 extern int drbd_send_drequest(struct drbd_peer_device *, int cmd,
1107 extern int drbd_send_drequest_csum(struct drbd_peer_device *, sector_t sector,
1110 extern int drbd_send_ov_request(struct drbd_peer_device *, sector_t sector, int size);
1113 extern void drbd_send_sr_reply(struct drbd_peer_device *, enum drbd_state_rv retcode);
1115 extern int drbd_send_rs_deallocated(struct drbd_peer_device *, struct drbd_peer_request *);
1551 extern struct drbd_peer_request *drbd_alloc_peer_req(struct drbd_peer_device *, u64,
1559 extern struct page *drbd_alloc_pages(struct drbd_peer_device *, unsigned int, bool);
1562 extern int drbd_connected(struct drbd_peer_device *);
1656 struct drbd_peer_device *,
1935 extern void *drbd_prepare_command(struct drbd_peer_device *, struct drbd_socket *);
1939 extern int drbd_send_command(struct drbd_peer_device *, struct drbd_socket *,
1945 extern int drbd_send_state_req(struct drbd_peer_device *, union drbd_state, union drbd_state);