Home
last modified time | relevance | path

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

/Linux-v5.4/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.h106 __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);
[all …]
Ddrbd_main.c481 struct drbd_peer_device *peer_device; in conn_lowest_minor()
632 void *drbd_prepare_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock) in drbd_prepare_command()
686 int drbd_send_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock, in drbd_send_command()
718 int drbd_send_sync_param(struct drbd_peer_device *peer_device) in drbd_send_sync_param()
827 static int _drbd_send_uuids(struct drbd_peer_device *peer_device, u64 uuid_flags) in _drbd_send_uuids()
861 int drbd_send_uuids(struct drbd_peer_device *peer_device) in drbd_send_uuids()
866 int drbd_send_uuids_skip_initial_sync(struct drbd_peer_device *peer_device) in drbd_send_uuids_skip_initial_sync()
889 void drbd_gen_and_send_sync_uuid(struct drbd_peer_device *peer_device) in drbd_gen_and_send_sync_uuid()
940 int drbd_send_sizes(struct drbd_peer_device *peer_device, int trigger_reply, enum dds_flags flags) in drbd_send_sizes()
998 int drbd_send_current_state(struct drbd_peer_device *peer_device) in drbd_send_current_state()
[all …]
Ddrbd_worker.c83 struct drbd_peer_device *peer_device = peer_req->peer_device; in drbd_endio_read_sec_final()
104 struct drbd_peer_device *peer_device = peer_req->peer_device; in drbd_endio_write_sec_final()
345 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_send_csum()
391 static int read_for_csum(struct drbd_peer_device *peer_device, sector_t sector, int size) in read_for_csum()
589 struct drbd_peer_device *const peer_device = first_peer_device(device); in make_resync_request()
1001 struct drbd_peer_device *peer_device; in drbd_resync_finished()
1056 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_end_data_req()
1117 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_end_rsdata_req()
1170 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_end_csum_rs_req()
1234 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_end_ov_req()
[all …]
Ddrbd_receiver.c58 static int drbd_disconnected(struct drbd_peer_device *);
222 struct drbd_peer_device *peer_device; in conn_reclaim_net_peer_reqs()
260 struct page *drbd_alloc_pages(struct drbd_peer_device *peer_device, unsigned int number, in drbd_alloc_pages()
358 drbd_alloc_peer_req(struct drbd_peer_device *peer_device, u64 id, sector_t sector, in drbd_alloc_peer_req()
887 int drbd_connected(struct drbd_peer_device *peer_device) in drbd_connected()
924 struct drbd_peer_device *peer_device; in conn_connect()
1312 struct drbd_peer_device *peer_device; in drbd_flush()
1753 struct drbd_peer_device *peer_device; in conn_wait_active_ee_empty()
1858 read_in_block(struct drbd_peer_device *peer_device, u64 id, sector_t sector, in read_in_block()
1983 static int drbd_drain_block(struct drbd_peer_device *peer_device, int data_size) in drbd_drain_block()
[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_state_change.h25 struct drbd_peer_device *peer_device;
Ddrbd_req.c338 static void set_if_null_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in set_if_null_req_next()
347 static void advance_conn_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in advance_conn_req_next()
364 static void set_if_null_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request *… in set_if_null_req_ack_pending()
373 static void advance_conn_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request … in advance_conn_req_ack_pending()
390 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()
399 static void advance_conn_req_not_net_done(struct drbd_peer_device *peer_device, struct drbd_request… in advance_conn_req_not_net_done()
422 struct drbd_peer_device *peer_device = first_peer_device(device); in mod_rq_state()
569 struct drbd_peer_device *const peer_device = first_peer_device(device); in __req_mod()
Ddrbd_nl.c447 struct drbd_peer_device *peer_device; in highest_fencing_policy()
618 struct drbd_peer_device *const peer_device = first_peer_device(device); in drbd_set_role()
1272 struct drbd_peer_device *peer_device = first_peer_device(device); in decide_on_write_same_support()
1682 struct drbd_peer_device *peer_device; in drbd_adm_disk_opts()
1794 struct drbd_peer_device *peer_device; in drbd_adm_attach()
2260 struct drbd_peer_device *peer_device; in conn_resync_running()
2282 struct drbd_peer_device *peer_device; in conn_ov_running()
2303 struct drbd_peer_device *peer_device; in _check_net_options()
2348 struct drbd_peer_device *peer_device; in check_net_options()
2525 struct drbd_peer_device *peer_device; in drbd_adm_net_opts()
[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()
/Linux-v5.4/Documentation/admin-guide/blockdev/drbd/
Ddata-structure-v9.rst16 drbd_peer_device object sits at each intersection between a drbd_device and a