Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/block/drbd/
Ddrbd_int.h69 struct drbd_peer_device;
130 extern void INFO_bm_xfer_stats(struct drbd_peer_device *peer_device,
319 struct drbd_peer_device *peer_device;
543 struct drbd_peer_device *peer_device;
546 int (*io_fn)(struct drbd_device *device, struct drbd_peer_device *peer_device);
733 struct drbd_peer_device { struct
942 static inline struct drbd_peer_device *first_peer_device(struct drbd_device *device) in first_peer_device()
944 return list_first_entry_or_null(&device->peer_devices, struct drbd_peer_device, peer_devices); in first_peer_device()
947 static inline struct drbd_peer_device *
1015 extern int drbd_send_uuids(struct drbd_peer_device *);
[all …]
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_worker.c31 static int make_ov_request(struct drbd_peer_device *, int);
32 static int make_resync_request(struct drbd_peer_device *, int);
84 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()
496 static int drbd_rs_controller(struct drbd_peer_device *peer_device, unsigned int sect_in) in drbd_rs_controller()
549 static int drbd_rs_number_requests(struct drbd_peer_device *peer_device) in drbd_rs_number_requests()
585 static int make_resync_request(struct drbd_peer_device *const peer_device, int cancel) in make_resync_request()
765 static int make_ov_request(struct drbd_peer_device *peer_device, int cancel) in make_ov_request()
[all …]
Ddrbd_main.c233 struct drbd_peer_device *peer_device; in tl_release()
260 struct drbd_peer_device *peer_device; in _tl_restart()
612 void *drbd_prepare_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock) in drbd_prepare_command()
666 int drbd_send_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock, in drbd_send_command()
698 int drbd_send_sync_param(struct drbd_peer_device *peer_device) in drbd_send_sync_param()
808 static int _drbd_send_uuids(struct drbd_peer_device *peer_device, u64 uuid_flags) in _drbd_send_uuids()
842 int drbd_send_uuids(struct drbd_peer_device *peer_device) in drbd_send_uuids()
847 int drbd_send_uuids_skip_initial_sync(struct drbd_peer_device *peer_device) in drbd_send_uuids_skip_initial_sync()
870 void drbd_gen_and_send_sync_uuid(struct drbd_peer_device *peer_device) in drbd_gen_and_send_sync_uuid()
896 int drbd_send_sizes(struct drbd_peer_device *peer_device, int trigger_reply, enum dds_flags flags) in drbd_send_sizes()
[all …]
Ddrbd_req.h270 struct drbd_peer_device *peer_device,
285 struct drbd_peer_device *peer_device) in _req_mod()
305 struct drbd_peer_device *peer_device) in req_mod()
Ddrbd_receiver.c58 static int drbd_disconnected(struct drbd_peer_device *);
224 struct drbd_peer_device *peer_device; in conn_reclaim_net_peer_reqs()
262 struct page *drbd_alloc_pages(struct drbd_peer_device *peer_device, unsigned int number, in drbd_alloc_pages()
360 drbd_alloc_peer_req(struct drbd_peer_device *peer_device, u64 id, sector_t sector, in drbd_alloc_peer_req()
889 int drbd_connected(struct drbd_peer_device *peer_device) in drbd_connected()
926 struct drbd_peer_device *peer_device; in conn_connect()
1315 struct drbd_peer_device *peer_device; in drbd_flush()
1742 struct drbd_peer_device *peer_device; in conn_wait_active_ee_empty()
1847 read_in_block(struct drbd_peer_device *peer_device, u64 id, sector_t sector, in read_in_block()
1957 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_req.c125 struct drbd_peer_device *peer_device = first_peer_device(device); in drbd_req_destroy()
320 static void set_if_null_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in set_if_null_req_next()
329 static void advance_conn_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in advance_conn_req_next()
350 static void set_if_null_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request *… in set_if_null_req_ack_pending()
359 static void advance_conn_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request … in advance_conn_req_ack_pending()
380 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()
389 static void advance_conn_req_not_net_done(struct drbd_peer_device *peer_device, struct drbd_request… in advance_conn_req_not_net_done()
416 struct drbd_peer_device *peer_device = first_peer_device(device); in mod_rq_state()
561 struct drbd_peer_device *peer_device, in __req_mod()
1107 struct drbd_peer_device *peer_device = first_peer_device(device); in drbd_process_write_request()
[all …]
Ddrbd_polymorph_printk.h71 __drbd_printk_if_same_type(obj, drbd_peer_device, level, fmt, ## args), \
94 __drbd_dyn_dbg_if_same_type(obj, drbd_peer_device, fmt, ## args), \
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()
1605 struct drbd_peer_device *peer_device; in drbd_adm_disk_opts()
1720 struct drbd_peer_device *peer_device; in drbd_adm_attach()
2188 struct drbd_peer_device *peer_device; in conn_resync_running()
2210 struct drbd_peer_device *peer_device; in conn_ov_running()
2231 struct drbd_peer_device *peer_device; in _check_net_options()
2276 struct drbd_peer_device *peer_device; in check_net_options()
2452 struct drbd_peer_device *peer_device; in drbd_adm_net_opts()
2483 struct drbd_peer_device *peer_device) in peer_device_to_info()
[all …]
Ddrbd_bitmap.c1218 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bm_read()
1231 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bm_write()
1243 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bm_write_all()
1270 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bm_write_copy_pages()
Ddrbd_actlog.c738 void drbd_advance_rs_marks(struct drbd_peer_device *peer_device, unsigned long still_to_go) in drbd_advance_rs_marks()
847 int __drbd_change_sync(struct drbd_peer_device *peer_device, sector_t sector, int size, in __drbd_change_sync()
1018 int drbd_try_rs_begin_io(struct drbd_peer_device *peer_device, sector_t sector) in drbd_try_rs_begin_io()
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-6.12.1/Documentation/admin-guide/blockdev/drbd/
Ddata-structure-v9.rst16 drbd_peer_device object sits at each intersection between a drbd_device and a