Searched refs:pclc (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/net/smc/ |
D | smc_clc.c | 43 struct smc_clc_msg_proposal *pclc; in smc_clc_msg_hdr_valid() local 55 pclc = (struct smc_clc_msg_proposal *)clcm; in smc_clc_msg_hdr_valid() 56 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_clc_msg_hdr_valid() 57 if (ntohs(pclc->hdr.length) != in smc_clc_msg_hdr_valid() 58 sizeof(*pclc) + ntohs(pclc->iparea_offset) + in smc_clc_msg_hdr_valid() 65 ((u8 *)pclc + ntohs(pclc->hdr.length) - sizeof(*trl)); in smc_clc_msg_hdr_valid() 391 struct smc_clc_msg_proposal pclc; in smc_clc_send_proposal() local 404 plen = sizeof(pclc) + sizeof(pclc_prfx) + in smc_clc_send_proposal() 407 memset(&pclc, 0, sizeof(pclc)); in smc_clc_send_proposal() 408 memcpy(pclc.hdr.eyecatcher, SMC_EYECATCHER, sizeof(SMC_EYECATCHER)); in smc_clc_send_proposal() [all …]
|
D | smc_clc.h | 164 smc_clc_proposal_get_prefix(struct smc_clc_msg_proposal *pclc) in smc_clc_proposal_get_prefix() argument 167 ((u8 *)pclc + sizeof(*pclc) + ntohs(pclc->iparea_offset)); in smc_clc_proposal_get_prefix()
|
D | af_smc.c | 1067 struct smc_clc_msg_proposal *pclc) in smc_listen_rdma_check() argument 1072 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_listen_rdma_check() 1081 struct smc_clc_msg_proposal *pclc, in smc_listen_rdma_init() argument 1087 &pclc->lcl, NULL, 0); in smc_listen_rdma_init() 1103 struct smc_clc_msg_proposal *pclc, in smc_listen_ism_init() argument 1109 pclc_smcd = smc_get_clc_msg_smcd(pclc); in smc_listen_ism_init() 1196 struct smc_clc_msg_proposal *pclc; in smc_listen_work() local 1223 pclc = (struct smc_clc_msg_proposal *)&buf; in smc_listen_work() 1224 reason_code = smc_clc_wait_msg(new_smc, pclc, SMC_CLC_MAX_LEN, in smc_listen_work() 1243 if ((pclc->hdr.path == SMC_TYPE_D || pclc->hdr.path == SMC_TYPE_B) && in smc_listen_work() [all …]
|