Lines Matching refs:pclc
348 static bool smc_clc_msg_prop_valid(struct smc_clc_msg_proposal *pclc) in smc_clc_msg_prop_valid() argument
352 struct smc_clc_msg_hdr *hdr = &pclc->hdr; in smc_clc_msg_prop_valid()
355 v2_ext = smc_get_clc_v2_ext(pclc); in smc_clc_msg_prop_valid()
356 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_clc_msg_prop_valid()
361 sizeof(*pclc) + ntohs(pclc->iparea_offset) + in smc_clc_msg_prop_valid()
369 sizeof(*pclc) + in smc_clc_msg_prop_valid()
464 struct smc_clc_msg_proposal *pclc; in smc_clc_msg_hdr_valid() local
473 pclc = (struct smc_clc_msg_proposal *)clcm; in smc_clc_msg_hdr_valid()
474 if (!smc_clc_msg_prop_valid(pclc)) in smc_clc_msg_hdr_valid()
477 ((u8 *)pclc + ntohs(pclc->hdr.length) - sizeof(*trl)); in smc_clc_msg_hdr_valid()
836 struct smc_clc_msg_proposal_area *pclc; in smc_clc_send_proposal() local
848 pclc = kzalloc(sizeof(*pclc), GFP_KERNEL); in smc_clc_send_proposal()
849 if (!pclc) in smc_clc_send_proposal()
852 pclc_base = &pclc->pclc_base; in smc_clc_send_proposal()
853 pclc_smcd = &pclc->pclc_smcd; in smc_clc_send_proposal()
854 pclc_prfx = &pclc->pclc_prfx; in smc_clc_send_proposal()
855 ipv6_prfx = pclc->pclc_prfx_ipv6; in smc_clc_send_proposal()
856 v2_ext = container_of(&pclc->pclc_v2_ext, in smc_clc_send_proposal()
858 smcd_v2_ext = container_of(&pclc->pclc_smcd_v2_ext, in smc_clc_send_proposal()
860 gidchids = pclc->pclc_gidchids; in smc_clc_send_proposal()
861 trl = &pclc->pclc_trl; in smc_clc_send_proposal()
873 kfree(pclc); in smc_clc_send_proposal()
1025 kfree(pclc); in smc_clc_send_proposal()
1238 struct smc_clc_msg_proposal *pclc, in smc_clc_srv_v2x_features_validate() argument
1252 pclc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_clc_srv_v2x_features_validate()