Home
last modified time | relevance | path

Searched refs:drbd_peer_device (Results 1 – 10 of 10) sorted by relevance

/drivers/block/drbd/
Ddrbd_debugfs.h21 void drbd_debugfs_peer_device_add(struct drbd_peer_device *peer_device);
22 void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device *peer_device);
37 static inline void drbd_debugfs_peer_device_add(struct drbd_peer_device *peer_device) { } in drbd_debugfs_peer_device_add()
38 static inline void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device *peer_device) { } in drbd_debugfs_peer_device_cleanup()
Ddrbd_int.h105 __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);
[all …]
Ddrbd_main.c472 struct drbd_peer_device *peer_device; in conn_lowest_minor()
622 void *drbd_prepare_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock) in drbd_prepare_command()
676 int drbd_send_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock, in drbd_send_command()
708 int drbd_send_sync_param(struct drbd_peer_device *peer_device) in drbd_send_sync_param()
818 static int _drbd_send_uuids(struct drbd_peer_device *peer_device, u64 uuid_flags) in _drbd_send_uuids()
852 int drbd_send_uuids(struct drbd_peer_device *peer_device) in drbd_send_uuids()
857 int drbd_send_uuids_skip_initial_sync(struct drbd_peer_device *peer_device) in drbd_send_uuids_skip_initial_sync()
880 void drbd_gen_and_send_sync_uuid(struct drbd_peer_device *peer_device) in drbd_gen_and_send_sync_uuid()
906 int drbd_send_sizes(struct drbd_peer_device *peer_device, int trigger_reply, enum dds_flags flags) in drbd_send_sizes()
987 int drbd_send_current_state(struct drbd_peer_device *peer_device) in drbd_send_current_state()
[all …]
Ddrbd_receiver.c59 static int drbd_disconnected(struct drbd_peer_device *);
225 struct drbd_peer_device *peer_device; in conn_reclaim_net_peer_reqs()
263 struct page *drbd_alloc_pages(struct drbd_peer_device *peer_device, unsigned int number, in drbd_alloc_pages()
361 drbd_alloc_peer_req(struct drbd_peer_device *peer_device, u64 id, sector_t sector, in drbd_alloc_peer_req()
890 int drbd_connected(struct drbd_peer_device *peer_device) in drbd_connected()
927 struct drbd_peer_device *peer_device; in conn_connect()
1313 struct drbd_peer_device *peer_device; in drbd_flush()
1720 struct drbd_peer_device *peer_device; in conn_wait_active_ee_empty()
1825 read_in_block(struct drbd_peer_device *peer_device, u64 id, sector_t sector, in read_in_block()
1935 static int drbd_drain_block(struct drbd_peer_device *peer_device, int data_size) in drbd_drain_block()
[all …]
Ddrbd_worker.c84 struct drbd_peer_device *peer_device = peer_req->peer_device; in drbd_endio_read_sec_final()
105 struct drbd_peer_device *peer_device = peer_req->peer_device; in drbd_endio_write_sec_final()
341 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_send_csum()
387 static int read_for_csum(struct drbd_peer_device *peer_device, sector_t sector, int size) in read_for_csum()
585 struct drbd_peer_device *const peer_device = first_peer_device(device); in make_resync_request()
997 struct drbd_peer_device *peer_device; in drbd_resync_finished()
1052 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_end_data_req()
1113 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_end_rsdata_req()
1166 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_end_csum_rs_req()
1230 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_end_ov_req()
[all …]
Ddrbd_state.c132 struct drbd_peer_device *peer_device; in remember_old_state()
296 struct drbd_peer_device *peer_device; in conn_all_vols_unconf()
338 struct drbd_peer_device *peer_device; in conn_highest_role()
354 struct drbd_peer_device *peer_device; in conn_highest_peer()
370 struct drbd_peer_device *peer_device; in conn_highest_disk()
386 struct drbd_peer_device *peer_device; in conn_lowest_disk()
402 struct drbd_peer_device *peer_device; in conn_highest_pdsk()
418 struct drbd_peer_device *peer_device; in conn_lowest_conn()
433 struct drbd_peer_device *peer_device; in no_peer_wf_report_params()
450 struct drbd_peer_device *peer_device; in wake_up_all_devices()
[all …]
Ddrbd_req.c319 static void set_if_null_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in set_if_null_req_next()
328 static void advance_conn_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in advance_conn_req_next()
349 static void set_if_null_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request *… in set_if_null_req_ack_pending()
358 static void advance_conn_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request … in advance_conn_req_ack_pending()
379 static void set_if_null_req_not_net_done(struct drbd_peer_device *peer_device, struct drbd_request … in set_if_null_req_not_net_done()
388 static void advance_conn_req_not_net_done(struct drbd_peer_device *peer_device, struct drbd_request… in advance_conn_req_not_net_done()
415 struct drbd_peer_device *peer_device = first_peer_device(device); in mod_rq_state()
560 struct drbd_peer_device *const peer_device = first_peer_device(device); in __req_mod()
Ddrbd_state_change.h25 struct drbd_peer_device *peer_device;
Ddrbd_nl.c446 struct drbd_peer_device *peer_device; in highest_fencing_policy()
617 struct drbd_peer_device *const peer_device = first_peer_device(device); in drbd_set_role()
1599 struct drbd_peer_device *peer_device; in drbd_adm_disk_opts()
1710 struct drbd_peer_device *peer_device; in drbd_adm_attach()
2175 struct drbd_peer_device *peer_device; in conn_resync_running()
2197 struct drbd_peer_device *peer_device; in conn_ov_running()
2218 struct drbd_peer_device *peer_device; in _check_net_options()
2263 struct drbd_peer_device *peer_device; in check_net_options()
2439 struct drbd_peer_device *peer_device; in drbd_adm_net_opts()
2470 struct drbd_peer_device *peer_device) in peer_device_to_info()
[all …]
Ddrbd_debugfs.c827 void drbd_debugfs_peer_device_add(struct drbd_peer_device *peer_device) in drbd_debugfs_peer_device_add()
838 void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device *peer_device) in drbd_debugfs_peer_device_cleanup()