Searched refs:apv (Results 1 – 2 of 2) sorted by relevance
713 const int apv = peer_device->connection->agreed_pro_version; in drbd_send_sync_param() local726 size = apv <= 87 ? sizeof(struct p_rs_param) in drbd_send_sync_param()727 : apv == 88 ? sizeof(struct p_rs_param) in drbd_send_sync_param()729 : apv <= 94 ? sizeof(struct p_rs_param_89) in drbd_send_sync_param()732 cmd = apv >= 89 ? P_SYNC_PARAM89 : P_SYNC_PARAM; in drbd_send_sync_param()754 if (apv >= 88) in drbd_send_sync_param()756 if (apv >= 89) in drbd_send_sync_param()
3833 const int apv = connection->agreed_pro_version; in receive_SyncParam() local3843 exp_max_sz = apv <= 87 ? sizeof(struct p_rs_param) in receive_SyncParam()3844 : apv == 88 ? sizeof(struct p_rs_param) in receive_SyncParam()3846 : apv <= 94 ? sizeof(struct p_rs_param_89) in receive_SyncParam()3855 if (apv <= 88) { in receive_SyncParam()3858 } else if (apv <= 94) { in receive_SyncParam()3894 if (apv >= 88) { in receive_SyncParam()3895 if (apv == 88) { in receive_SyncParam()3934 if (apv >= 89 && strcmp(old_net_conf->csums_alg, p->csums_alg)) { in receive_SyncParam()3948 if (apv > 94 && new_disk_conf) { in receive_SyncParam()