Lines Matching refs:drbd_connection
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()
1077 extern void tl_release(struct drbd_connection *, unsigned int barrier_nr,
1079 extern void tl_clear(struct drbd_connection *);
1080 extern void drbd_free_sock(struct drbd_connection *connection);
1081 extern int drbd_send(struct drbd_connection *connection, struct socket *sock,
1083 extern int drbd_send_all(struct drbd_connection *, struct socket *, void *, size_t,
1086 extern int __drbd_send_protocol(struct drbd_connection *connection, enum drbd_packet cmd);
1087 extern int drbd_send_protocol(struct drbd_connection *connection);
1095 extern void drbd_send_b_ack(struct drbd_connection *connection, u32 barrier_nr,
1118 extern void conn_send_sr_reply(struct drbd_connection *connection, enum drbd_state_rv retcode);
1125 extern void conn_md_sync(struct drbd_connection *connection);
1433 extern int conn_lowest_minor(struct drbd_connection *connection);
1442 extern struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts);
1444 extern struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len,
1448 extern void conn_free_crypto(struct drbd_connection *connection);
1483 extern bool conn_try_outdate_peer(struct drbd_connection *connection);
1484 extern void conn_try_outdate_peer_async(struct drbd_connection *connection);
1485 extern enum drbd_peer_state conn_khelper(struct drbd_connection *connection, char *cmd);
1659 struct drbd_connection *,
1668 struct drbd_connection *, const char *, int);
1916 struct drbd_connection *connection = in drbd_device_post_work()
1930 static inline void wake_ack_receiver(struct drbd_connection *connection) in wake_ack_receiver()
1937 static inline void request_ping(struct drbd_connection *connection) in request_ping()
1943 extern void *conn_prepare_command(struct drbd_connection *, struct drbd_socket *);
1945 extern int conn_send_command(struct drbd_connection *, struct drbd_socket *,
1952 extern int drbd_send_ping(struct drbd_connection *connection);
1953 extern int drbd_send_ping_ack(struct drbd_connection *connection);
1955 extern int conn_send_state_req(struct drbd_connection *, union drbd_state, union drbd_state);
2323 static inline struct drbd_connection *first_connection(struct drbd_resource *resource) in first_connection()
2326 struct drbd_connection, connections); in first_connection()