Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A 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 …]
H A Ddrbd_main.c233 struct drbd_peer_device *peer_device; in tl_release() local
260 struct drbd_peer_device *peer_device; in _tl_restart() local
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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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()
H A 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
1605 struct drbd_peer_device *peer_device; in drbd_adm_disk_opts() local
1720 struct drbd_peer_device *peer_device; in drbd_adm_attach() local
2188 struct drbd_peer_device *peer_device; in conn_resync_running() local
2210 struct drbd_peer_device *peer_device; in conn_ov_running() local
2231 struct drbd_peer_device *peer_device; in _check_net_options() local
2276 struct drbd_peer_device *peer_device; in check_net_options() local
2452 struct drbd_peer_device *peer_device; in drbd_adm_net_opts() local
2483 struct drbd_peer_device *peer_device) in peer_device_to_info()
[all …]
H A Ddrbd_req.h285 struct drbd_peer_device *peer_device) in _req_mod()
305 struct drbd_peer_device *peer_device) in req_mod()
H A Ddrbd_int.h319 struct drbd_peer_device *peer_device; member
543 struct drbd_peer_device *peer_device; member
971 #define for_each_peer_device(peer_device, device) \ argument
974 #define for_each_peer_device_rcu(peer_device, device) \ argument
977 #define for_each_peer_device_safe(peer_device, tmp, device) \ argument
1441 static inline void ov_out_of_sync_print(struct drbd_peer_device *peer_device) in ov_out_of_sync_print()
1548 #define drbd_set_in_sync(peer_device, sector, size) \ argument
1550 #define drbd_set_out_of_sync(peer_device, sector, size) \ argument
1552 #define drbd_rs_failed_io(peer_device, sector, size) \ argument
1941 static inline void inc_rs_pending(struct drbd_peer_device *peer_device) in inc_rs_pending()
[all …]
H A 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()
H A 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()
H A Ddrbd_state_change.h25 struct drbd_peer_device *peer_device; member
H A Ddrbd_polymorph_printk.h22 #define __drbd_printk_drbd_peer_device_prep(peer_device) \ argument
H A 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()