Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/block/drbd/
Ddrbd_state.h6 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);
Ddrbd_debugfs.h15 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()
Ddrbd_int.h68 struct drbd_connection;
152 extern unsigned int drbd_header_size(struct drbd_connection *connection);
169 struct drbd_connection *connection;
292 struct drbd_connection *connection;
615 struct drbd_connection { struct
703 static inline bool has_net_conf(struct drbd_connection *connection) in has_net_conf() argument
736 struct drbd_connection *connection;
934 struct drbd_connection *connection;
948 conn_peer_device(struct drbd_connection *connection, int volume_number) in conn_peer_device()
1004 extern void tl_release(struct drbd_connection *, unsigned int barrier_nr,
[all …]
Ddrbd_receiver.c56 static int drbd_do_features(struct drbd_connection *connection);
57 static int drbd_do_auth(struct drbd_connection *connection);
59 static void conn_wait_active_ee_empty(struct drbd_connection *connection);
60 static enum finish_epoch drbd_may_finish_epoch(struct drbd_connection *, struct drbd_epoch *, enum …
222 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs()
513 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv()
546 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all()
559 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn()
588 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect()
677 struct drbd_connection *connection;
[all …]
Ddrbd_req.h267 extern void start_new_tl_epoch(struct drbd_connection *connection);
275 extern void tl_restart(struct drbd_connection *connection, enum drbd_req_event what);
276 extern void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what);
Ddrbd_main.c169 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release()
258 void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in _tl_restart()
269 void tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in tl_restart()
284 void tl_clear(struct drbd_connection *connection) in tl_clear()
295 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io()
540 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size()
580 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header()
592 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command()
600 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command()
617 static int __send_command(struct drbd_connection *connection, int vnr, in __send_command()
[all …]
Ddrbd_state.c46 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 …]
Ddrbd_polymorph_printk.h40 const struct drbd_connection *__c = (connection); \
69 __drbd_printk_if_same_type(obj, drbd_connection, level, fmt, ## args), \
92 __drbd_dyn_dbg_if_same_type(obj, drbd_connection, fmt, ## args), \
Ddrbd_debugfs.c302 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()
Ddrbd_nl.c327 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()
1219 static unsigned int drbd_max_discard_sectors(struct drbd_connection *connection) in drbd_max_discard_sectors()
[all …]
Ddrbd_req.c159 static void wake_all_senders(struct drbd_connection *connection) in wake_all_senders()
165 void start_new_tl_epoch(struct drbd_connection *connection) in start_new_tl_epoch()
322 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_next()
331 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_next()
352 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_ack_pending()
361 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_ack_pending()
382 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_not_net_done()
391 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_not_net_done()
565 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in __req_mod()
986 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_pull_ahead()
[all …]
Ddrbd_worker.c107 struct drbd_connection *connection = peer_device->connection; in drbd_endio_write_sec_final()
588 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in make_resync_request()
844 struct drbd_connection *connection = first_peer_device(device)->connection; in ping_peer()
855 struct drbd_connection *connection = peer_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 …]
Ddrbd_state_change.h19 struct drbd_connection *connection;
Ddrbd_actlog.c764 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_schedule_on_disk_bitmap_update()
/linux-6.12.1/Documentation/admin-guide/blockdev/drbd/
Ddata-structure-v9.rst17 drbd_connection::
39 The drbd_resource, drbd_connection, and drbd_device objects are reference