Lines Matching refs:drbd_connection

169 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()
474 int conn_lowest_minor(struct drbd_connection *connection) in conn_lowest_minor()
554 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size()
594 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header()
606 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command()
614 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command()
631 static int __send_command(struct drbd_connection *connection, int vnr, in __send_command()
662 static int __conn_send_command(struct drbd_connection *connection, struct drbd_socket *sock, in __conn_send_command()
669 int conn_send_command(struct drbd_connection *connection, struct drbd_socket *sock, in conn_send_command()
692 int drbd_send_ping(struct drbd_connection *connection) in drbd_send_ping()
702 int drbd_send_ping_ack(struct drbd_connection *connection) in drbd_send_ping_ack()
767 int __drbd_send_protocol(struct drbd_connection *connection, enum drbd_packet cmd) in __drbd_send_protocol()
811 int drbd_send_protocol(struct drbd_connection *connection) in drbd_send_protocol()
1041 int conn_send_state_req(struct drbd_connection *connection, union drbd_state mask, union drbd_state… in conn_send_state_req()
1070 void conn_send_sr_reply(struct drbd_connection *connection, enum drbd_state_rv retcode) in conn_send_sr_reply()
1313 void drbd_send_b_ack(struct drbd_connection *connection, u32 barrier_nr, u32 set_size) in drbd_send_b_ack()
1471 static int we_should_drop_the_connection(struct drbd_connection *connection, struct socket *sock) in we_should_drop_the_connection()
1494 static void drbd_update_congested(struct drbd_connection *connection) in drbd_update_congested()
1645 static u32 bio_flags_to_wire(struct drbd_connection *connection, in bio_flags_to_wire()
1818 int drbd_send(struct drbd_connection *connection, struct socket *sock, in drbd_send()
1876 int drbd_send_all(struct drbd_connection *connection, struct socket *sock, void *buffer, in drbd_send_all()
2330 struct drbd_connection *connection, *tmp; in drbd_free_resource()
2433 struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len, in conn_get_by_addrs()
2437 struct drbd_connection *connection; in conn_get_by_addrs()
2474 void conn_free_crypto(struct drbd_connection *connection) in conn_free_crypto()
2497 struct drbd_connection *connection; in set_resource_options()
2579 struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts) in conn_create()
2582 struct drbd_connection *connection; in conn_create()
2584 connection = kzalloc(sizeof(struct drbd_connection), GFP_KERNEL); in conn_create()
2652 struct drbd_connection *connection = container_of(kref, struct drbd_connection, kref); in drbd_destroy_connection()
2686 struct drbd_connection *connection, *n; in drbd_create_device()
2833 struct drbd_connection *connection; in drbd_delete_device()
2943 void drbd_free_sock(struct drbd_connection *connection) in drbd_free_sock()
2953 void conn_md_sync(struct drbd_connection *connection) in conn_md_sync()