Lines Matching refs:fce_v2x

431 static int smc_clc_fill_fce_v2x(struct smc_clc_first_contact_ext_v2x *fce_v2x,  in smc_clc_fill_fce_v2x()  argument
434 int ret = sizeof(*fce_v2x); in smc_clc_fill_fce_v2x()
436 memset(fce_v2x, 0, sizeof(*fce_v2x)); in smc_clc_fill_fce_v2x()
437 fce_v2x->fce_v2_base.os_type = SMC_CLC_OS_LINUX; in smc_clc_fill_fce_v2x()
438 fce_v2x->fce_v2_base.release = ini->release_nr; in smc_clc_fill_fce_v2x()
439 memcpy(fce_v2x->fce_v2_base.hostname, in smc_clc_fill_fce_v2x()
448 fce_v2x->max_conns = ini->max_conns; in smc_clc_fill_fce_v2x()
449 fce_v2x->max_links = ini->max_links; in smc_clc_fill_fce_v2x()
451 fce_v2x->feature_mask = htons(ini->feature_mask); in smc_clc_fill_fce_v2x()
1035 struct smc_clc_first_contact_ext_v2x *fce_v2x, in smcd_clc_prep_confirm_accept() argument
1064 *fce_len = smc_clc_fill_fce_v2x(fce_v2x, ini); in smcd_clc_prep_confirm_accept()
1079 struct smc_clc_first_contact_ext_v2x *fce_v2x, in smcr_clc_prep_confirm_accept() argument
1121 *fce_len = smc_clc_fill_fce_v2x(fce_v2x, ini); in smcr_clc_prep_confirm_accept()
1123 fce_v2x->fce_v2_base.v2_direct = in smcr_clc_prep_confirm_accept()
1143 struct smc_clc_first_contact_ext_v2x fce_v2x; in smc_clc_send_confirm_accept() local
1158 &fce_v2x, &trl); in smc_clc_send_confirm_accept()
1162 &fce_v2x, &gle, &trl); in smc_clc_send_confirm_accept()
1177 vec[i].iov_base = &fce_v2x; in smc_clc_send_confirm_accept()
1274 struct smc_clc_first_contact_ext_v2x *fce_v2x = in smc_clc_clnt_v2x_features_validate() local
1281 if (fce_v2x->max_conns < SMC_CONN_PER_LGR_MIN) in smc_clc_clnt_v2x_features_validate()
1283 ini->max_conns = fce_v2x->max_conns; in smc_clc_clnt_v2x_features_validate()
1285 if (fce_v2x->max_links > SMC_LINKS_ADD_LNK_MAX || in smc_clc_clnt_v2x_features_validate()
1286 fce_v2x->max_links < SMC_LINKS_ADD_LNK_MIN) in smc_clc_clnt_v2x_features_validate()
1288 ini->max_links = fce_v2x->max_links; in smc_clc_clnt_v2x_features_validate()
1291 ini->feature_mask = ntohs(fce_v2x->feature_mask) & SMC_FEATURE_MASK; in smc_clc_clnt_v2x_features_validate()
1301 struct smc_clc_first_contact_ext_v2x *fce_v2x = in smc_clc_v2x_features_confirm_check() local
1315 if (fce_v2x->max_conns != ini->max_conns) in smc_clc_v2x_features_confirm_check()
1317 if (fce_v2x->max_links != ini->max_links) in smc_clc_v2x_features_confirm_check()
1321 ini->feature_mask = ntohs(fce_v2x->feature_mask); in smc_clc_v2x_features_confirm_check()