Home
last modified time | relevance | path

Searched refs:apv (Results 1 – 2 of 2) sorted by relevance

/drivers/block/drbd/
Ddrbd_main.c717 const int apv = peer_device->connection->agreed_pro_version; in drbd_send_sync_param() local
730 size = apv <= 87 ? sizeof(struct p_rs_param) in drbd_send_sync_param()
731 : apv == 88 ? sizeof(struct p_rs_param) in drbd_send_sync_param()
733 : apv <= 94 ? sizeof(struct p_rs_param_89) in drbd_send_sync_param()
736 cmd = apv >= 89 ? P_SYNC_PARAM89 : P_SYNC_PARAM; in drbd_send_sync_param()
758 if (apv >= 88) in drbd_send_sync_param()
760 if (apv >= 89) in drbd_send_sync_param()
Ddrbd_receiver.c3848 const int apv = connection->agreed_pro_version; in receive_SyncParam() local
3858 exp_max_sz = apv <= 87 ? sizeof(struct p_rs_param) in receive_SyncParam()
3859 : apv == 88 ? sizeof(struct p_rs_param) in receive_SyncParam()
3861 : apv <= 94 ? sizeof(struct p_rs_param_89) in receive_SyncParam()
3870 if (apv <= 88) { in receive_SyncParam()
3873 } else if (apv <= 94) { in receive_SyncParam()
3909 if (apv >= 88) { in receive_SyncParam()
3910 if (apv == 88) { in receive_SyncParam()
3949 if (apv >= 89 && strcmp(old_net_conf->csums_alg, p->csums_alg)) { in receive_SyncParam()
3963 if (apv > 94 && new_disk_conf) { in receive_SyncParam()