Home
last modified time | relevance | path

Searched refs:drbd_connection (Results 1 – 13 of 13) sorted by relevance

/drivers/block/drbd/
Ddrbd_state.h5 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);
Ddrbd_int.h95 struct drbd_connection;
121 __drbd_printk_if_same_type(obj, struct drbd_connection *, \
243 extern unsigned int drbd_header_size(struct drbd_connection *connection);
260 struct drbd_connection *connection;
383 struct drbd_connection *connection;
704 struct drbd_connection { struct
790 static inline bool has_net_conf(struct drbd_connection *connection) in has_net_conf() argument
823 struct drbd_connection *connection;
1023 struct drbd_connection *connection;
1037 conn_peer_device(struct drbd_connection *connection, int volume_number) in conn_peer_device()
[all …]
Ddrbd_debugfs.h14 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()
Ddrbd_receiver.c66 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 …
230 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs()
520 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv()
553 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all()
566 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn()
595 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect()
684 struct drbd_connection *connection;
[all …]
Ddrbd_main.c192 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release()
276 void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in _tl_restart()
284 void tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in tl_restart()
299 void tl_clear(struct drbd_connection *connection) in tl_clear()
310 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io()
487 int conn_lowest_minor(struct drbd_connection *connection) in conn_lowest_minor()
567 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size()
607 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header()
619 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command()
627 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command()
[all …]
Ddrbd_req.h283 extern void start_new_tl_epoch(struct drbd_connection *connection);
292 extern void tl_restart(struct drbd_connection *connection, enum drbd_req_event what);
293 extern void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what);
Ddrbd_state.c58 struct drbd_connection *connection; in count_objects()
100 struct drbd_connection *connection; in remember_old_state()
196 struct drbd_connection *connection = in remember_new_state()
282 struct drbd_connection *connection = in forget_state_change()
296 …bd_state_rv is_valid_soft_transition(union drbd_state, union drbd_state, struct drbd_connection *);
306 bool conn_all_vols_unconf(struct drbd_connection *connection) in conn_all_vols_unconf()
347 enum drbd_role conn_highest_role(struct drbd_connection *connection) in conn_highest_role()
363 enum drbd_role conn_highest_peer(struct drbd_connection *connection) in conn_highest_peer()
379 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection) in conn_highest_disk()
395 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection) in conn_lowest_disk()
[all …]
Ddrbd_debugfs.c302 struct drbd_connection *connection, in seq_print_resource_transfer_log_summary()
363 struct drbd_connection *connection; in in_flight_summary_show()
554 struct drbd_connection *connection = m->private; in callback_history_show()
568 struct drbd_connection *connection = inode->i_private; in callback_history_open()
575 struct drbd_connection *connection = inode->i_private; in callback_history_release()
590 struct drbd_connection *connection = m->private; in connection_oldest_requests_show()
615 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_open()
622 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_release()
635 void drbd_debugfs_connection_add(struct drbd_connection *connection) in drbd_debugfs_connection_add()
670 void drbd_debugfs_connection_cleanup(struct drbd_connection *connection) in drbd_debugfs_connection_cleanup()
Ddrbd_req.c185 static void wake_all_senders(struct drbd_connection *connection) in wake_all_senders()
191 void start_new_tl_epoch(struct drbd_connection *connection) in start_new_tl_epoch()
339 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_next()
348 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_next()
365 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_ack_pending()
374 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_ack_pending()
391 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_not_net_done()
400 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_not_net_done()
584 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in __req_mod()
1006 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_pull_ahead()
[all …]
Ddrbd_nl.c311 static void setup_khelper_env(struct drbd_connection *connection, char **envp) in setup_khelper_env()
348 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_khelper()
390 enum drbd_peer_state conn_khelper(struct drbd_connection *connection, char *cmd) in conn_khelper()
427 static enum drbd_fencing_p highest_fencing_policy(struct drbd_connection *connection) in highest_fencing_policy()
453 bool conn_try_outdate_peer(struct drbd_connection *connection) in conn_try_outdate_peer()
572 struct drbd_connection *connection = (struct drbd_connection *)data; in _try_outdate_peer_async()
580 void conn_try_outdate_peer_async(struct drbd_connection *connection) in conn_try_outdate_peer_async()
602 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in drbd_set_role()
611 struct drbd_connection *connection; in drbd_set_role()
1180 static unsigned int drbd_max_discard_sectors(struct drbd_connection *connection) in drbd_max_discard_sectors()
[all …]
Ddrbd_worker.c116 struct drbd_connection *connection = peer_device->connection; in drbd_endio_write_sec_final()
590 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in make_resync_request()
845 struct drbd_connection *connection = first_peer_device(device)->connection; in ping_peer()
855 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_resync_finished()
1366 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()
1484 struct drbd_connection *connection = peer_device->connection; in w_send_read_req()
[all …]
Ddrbd_state_change.h18 struct drbd_connection *connection;
Ddrbd_actlog.c775 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_schedule_on_disk_bitmap_update()