Lines Matching defs:drbd_connection
707 struct drbd_connection { struct
708 struct list_head connections;
709 struct drbd_resource *resource;
711 struct dentry *debugfs_conn;
712 struct dentry *debugfs_conn_callback_history;
713 struct dentry *debugfs_conn_oldest_requests;
715 struct kref kref;
716 struct idr peer_devices; /* volume number to peer device mapping */
717 enum drbd_conns cstate; /* Only C_STANDALONE to C_WF_REPORT_PARAMS */
718 struct mutex cstate_mutex; /* Protects graceful disconnects */
719 unsigned int connect_cnt; /* Inc each time a connection is established */
721 unsigned long flags;
722 struct net_conf *net_conf; /* content protected by rcu */
723 wait_queue_head_t ping_wait; /* Woken upon reception of a ping, and a state change */
725 struct sockaddr_storage my_addr;
726 int my_addr_len;
727 struct sockaddr_storage peer_addr;
728 int peer_addr_len;
730 struct drbd_socket data; /* data/barrier/cstate/parameter packets */
731 struct drbd_socket meta; /* ping/ack (metadata) packets */
732 int agreed_pro_version; /* actually used protocol version */
733 u32 agreed_features;
734 unsigned long last_received; /* in jiffies, either socket */
735 unsigned int ko_count;
737 struct list_head transfer_log; /* all requests not yet fully processed */
739 struct crypto_hash *cram_hmac_tfm;
740 …ypto_hash *integrity_tfm; /* checksums we compute, updates protected by connection->data->mutex */
741 …ct crypto_hash *peer_integrity_tfm; /* checksums we verify, only accessed from receiver thread */
742 struct crypto_hash *csums_tfm;
743 struct crypto_hash *verify_tfm;
744 void *int_dig_in;
745 void *int_dig_vv;
748 struct drbd_epoch *current_epoch;
749 spinlock_t epoch_lock;
750 unsigned int epochs;
751 atomic_t current_tle_nr; /* transfer log epoch number */
752 unsigned current_tle_writes; /* writes seen within this tl epoch */
754 unsigned long last_reconnect_jif;
755 struct drbd_thread receiver;
756 struct drbd_thread worker;
757 struct drbd_thread asender;
762 struct drbd_request *req_next; /* DRBD 9: todo.req_next */
763 struct drbd_request *req_ack_pending;
764 struct drbd_request *req_not_net_done;
767 struct drbd_work_queue sender_work;
770 unsigned int w_cb_nr; /* keeps counting up */
771 unsigned int r_cb_nr; /* keeps counting up */
772 struct drbd_thread_timing_details w_timing_details[DRBD_THREAD_DETAILS_HIST];
773 struct drbd_thread_timing_details r_timing_details[DRBD_THREAD_DETAILS_HIST];
775 struct {
787 } send;