Lines Matching refs:drbd_peer_device
106 __drbd_printk_if_same_type(obj, struct drbd_peer_device *, \
396 struct drbd_peer_device *peer_device;
805 struct drbd_peer_device { struct
1016 static inline struct drbd_peer_device *first_peer_device(struct drbd_device *device) in first_peer_device()
1018 return list_first_entry_or_null(&device->peer_devices, struct drbd_peer_device, peer_devices); in first_peer_device()
1021 static inline struct drbd_peer_device *
1089 extern int drbd_send_uuids(struct drbd_peer_device *);
1090 extern int drbd_send_uuids_skip_initial_sync(struct drbd_peer_device *);
1091 extern void drbd_gen_and_send_sync_uuid(struct drbd_peer_device *);
1092 extern int drbd_send_sizes(struct drbd_peer_device *, int trigger_reply, enum dds_flags flags);
1093 extern int drbd_send_state(struct drbd_peer_device *, union drbd_state s);
1094 extern int drbd_send_current_state(struct drbd_peer_device *);
1095 extern int drbd_send_sync_param(struct drbd_peer_device *);
1098 extern int drbd_send_ack(struct drbd_peer_device *, enum drbd_packet,
1100 extern void drbd_send_ack_rp(struct drbd_peer_device *, enum drbd_packet,
1102 extern void drbd_send_ack_dp(struct drbd_peer_device *, enum drbd_packet,
1104 extern int drbd_send_ack_ex(struct drbd_peer_device *, enum drbd_packet,
1106 extern int drbd_send_out_of_sync(struct drbd_peer_device *, struct drbd_request *);
1107 extern int drbd_send_block(struct drbd_peer_device *, enum drbd_packet,
1109 extern int drbd_send_dblock(struct drbd_peer_device *, struct drbd_request *req);
1110 extern int drbd_send_drequest(struct drbd_peer_device *, int cmd,
1112 extern int drbd_send_drequest_csum(struct drbd_peer_device *, sector_t sector,
1115 extern int drbd_send_ov_request(struct drbd_peer_device *, sector_t sector, int size);
1118 extern void drbd_send_sr_reply(struct drbd_peer_device *, enum drbd_state_rv retcode);
1120 extern int drbd_send_rs_deallocated(struct drbd_peer_device *, struct drbd_peer_request *);
1560 extern struct drbd_peer_request *drbd_alloc_peer_req(struct drbd_peer_device *, u64,
1568 extern struct page *drbd_alloc_pages(struct drbd_peer_device *, unsigned int, bool);
1571 extern int drbd_connected(struct drbd_peer_device *);
1693 struct drbd_peer_device *,
1973 extern void *drbd_prepare_command(struct drbd_peer_device *, struct drbd_socket *);
1977 extern int drbd_send_command(struct drbd_peer_device *, struct drbd_socket *,
1983 extern int drbd_send_state_req(struct drbd_peer_device *, union drbd_state, union drbd_state);