Home
last modified time | relevance | path

Searched defs:peer_device (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/drivers/block/drbd/
Ddrbd_worker.c84 struct drbd_peer_device *peer_device = peer_req->peer_device; in drbd_endio_read_sec_final() local
105 struct drbd_peer_device *peer_device = peer_req->peer_device; in drbd_endio_write_sec_final() local
341 struct drbd_peer_device *peer_device = peer_req->peer_device; in w_e_send_csum() local
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()
852 int drbd_resync_finished(struct drbd_peer_device *peer_device) in drbd_resync_finished()
1001 struct drbd_peer_device *peer_device; in drbd_resync_finished() local
[all …]
Ddrbd_main.c233 struct drbd_peer_device *peer_device; in tl_release() local
260 struct drbd_peer_device *peer_device; in _tl_restart() local
476 struct drbd_peer_device *peer_device; in conn_lowest_minor() local
626 void *drbd_prepare_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock) in drbd_prepare_command()
680 int drbd_send_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock, in drbd_send_command()
712 int drbd_send_sync_param(struct drbd_peer_device *peer_device) in drbd_send_sync_param()
822 static int _drbd_send_uuids(struct drbd_peer_device *peer_device, u64 uuid_flags) in _drbd_send_uuids()
856 int drbd_send_uuids(struct drbd_peer_device *peer_device) in drbd_send_uuids()
861 int drbd_send_uuids_skip_initial_sync(struct drbd_peer_device *peer_device) in drbd_send_uuids_skip_initial_sync()
884 void drbd_gen_and_send_sync_uuid(struct drbd_peer_device *peer_device) in drbd_gen_and_send_sync_uuid()
[all …]
Ddrbd_receiver.c224 struct drbd_peer_device *peer_device; in conn_reclaim_net_peer_reqs() local
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() local
1315 struct drbd_peer_device *peer_device; in drbd_flush() local
1742 struct drbd_peer_device *peer_device; in conn_wait_active_ee_empty() local
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()
1982 static int recv_dless_read(struct drbd_peer_device *peer_device, struct drbd_request *req, in recv_dless_read()
[all …]
Ddrbd_state.c132 struct drbd_peer_device *peer_device; in remember_old_state() local
296 struct drbd_peer_device *peer_device; in conn_all_vols_unconf() local
338 struct drbd_peer_device *peer_device; in conn_highest_role() local
354 struct drbd_peer_device *peer_device; in conn_highest_peer() local
370 struct drbd_peer_device *peer_device; in conn_highest_disk() local
386 struct drbd_peer_device *peer_device; in conn_lowest_disk() local
402 struct drbd_peer_device *peer_device; in conn_highest_pdsk() local
418 struct drbd_peer_device *peer_device; in conn_lowest_conn() local
433 struct drbd_peer_device *peer_device; in no_peer_wf_report_params() local
450 struct drbd_peer_device *peer_device; in wake_up_all_devices() local
[all …]
Ddrbd_req.c125 struct drbd_peer_device *peer_device = first_peer_device(device); in drbd_req_destroy() local
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() local
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() local
[all …]
Ddrbd_debugfs.h37 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_nl.c446 struct drbd_peer_device *peer_device; in highest_fencing_policy() local
617 struct drbd_peer_device *const peer_device = first_peer_device(device); in drbd_set_role() local
1613 struct drbd_peer_device *peer_device; in drbd_adm_disk_opts() local
1727 struct drbd_peer_device *peer_device; in drbd_adm_attach() local
2197 struct drbd_peer_device *peer_device; in conn_resync_running() local
2219 struct drbd_peer_device *peer_device; in conn_ov_running() local
2240 struct drbd_peer_device *peer_device; in _check_net_options() local
2285 struct drbd_peer_device *peer_device; in check_net_options() local
2461 struct drbd_peer_device *peer_device; in drbd_adm_net_opts() local
2492 struct drbd_peer_device *peer_device) in peer_device_to_info()
[all …]
Ddrbd_req.h285 struct drbd_peer_device *peer_device) in _req_mod()
305 struct drbd_peer_device *peer_device) in req_mod()
Ddrbd_int.h323 struct drbd_peer_device *peer_device; member
545 struct drbd_peer_device *peer_device; member
974 #define for_each_peer_device(peer_device, device) \ argument
977 #define for_each_peer_device_rcu(peer_device, device) \ argument
980 #define for_each_peer_device_safe(peer_device, tmp, device) \ argument
1448 static inline void ov_out_of_sync_print(struct drbd_peer_device *peer_device) in ov_out_of_sync_print()
1558 #define drbd_set_in_sync(peer_device, sector, size) \ argument
1560 #define drbd_set_out_of_sync(peer_device, sector, size) \ argument
1562 #define drbd_rs_failed_io(peer_device, sector, size) \ argument
1951 static inline void inc_rs_pending(struct drbd_peer_device *peer_device) in inc_rs_pending()
[all …]
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()
1014 int drbd_try_rs_begin_io(struct drbd_peer_device *peer_device, sector_t sector) in drbd_try_rs_begin_io()
Ddrbd_state_change.h25 struct drbd_peer_device *peer_device; member
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_polymorph_printk.h22 #define __drbd_printk_drbd_peer_device_prep(peer_device) \ argument
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()