Searched refs:drbd_connection (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.10/drivers/block/drbd/ |
D | drbd_state.h | 6 struct drbd_connection; 137 _conn_request_state(struct drbd_connection *connection, union drbd_state mask, union drbd_state val, 141 conn_request_state(struct drbd_connection *connection, union drbd_state mask, union drbd_state val, 145 extern bool conn_all_vols_unconf(struct drbd_connection *connection); 167 enum drbd_role conn_highest_role(struct drbd_connection *connection); 168 enum drbd_role conn_highest_peer(struct drbd_connection *connection); 169 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection); 170 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection); 171 enum drbd_disk_state conn_highest_pdsk(struct drbd_connection *connection); 172 enum drbd_conns conn_lowest_conn(struct drbd_connection *connection);
|
D | drbd_debugfs.h | 15 void drbd_debugfs_connection_add(struct drbd_connection *connection); 16 void drbd_debugfs_connection_cleanup(struct drbd_connection *connection); 31 static inline void drbd_debugfs_connection_add(struct drbd_connection *connection) { } in drbd_debugfs_connection_add() 32 static inline void drbd_debugfs_connection_cleanup(struct drbd_connection *connection) { } in drbd_debugfs_connection_cleanup()
|
D | drbd_int.h | 76 struct drbd_connection; 102 __drbd_printk_if_same_type(obj, struct drbd_connection *, \ 224 extern unsigned int drbd_header_size(struct drbd_connection *connection); 241 struct drbd_connection *connection; 364 struct drbd_connection *connection; 683 struct drbd_connection { struct 771 static inline bool has_net_conf(struct drbd_connection *connection) in has_net_conf() argument 804 struct drbd_connection *connection; 1003 struct drbd_connection *connection; 1017 conn_peer_device(struct drbd_connection *connection, int volume_number) in conn_peer_device() [all …]
|
D | drbd_receiver.c | 57 static int drbd_do_features(struct drbd_connection *connection); 58 static int drbd_do_auth(struct drbd_connection *connection); 60 static void conn_wait_active_ee_empty(struct drbd_connection *connection); 61 static enum finish_epoch drbd_may_finish_epoch(struct drbd_connection *, struct drbd_epoch *, enum … 223 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs() 514 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv() 547 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all() 560 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn() 589 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect() 678 struct drbd_connection *connection; [all …]
|
D | drbd_req.h | 267 extern void start_new_tl_epoch(struct drbd_connection *connection); 276 extern void tl_restart(struct drbd_connection *connection, enum drbd_req_event what); 277 extern void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what);
|
D | drbd_main.c | 170 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release() 257 void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in _tl_restart() 265 void tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in tl_restart() 280 void tl_clear(struct drbd_connection *connection) in tl_clear() 291 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io() 470 int conn_lowest_minor(struct drbd_connection *connection) in conn_lowest_minor() 550 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size() 590 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header() 602 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command() 610 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command() [all …]
|
D | drbd_state.c | 46 struct drbd_connection *connection; in count_objects() 88 struct drbd_connection *connection; in remember_old_state() 184 struct drbd_connection *connection = in remember_new_state() 270 struct drbd_connection *connection = in forget_state_change() 284 …bd_state_rv is_valid_soft_transition(union drbd_state, union drbd_state, struct drbd_connection *); 294 bool conn_all_vols_unconf(struct drbd_connection *connection) in conn_all_vols_unconf() 335 enum drbd_role conn_highest_role(struct drbd_connection *connection) in conn_highest_role() 351 enum drbd_role conn_highest_peer(struct drbd_connection *connection) in conn_highest_peer() 367 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection) in conn_highest_disk() 383 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection) in conn_lowest_disk() [all …]
|
D | drbd_debugfs.c | 302 struct drbd_connection *connection, in seq_print_resource_transfer_log_summary() 363 struct drbd_connection *connection; in in_flight_summary_show() 539 struct drbd_connection *connection = m->private; in callback_history_show() 553 struct drbd_connection *connection = inode->i_private; in callback_history_open() 560 struct drbd_connection *connection = inode->i_private; in callback_history_release() 575 struct drbd_connection *connection = m->private; in connection_oldest_requests_show() 600 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_open() 607 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_release() 620 void drbd_debugfs_connection_add(struct drbd_connection *connection) in drbd_debugfs_connection_add() 642 void drbd_debugfs_connection_cleanup(struct drbd_connection *connection) in drbd_debugfs_connection_cleanup()
|
D | drbd_nl.c | 327 static void setup_khelper_env(struct drbd_connection *connection, char **envp) in setup_khelper_env() 364 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_khelper() 406 enum drbd_peer_state conn_khelper(struct drbd_connection *connection, char *cmd) in conn_khelper() 443 static enum drbd_fencing_p highest_fencing_policy(struct drbd_connection *connection) in highest_fencing_policy() 469 bool conn_try_outdate_peer(struct drbd_connection *connection) in conn_try_outdate_peer() 588 struct drbd_connection *connection = (struct drbd_connection *)data; in _try_outdate_peer_async() 596 void conn_try_outdate_peer_async(struct drbd_connection *connection) in conn_try_outdate_peer_async() 618 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in drbd_set_role() 627 struct drbd_connection *connection; in drbd_set_role() 1197 static unsigned int drbd_max_discard_sectors(struct drbd_connection *connection) in drbd_max_discard_sectors() [all …]
|
D | drbd_req.c | 163 static void wake_all_senders(struct drbd_connection *connection) in wake_all_senders() 169 void start_new_tl_epoch(struct drbd_connection *connection) in start_new_tl_epoch() 326 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_next() 335 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_next() 356 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_ack_pending() 365 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_ack_pending() 386 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_not_net_done() 395 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_not_net_done() 568 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in __req_mod() 989 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_pull_ahead() [all …]
|
D | drbd_worker.c | 107 struct drbd_connection *connection = peer_device->connection; in drbd_endio_write_sec_final() 586 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in make_resync_request() 841 struct drbd_connection *connection = first_peer_device(device)->connection; in ping_peer() 851 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_resync_finished() 1362 static int drbd_send_barrier(struct drbd_connection *connection) in drbd_send_barrier() 1397 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch) in re_init_if_first_write() 1407 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch) in maybe_send_barrier() 1424 struct drbd_connection *const connection = peer_device->connection; in w_send_out_of_sync() 1455 struct drbd_connection *connection = peer_device->connection; in w_send_dblock() 1488 struct drbd_connection *connection = peer_device->connection; in w_send_read_req() [all …]
|
D | drbd_state_change.h | 19 struct drbd_connection *connection;
|
D | drbd_actlog.c | 762 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_schedule_on_disk_bitmap_update()
|
/linux-5.19.10/Documentation/admin-guide/blockdev/drbd/ |
D | data-structure-v9.rst | 17 drbd_connection:: 39 The drbd_resource, drbd_connection, and drbd_device objects are reference
|