Lines Matching refs:drbd_connection
68 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,
1006 extern void tl_clear(struct drbd_connection *);
1007 extern void drbd_free_sock(struct drbd_connection *connection);
1008 extern int drbd_send(struct drbd_connection *connection, struct socket *sock,
1010 extern int drbd_send_all(struct drbd_connection *, struct socket *, void *, size_t,
1013 extern int __drbd_send_protocol(struct drbd_connection *connection, enum drbd_packet cmd);
1014 extern int drbd_send_protocol(struct drbd_connection *connection);
1022 extern void drbd_send_b_ack(struct drbd_connection *connection, u32 barrier_nr,
1045 extern void conn_send_sr_reply(struct drbd_connection *connection, enum drbd_state_rv retcode);
1052 extern void conn_md_sync(struct drbd_connection *connection);
1375 extern struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts);
1377 extern struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len,
1381 extern void conn_free_crypto(struct drbd_connection *connection);
1413 extern bool conn_try_outdate_peer(struct drbd_connection *connection);
1414 extern void conn_try_outdate_peer_async(struct drbd_connection *connection);
1415 extern enum drbd_peer_state conn_khelper(struct drbd_connection *connection, char *cmd);
1586 struct drbd_connection *,
1595 struct drbd_connection *, const char *, int);
1842 struct drbd_connection *connection = in drbd_device_post_work()
1856 static inline void wake_ack_receiver(struct drbd_connection *connection) in wake_ack_receiver()
1863 static inline void request_ping(struct drbd_connection *connection) in request_ping()
1869 extern void *conn_prepare_command(struct drbd_connection *, struct drbd_socket *);
1871 extern int conn_send_command(struct drbd_connection *, struct drbd_socket *,
1878 extern int drbd_send_ping(struct drbd_connection *connection);
1879 extern int drbd_send_ping_ack(struct drbd_connection *connection);
1881 extern int conn_send_state_req(struct drbd_connection *, union drbd_state, union drbd_state);
2243 static inline struct drbd_connection *first_connection(struct drbd_resource *resource) in first_connection()
2246 struct drbd_connection, connections); in first_connection()