Searched refs:drbd_connection (Results 1 – 13 of 13) sorted by relevance
/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_int.h | 77 struct drbd_connection; 103 __drbd_printk_if_same_type(obj, struct drbd_connection *, \ 225 extern unsigned int drbd_header_size(struct drbd_connection *connection); 242 struct drbd_connection *connection; 365 struct drbd_connection *connection; 687 struct drbd_connection { struct 775 static inline bool has_net_conf(struct drbd_connection *connection) in has_net_conf() argument 808 struct drbd_connection *connection; 1007 struct drbd_connection *connection; 1021 conn_peer_device(struct drbd_connection *connection, int volume_number) in conn_peer_device() [all …]
|
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_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 … 221 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs() 512 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv() 545 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all() 558 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn() 587 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect() 676 struct drbd_connection *connection; [all …]
|
D | drbd_main.c | 183 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release() 270 void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in _tl_restart() 278 void tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in tl_restart() 293 void tl_clear(struct drbd_connection *connection) in tl_clear() 304 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io() 483 int conn_lowest_minor(struct drbd_connection *connection) in conn_lowest_minor() 564 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size() 604 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header() 616 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command() 624 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command() [all …]
|
D | drbd_req.h | 279 extern void start_new_tl_epoch(struct drbd_connection *connection); 288 extern void tl_restart(struct drbd_connection *connection, enum drbd_req_event what); 289 extern void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what);
|
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() 1196 static unsigned int drbd_max_discard_sectors(struct drbd_connection *connection) in drbd_max_discard_sectors() [all …]
|
D | drbd_req.c | 160 static void wake_all_senders(struct drbd_connection *connection) in wake_all_senders() 166 void start_new_tl_epoch(struct drbd_connection *connection) in start_new_tl_epoch() 323 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_next() 332 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_next() 349 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_ack_pending() 358 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_ack_pending() 375 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_not_net_done() 384 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_not_net_done() 553 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in __req_mod() 975 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() 591 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in make_resync_request() 846 struct drbd_connection *connection = first_peer_device(device)->connection; in ping_peer() 856 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_resync_finished() 1367 static int drbd_send_barrier(struct drbd_connection *connection) in drbd_send_barrier() 1402 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch) in re_init_if_first_write() 1412 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch) in maybe_send_barrier() 1429 struct drbd_connection *const connection = peer_device->connection; in w_send_out_of_sync() 1460 struct drbd_connection *connection = peer_device->connection; in w_send_dblock() 1493 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 | 763 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_schedule_on_disk_bitmap_update()
|