Home
last modified time | relevance | path

Searched refs:pclc (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/net/smc/
Dsmc_clc.c338 static bool smc_clc_msg_prop_valid(struct smc_clc_msg_proposal *pclc) in smc_clc_msg_prop_valid() argument
342 struct smc_clc_msg_hdr *hdr = &pclc->hdr; in smc_clc_msg_prop_valid()
345 v2_ext = smc_get_clc_v2_ext(pclc); in smc_clc_msg_prop_valid()
346 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_clc_msg_prop_valid()
351 sizeof(*pclc) + ntohs(pclc->iparea_offset) + in smc_clc_msg_prop_valid()
359 sizeof(*pclc) + in smc_clc_msg_prop_valid()
438 struct smc_clc_msg_proposal *pclc; in smc_clc_msg_hdr_valid() local
447 pclc = (struct smc_clc_msg_proposal *)clcm; in smc_clc_msg_hdr_valid()
448 if (!smc_clc_msg_prop_valid(pclc)) in smc_clc_msg_hdr_valid()
451 ((u8 *)pclc + ntohs(pclc->hdr.length) - sizeof(*trl)); in smc_clc_msg_hdr_valid()
[all …]
Daf_smc.c1858 struct smc_clc_msg_proposal *pclc, in smc_listen_v2_check() argument
1865 ini->smc_type_v1 = pclc->hdr.typev1; in smc_listen_v2_check()
1866 ini->smc_type_v2 = pclc->hdr.typev2; in smc_listen_v2_check()
1869 if (pclc->hdr.version > SMC_V1) { in smc_listen_v2_check()
1879 pclc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_listen_v2_check()
1916 struct smc_clc_msg_proposal *pclc) in smc_listen_prfx_check() argument
1921 if (pclc->hdr.typev1 == SMC_TYPE_N) in smc_listen_prfx_check()
1923 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_listen_prfx_check()
2011 struct smc_clc_msg_proposal *pclc, in smc_find_ism_v2_device_serv() argument
2025 pclc_smcd = smc_get_clc_msg_smcd(pclc); in smc_find_ism_v2_device_serv()
[all …]
Dsmc_clc.h304 smc_clc_proposal_get_prefix(struct smc_clc_msg_proposal *pclc) in smc_clc_proposal_get_prefix() argument
307 ((u8 *)pclc + sizeof(*pclc) + ntohs(pclc->iparea_offset)); in smc_clc_proposal_get_prefix()