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

/linux-master/drivers/block/drbd/
H A Ddrbd_receiver.c3848 const int apv = connection->agreed_pro_version; local
3858 exp_max_sz = apv <= 87 ? sizeof(struct p_rs_param)
3859 : apv == 88 ? sizeof(struct p_rs_param)
3861 : apv <= 94 ? sizeof(struct p_rs_param_89)
3862 : /* apv >= 95 */ sizeof(struct p_rs_param_95);
3870 if (apv <= 88) {
3873 } else if (apv <= 94) {
3909 if (apv >= 88) {
3910 if (apv == 88) {
3926 } else /* apv >
[all...]
H A Ddrbd_main.c717 const int apv = peer_device->connection->agreed_pro_version; local
730 size = apv <= 87 ? sizeof(struct p_rs_param)
731 : apv == 88 ? sizeof(struct p_rs_param)
733 : apv <= 94 ? sizeof(struct p_rs_param_89)
734 : /* apv >= 95 */ sizeof(struct p_rs_param_95);
736 cmd = apv >= 89 ? P_SYNC_PARAM89 : P_SYNC_PARAM;
758 if (apv >= 88)
760 if (apv >= 89)

Completed in 273 milliseconds