Searched refs:apv (Results 1 – 2 of 2) sorted by relevance
727 const int apv = peer_device->connection->agreed_pro_version; in drbd_send_sync_param() local740 size = apv <= 87 ? sizeof(struct p_rs_param) in drbd_send_sync_param()741 : apv == 88 ? sizeof(struct p_rs_param) in drbd_send_sync_param()743 : apv <= 94 ? sizeof(struct p_rs_param_89) in drbd_send_sync_param()746 cmd = apv >= 89 ? P_SYNC_PARAM89 : P_SYNC_PARAM; in drbd_send_sync_param()767 if (apv >= 88) in drbd_send_sync_param()769 if (apv >= 89) in drbd_send_sync_param()
3889 const int apv = connection->agreed_pro_version; in receive_SyncParam() local3899 exp_max_sz = apv <= 87 ? sizeof(struct p_rs_param) in receive_SyncParam()3900 : apv == 88 ? sizeof(struct p_rs_param) in receive_SyncParam()3902 : apv <= 94 ? sizeof(struct p_rs_param_89) in receive_SyncParam()3911 if (apv <= 88) { in receive_SyncParam()3914 } else if (apv <= 94) { in receive_SyncParam()3949 if (apv >= 88) { in receive_SyncParam()3950 if (apv == 88) { in receive_SyncParam()3990 if (apv >= 89 && strcmp(old_net_conf->csums_alg, p->csums_alg)) { in receive_SyncParam()4004 if (apv > 94 && new_disk_conf) { in receive_SyncParam()