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;
617 struct drbd_connection { struct
705 static inline bool has_net_conf(struct drbd_connection *connection) in has_net_conf() argument
738 struct drbd_connection *connection;
937 struct drbd_connection *connection;
951 conn_peer_device(struct drbd_connection *connection, int volume_number) in conn_peer_device()
1007 extern void tl_release(struct drbd_connection *, unsigned int barrier_nr,
1009 extern void tl_clear(struct drbd_connection *);
1010 extern void drbd_free_sock(struct drbd_connection *connection);
1011 extern int drbd_send(struct drbd_connection *connection, struct socket *sock,
1013 extern int drbd_send_all(struct drbd_connection *, struct socket *, void *, size_t,
1016 extern int __drbd_send_protocol(struct drbd_connection *connection, enum drbd_packet cmd);
1017 extern int drbd_send_protocol(struct drbd_connection *connection);
1025 extern void drbd_send_b_ack(struct drbd_connection *connection, u32 barrier_nr,
1048 extern void conn_send_sr_reply(struct drbd_connection *connection, enum drbd_state_rv retcode);
1055 extern void conn_md_sync(struct drbd_connection *connection);
1370 extern int conn_lowest_minor(struct drbd_connection *connection);
1379 extern struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts);
1381 extern struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len,
1385 extern void conn_free_crypto(struct drbd_connection *connection);
1420 extern bool conn_try_outdate_peer(struct drbd_connection *connection);
1421 extern void conn_try_outdate_peer_async(struct drbd_connection *connection);
1422 extern enum drbd_peer_state conn_khelper(struct drbd_connection *connection, char *cmd);
1596 struct drbd_connection *,
1605 struct drbd_connection *, const char *, int);
1852 struct drbd_connection *connection = in drbd_device_post_work()
1866 static inline void wake_ack_receiver(struct drbd_connection *connection) in wake_ack_receiver()
1873 static inline void request_ping(struct drbd_connection *connection) in request_ping()
1879 extern void *conn_prepare_command(struct drbd_connection *, struct drbd_socket *);
1881 extern int conn_send_command(struct drbd_connection *, struct drbd_socket *,
1888 extern int drbd_send_ping(struct drbd_connection *connection);
1889 extern int drbd_send_ping_ack(struct drbd_connection *connection);
1891 extern int conn_send_state_req(struct drbd_connection *, union drbd_state, union drbd_state);
2253 static inline struct drbd_connection *first_connection(struct drbd_resource *resource) in first_connection()
2256 struct drbd_connection, connections); in first_connection()