Searched refs:drbd_connection (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_state.h | 5 struct drbd_connection; 132 _conn_request_state(struct drbd_connection *connection, union drbd_state mask, union drbd_state val, 136 conn_request_state(struct drbd_connection *connection, union drbd_state mask, union drbd_state val, 140 extern bool conn_all_vols_unconf(struct drbd_connection *connection); 159 enum drbd_role conn_highest_role(struct drbd_connection *connection); 160 enum drbd_role conn_highest_peer(struct drbd_connection *connection); 161 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection); 162 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection); 163 enum drbd_disk_state conn_highest_pdsk(struct drbd_connection *connection); 164 enum drbd_conns conn_lowest_conn(struct drbd_connection *connection);
|
D | drbd_debugfs.h | 14 void drbd_debugfs_connection_add(struct drbd_connection *connection); 15 void drbd_debugfs_connection_cleanup(struct drbd_connection *connection); 30 static inline void drbd_debugfs_connection_add(struct drbd_connection *connection) { } in drbd_debugfs_connection_add() 31 static inline void drbd_debugfs_connection_cleanup(struct drbd_connection *connection) { } in drbd_debugfs_connection_cleanup()
|
D | drbd_int.h | 100 struct drbd_connection; 126 __drbd_printk_if_same_type(obj, struct drbd_connection *, \ 248 extern unsigned int drbd_header_size(struct drbd_connection *connection); 265 struct drbd_connection *connection; 385 struct drbd_connection *connection; 707 struct drbd_connection { struct 812 struct drbd_connection *connection; 1009 struct drbd_connection *connection; 1073 extern void tl_release(struct drbd_connection *, unsigned int barrier_nr, 1075 extern void tl_clear(struct drbd_connection *); [all …]
|
D | drbd_receiver.c | 66 static int drbd_do_features(struct drbd_connection *connection); 67 static int drbd_do_auth(struct drbd_connection *connection); 69 static void conn_wait_active_ee_empty(struct drbd_connection *connection); 70 static enum finish_epoch drbd_may_finish_epoch(struct drbd_connection *, struct drbd_epoch *, enum … 492 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv() 525 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all() 538 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn() 567 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect() 656 struct drbd_connection *connection; 674 static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) in prepare_listen_socket() [all …]
|
D | drbd_req.h | 280 extern void start_new_tl_epoch(struct drbd_connection *connection); 289 extern void tl_restart(struct drbd_connection *connection, enum drbd_req_event what); 290 extern void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what);
|
D | drbd_main.c | 191 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release() 275 void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in _tl_restart() 283 void tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in tl_restart() 298 void tl_clear(struct drbd_connection *connection) in tl_clear() 309 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io() 486 int conn_lowest_minor(struct drbd_connection *connection) in conn_lowest_minor() 566 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size() 606 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header() 618 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command() 626 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command() [all …]
|
D | drbd_state.c | 55 …bd_state_rv is_valid_soft_transition(union drbd_state, union drbd_state, struct drbd_connection *); 65 bool conn_all_vols_unconf(struct drbd_connection *connection) in conn_all_vols_unconf() 105 enum drbd_role conn_highest_role(struct drbd_connection *connection) in conn_highest_role() 121 enum drbd_role conn_highest_peer(struct drbd_connection *connection) in conn_highest_peer() 137 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection) in conn_highest_disk() 153 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection) in conn_lowest_disk() 169 enum drbd_disk_state conn_highest_pdsk(struct drbd_connection *connection) in conn_highest_pdsk() 185 enum drbd_conns conn_lowest_conn(struct drbd_connection *connection) in conn_lowest_conn() 201 static bool no_peer_wf_report_params(struct drbd_connection *connection) in no_peer_wf_report_params() 218 static void wake_up_all_devices(struct drbd_connection *connection) in wake_up_all_devices() [all …]
|
D | drbd_debugfs.c | 307 struct drbd_connection *connection, in seq_print_resource_transfer_log_summary() 368 struct drbd_connection *connection; in in_flight_summary_show() 571 struct drbd_connection *connection = m->private; in callback_history_show() 585 struct drbd_connection *connection = inode->i_private; in callback_history_open() 592 struct drbd_connection *connection = inode->i_private; in callback_history_release() 607 struct drbd_connection *connection = m->private; in connection_oldest_requests_show() 632 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_open() 639 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_release() 652 void drbd_debugfs_connection_add(struct drbd_connection *connection) in drbd_debugfs_connection_add() 687 void drbd_debugfs_connection_cleanup(struct drbd_connection *connection) in drbd_debugfs_connection_cleanup()
|
D | drbd_nl.c | 297 static void setup_khelper_env(struct drbd_connection *connection, char **envp) in setup_khelper_env() 334 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_khelper() 374 static int conn_khelper(struct drbd_connection *connection, char *cmd) in conn_khelper() 409 static enum drbd_fencing_p highest_fencing_policy(struct drbd_connection *connection) in highest_fencing_policy() 438 bool conn_try_outdate_peer(struct drbd_connection *connection) in conn_try_outdate_peer() 536 struct drbd_connection *connection = (struct drbd_connection *)data; in _try_outdate_peer_async() 544 void conn_try_outdate_peer_async(struct drbd_connection *connection) in conn_try_outdate_peer_async() 566 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in drbd_set_role() 575 struct drbd_connection *connection; in drbd_set_role() 1152 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_setup_queue_param() [all …]
|
D | drbd_req.c | 184 static void wake_all_senders(struct drbd_connection *connection) in wake_all_senders() 190 void start_new_tl_epoch(struct drbd_connection *connection) in start_new_tl_epoch() 337 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_next() 346 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_next() 363 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_ack_pending() 372 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_ack_pending() 389 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_not_net_done() 398 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_not_net_done() 582 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in __req_mod() 1000 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_pull_ahead() [all …]
|
D | drbd_worker.c | 589 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in make_resync_request() 833 struct drbd_connection *connection = first_peer_device(device)->connection; in ping_peer() 1304 static int drbd_send_barrier(struct drbd_connection *connection) in drbd_send_barrier() 1334 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch) in re_init_if_first_write() 1343 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch) in maybe_send_barrier() 1360 struct drbd_connection *const connection = peer_device->connection; in w_send_out_of_sync() 1391 struct drbd_connection *connection = peer_device->connection; in w_send_dblock() 1420 struct drbd_connection *connection = peer_device->connection; in w_send_read_req() 1635 static bool use_checksum_based_resync(struct drbd_connection *connection, struct drbd_device *devic… in use_checksum_based_resync() 1658 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in drbd_start_resync() [all …]
|
/linux-4.1.27/Documentation/blockdev/drbd/ |
D | data-structure-v9.txt | 13 drbd_connection: 35 The drbd_resource, drbd_connection, and drbd_device objects are reference
|