/linux-4.4.14/drivers/block/drbd/ |
H A D | drbd_debugfs.h | 36 static inline void drbd_debugfs_peer_device_add(struct drbd_peer_device *peer_device) { } drbd_debugfs_peer_device_cleanup() argument 37 static inline void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device *peer_device) { } argument
|
H A D | drbd_debugfs.c | 860 void drbd_debugfs_peer_device_add(struct drbd_peer_device *peer_device) drbd_debugfs_peer_device_add() argument 881 void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device *peer_device) drbd_debugfs_peer_device_cleanup() argument
|
H A D | drbd_req.c | 336 static void set_if_null_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) set_if_null_req_next() argument 345 static void advance_conn_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) advance_conn_req_next() argument 362 static void set_if_null_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request *req) set_if_null_req_ack_pending() argument 371 static void advance_conn_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request *req) advance_conn_req_ack_pending() argument 388 static void set_if_null_req_not_net_done(struct drbd_peer_device *peer_device, struct drbd_request *req) set_if_null_req_not_net_done() argument 397 static void advance_conn_req_not_net_done(struct drbd_peer_device *peer_device, struct drbd_request *req) advance_conn_req_not_net_done() argument 420 struct drbd_peer_device *peer_device = first_peer_device(device); mod_rq_state() local 582 struct drbd_peer_device *const peer_device = first_peer_device(device); __req_mod() local
|
H A D | drbd_state.c | 67 struct drbd_peer_device *peer_device; conn_all_vols_unconf() local 108 struct drbd_peer_device *peer_device; conn_highest_role() local 124 struct drbd_peer_device *peer_device; conn_highest_peer() local 140 struct drbd_peer_device *peer_device; conn_highest_disk() local 156 struct drbd_peer_device *peer_device; conn_lowest_disk() local 172 struct drbd_peer_device *peer_device; conn_highest_pdsk() local 188 struct drbd_peer_device *peer_device; conn_lowest_conn() local 203 struct drbd_peer_device *peer_device; no_peer_wf_report_params() local 220 struct drbd_peer_device *peer_device; wake_up_all_devices() local 980 struct drbd_peer_device *peer_device = first_peer_device(device); __drbd_set_state() local 1259 struct drbd_peer_device *peer_device = first_peer_device(device); after_state_ch() local 1309 struct drbd_peer_device *peer_device; local 1584 struct drbd_peer_device *peer_device; w_after_conn_state_ch() local 1639 struct drbd_peer_device *peer_device; conn_old_common_state() local 1688 struct drbd_peer_device *peer_device; conn_is_valid_transition() local 1737 struct drbd_peer_device *peer_device; conn_set_state() local
|
H A D | drbd_worker.c | 100 struct drbd_peer_device *peer_device = peer_req->peer_device; __releases() local 121 struct drbd_peer_device *peer_device = peer_req->peer_device; __releases() local 323 struct drbd_peer_device *peer_device = peer_req->peer_device; w_e_send_csum() local 369 static int read_for_csum(struct drbd_peer_device *peer_device, sector_t sector, int size) read_for_csum() argument 566 struct drbd_peer_device *const peer_device = first_peer_device(device); make_resync_request() local 999 struct drbd_peer_device *peer_device = peer_req->peer_device; w_e_end_data_req() local 1036 struct drbd_peer_device *peer_device = peer_req->peer_device; w_e_end_rsdata_req() local 1086 struct drbd_peer_device *peer_device = peer_req->peer_device; w_e_end_csum_rs_req() local 1150 struct drbd_peer_device *peer_device = peer_req->peer_device; w_e_end_ov_req() local 1207 struct drbd_peer_device *peer_device = peer_req->peer_device; w_e_end_ov_reply() local 1337 struct drbd_peer_device *const peer_device = first_peer_device(device); w_send_out_of_sync() local 1368 struct drbd_peer_device *const peer_device = first_peer_device(device); w_send_dblock() local 1397 struct drbd_peer_device *const peer_device = first_peer_device(device); w_send_read_req() local 1635 struct drbd_peer_device *peer_device = first_peer_device(device); drbd_start_resync() local 1951 struct drbd_peer_device *peer_device; do_unqueued_work() local 2067 struct drbd_peer_device *peer_device; drbd_worker() local
|
H A D | drbd_nl.c | 412 struct drbd_peer_device *peer_device; highest_fencing_policy() local 565 struct drbd_peer_device *const peer_device = first_peer_device(device); drbd_set_role() local 1426 struct drbd_peer_device *peer_device; drbd_adm_disk_opts() local 1456 struct drbd_peer_device *peer_device; drbd_adm_attach() local 1960 struct drbd_peer_device *peer_device; conn_resync_running() local 1982 struct drbd_peer_device *peer_device; conn_ov_running() local 2003 struct drbd_peer_device *peer_device; _check_net_options() local 2048 struct drbd_peer_device *peer_device; check_net_options() local 2225 struct drbd_peer_device *peer_device; drbd_adm_net_opts() local 2251 struct drbd_peer_device *peer_device; drbd_adm_connect() local 3573 struct drbd_peer_device *peer_device; for_each_connection() local
|
H A D | drbd_main.c | 488 struct drbd_peer_device *peer_device; conn_lowest_minor() local 638 void *drbd_prepare_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock) drbd_prepare_command() argument 692 int drbd_send_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock, drbd_send_command() argument 724 int drbd_send_sync_param(struct drbd_peer_device *peer_device) drbd_send_sync_param() argument 834 static int _drbd_send_uuids(struct drbd_peer_device *peer_device, u64 uuid_flags) _drbd_send_uuids() argument 868 int drbd_send_uuids(struct drbd_peer_device *peer_device) drbd_send_uuids() argument 873 int drbd_send_uuids_skip_initial_sync(struct drbd_peer_device *peer_device) drbd_send_uuids_skip_initial_sync() argument 896 void drbd_gen_and_send_sync_uuid(struct drbd_peer_device *peer_device) drbd_gen_and_send_sync_uuid() argument 922 int drbd_send_sizes(struct drbd_peer_device *peer_device, int trigger_reply, enum dds_flags flags) drbd_send_sizes() argument 971 int drbd_send_current_state(struct drbd_peer_device *peer_device) drbd_send_current_state() argument 994 int drbd_send_state(struct drbd_peer_device *peer_device, union drbd_state state) drbd_send_state() argument 1007 int drbd_send_state_req(struct drbd_peer_device *peer_device, union drbd_state mask, union drbd_state val) drbd_send_state_req() argument 1037 void drbd_send_sr_reply(struct drbd_peer_device *peer_device, enum drbd_state_rv retcode) drbd_send_sr_reply() argument 1315 static int _drbd_send_ack(struct drbd_peer_device *peer_device, enum drbd_packet cmd, _drbd_send_ack() argument 1338 void drbd_send_ack_dp(struct drbd_peer_device *peer_device, enum drbd_packet cmd, drbd_send_ack_dp() argument 1347 void drbd_send_ack_rp(struct drbd_peer_device *peer_device, enum drbd_packet cmd, drbd_send_ack_rp() argument 1359 int drbd_send_ack(struct drbd_peer_device *peer_device, enum drbd_packet cmd, drbd_send_ack() argument 1370 int drbd_send_ack_ex(struct drbd_peer_device *peer_device, enum drbd_packet cmd, drbd_send_ack_ex() argument 1379 int drbd_send_drequest(struct drbd_peer_device *peer_device, int cmd, drbd_send_drequest() argument 1395 int drbd_send_drequest_csum(struct drbd_peer_device *peer_device, sector_t sector, int size, drbd_send_drequest_csum() argument 1413 int drbd_send_ov_request(struct drbd_peer_device *peer_device, sector_t sector, int size) drbd_send_ov_request() argument 1483 static int _drbd_no_send_page(struct drbd_peer_device *peer_device, struct page *page, _drbd_no_send_page() argument 1499 static int _drbd_send_page(struct drbd_peer_device *peer_device, struct page *page, _drbd_send_page() argument 1548 static int _drbd_send_bio(struct drbd_peer_device *peer_device, struct bio *bio) _drbd_send_bio() argument 1567 static int _drbd_send_zc_bio(struct drbd_peer_device *peer_device, struct bio *bio) _drbd_send_zc_bio() argument 1585 static int _drbd_send_zc_ee(struct drbd_peer_device *peer_device, _drbd_send_zc_ee() argument 1619 int drbd_send_dblock(struct drbd_peer_device *peer_device, struct drbd_request *req) drbd_send_dblock() argument 1707 int drbd_send_block(struct drbd_peer_device *peer_device, enum drbd_packet cmd, drbd_send_block() argument 1738 int drbd_send_out_of_sync(struct drbd_peer_device *peer_device, struct drbd_request *req) drbd_send_out_of_sync() argument 2168 struct drbd_peer_device *peer_device, *tmp_peer_device; drbd_destroy_device() local 2720 struct drbd_peer_device *peer_device, *tmp_peer_device; drbd_create_device() local 2880 struct drbd_peer_device *peer_device; drbd_delete_device() local 3013 struct drbd_peer_device *peer_device; conn_md_sync() local
|
H A D | drbd_receiver.c | 251 struct page *drbd_alloc_pages(struct drbd_peer_device *peer_device, unsigned int number, drbd_alloc_pages() argument 869 int drbd_connected(struct drbd_peer_device *peer_device) drbd_connected() argument 906 struct drbd_peer_device *peer_device; conn_connect() local 1178 struct drbd_peer_device *peer_device; drbd_flush() local 1495 struct drbd_peer_device *peer_device; conn_wait_active_ee_empty() local 1681 static int drbd_drain_block(struct drbd_peer_device *peer_device, int data_size) drbd_drain_block() argument 1706 static int recv_dless_read(struct drbd_peer_device *peer_device, struct drbd_request *req, recv_dless_read() argument 1762 struct drbd_peer_device *peer_device = peer_req->peer_device; e_end_resync_block() local 1841 struct drbd_peer_device *peer_device; receive_DataReply() local 1876 struct drbd_peer_device *peer_device; receive_RSDataReply() local 1935 struct drbd_peer_device *peer_device = peer_req->peer_device; e_end_block() local 1978 struct drbd_peer_device *peer_device = peer_req->peer_device; e_send_ack() local 2017 static void update_peer_seq(struct drbd_peer_device *peer_device, unsigned int peer_seq) update_peer_seq() argument 2078 static int wait_for_and_update_peer_seq(struct drbd_peer_device *peer_device, const u32 peer_seq) wait_for_and_update_peer_seq() argument 2273 struct drbd_peer_device *peer_device; receive_Data() local 2515 struct drbd_peer_device *peer_device; receive_DataRequest() local 2936 struct drbd_peer_device *const peer_device = first_peer_device(device); __must_hold() local 3503 struct drbd_peer_device *peer_device; receive_SyncParam() local 3728 struct drbd_peer_device *peer_device; receive_sizes() local 3869 struct drbd_peer_device *peer_device; receive_uuids() local 3976 struct drbd_peer_device *peer_device; receive_req_state() local 4033 struct drbd_peer_device *peer_device; receive_state() local 4211 struct drbd_peer_device *peer_device; receive_sync_uuid() local 4251 receive_bitmap_plain(struct drbd_peer_device *peer_device, unsigned int size, receive_bitmap_plain() argument 4303 recv_bm_rle_bits(struct drbd_peer_device *peer_device, recv_bm_rle_bits() argument 4372 decode_bitmap_c(struct drbd_peer_device *peer_device, decode_bitmap_c() argument 4435 struct drbd_peer_device *peer_device; receive_bitmap() local 4540 struct drbd_peer_device *peer_device; receive_out_of_sync() local 4650 struct drbd_peer_device *peer_device; conn_disconnect() local 4701 static int drbd_disconnected(struct drbd_peer_device *peer_device) drbd_disconnected() argument 5118 struct drbd_peer_device *peer_device; got_RqSReply() local 5163 struct drbd_peer_device *peer_device; got_IsInSync() local 5215 struct drbd_peer_device *peer_device; got_BlockAck() local 5261 struct drbd_peer_device *peer_device; got_NegAck() local 5297 struct drbd_peer_device *peer_device; got_NegDReply() local 5319 struct drbd_peer_device *peer_device; got_NegRSDReply() local 5356 struct drbd_peer_device *peer_device; got_BarrierAck() local 5379 struct drbd_peer_device *peer_device; got_OVResult() local 5436 struct drbd_peer_device *peer_device; connection_finish_peer_reqs() local
|
H A D | drbd_int.h | 417 struct drbd_peer_device *peer_device; member in struct:drbd_peer_request
|