Searched refs:pclc (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_clc.c | 43 static bool smc_clc_msg_prop_valid(struct smc_clc_msg_proposal *pclc) in smc_clc_msg_prop_valid() argument 47 struct smc_clc_msg_hdr *hdr = &pclc->hdr; in smc_clc_msg_prop_valid() 50 v2_ext = smc_get_clc_v2_ext(pclc); in smc_clc_msg_prop_valid() 51 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_clc_msg_prop_valid() 56 sizeof(*pclc) + ntohs(pclc->iparea_offset) + in smc_clc_msg_prop_valid() 64 sizeof(*pclc) + in smc_clc_msg_prop_valid() 122 struct smc_clc_msg_proposal *pclc; in smc_clc_msg_hdr_valid() local 131 pclc = (struct smc_clc_msg_proposal *)clcm; in smc_clc_msg_hdr_valid() 132 if (!smc_clc_msg_prop_valid(pclc)) in smc_clc_msg_hdr_valid() 486 struct smc_clc_msg_proposal_area *pclc; smc_clc_send_proposal() local [all...] |
H A D | smc_clc.h | 260 smc_clc_proposal_get_prefix(struct smc_clc_msg_proposal *pclc) in smc_clc_proposal_get_prefix() argument 263 ((u8 *)pclc + sizeof(*pclc) + ntohs(pclc->iparea_offset)); in smc_clc_proposal_get_prefix()
|
H A D | af_smc.c | 1376 struct smc_clc_msg_proposal *pclc, in smc_listen_v2_check() 1382 ini->smc_type_v1 = pclc->hdr.typev1; in smc_listen_v2_check() 1383 ini->smc_type_v2 = pclc->hdr.typev2; in smc_listen_v2_check() 1385 if (pclc->hdr.version > SMC_V1) in smc_listen_v2_check() 1392 pclc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_listen_v2_check() 1403 if (pclc->hdr.typev1 == SMC_TYPE_B || in smc_listen_v2_check() 1404 pclc->hdr.typev2 == SMC_TYPE_B) in smc_listen_v2_check() 1406 if (pclc->hdr.typev1 == SMC_TYPE_D || in smc_listen_v2_check() 1407 pclc->hdr.typev2 == SMC_TYPE_D) in smc_listen_v2_check() 1417 struct smc_clc_msg_proposal *pclc) in smc_listen_prfx_check() 1375 smc_listen_v2_check(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_listen_v2_check() argument 1416 smc_listen_prfx_check(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc) smc_listen_prfx_check() argument 1508 smc_find_ism_v2_device_serv(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_find_ism_v2_device_serv() argument 1574 smc_find_ism_v1_device_serv(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_find_ism_v1_device_serv() argument 1610 smc_find_rdma_v1_device_serv(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_find_rdma_v1_device_serv() argument 1636 smc_listen_find_device(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_listen_find_device() argument 1705 struct smc_clc_msg_proposal *pclc; smc_listen_work() local [all...] |
/kernel/linux/linux-6.6/net/smc/ |
H A D | smc_clc.c | 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() 462 struct smc_clc_msg_proposal *pclc; in smc_clc_msg_hdr_valid() local 471 pclc = (struct smc_clc_msg_proposal *)clcm; in smc_clc_msg_hdr_valid() 472 if (!smc_clc_msg_prop_valid(pclc)) in smc_clc_msg_hdr_valid() 835 struct smc_clc_msg_proposal_area *pclc; smc_clc_send_proposal() local 1183 smc_clc_srv_v2x_features_validate(struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_clc_srv_v2x_features_validate() argument [all...] |
H A D | af_smc.c | 1977 struct smc_clc_msg_proposal *pclc, in smc_listen_v2_check() 1984 ini->smc_type_v1 = pclc->hdr.typev1; in smc_listen_v2_check() 1985 ini->smc_type_v2 = pclc->hdr.typev2; in smc_listen_v2_check() 1988 if (pclc->hdr.version > SMC_V1) { in smc_listen_v2_check() 1998 pclc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_listen_v2_check() 2039 struct smc_clc_msg_proposal *pclc) in smc_listen_prfx_check() 2044 if (pclc->hdr.typev1 == SMC_TYPE_N) in smc_listen_prfx_check() 2046 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_listen_prfx_check() 2136 struct smc_clc_msg_proposal *pclc, in smc_find_ism_v2_device_serv() 2150 pclc_smcd = smc_get_clc_msg_smcd(pclc); in smc_find_ism_v2_device_serv() 1976 smc_listen_v2_check(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_listen_v2_check() argument 2038 smc_listen_prfx_check(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc) smc_listen_prfx_check() argument 2135 smc_find_ism_v2_device_serv(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_find_ism_v2_device_serv() argument 2204 smc_find_ism_v1_device_serv(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_find_ism_v1_device_serv() argument 2250 smc_find_rdma_v2_device_serv(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_find_rdma_v2_device_serv() argument 2300 smc_find_rdma_v1_device_serv(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_find_rdma_v1_device_serv() argument 2325 smc_listen_find_device(struct smc_sock *new_smc, struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini) smc_listen_find_device() argument 2406 struct smc_clc_msg_proposal *pclc; smc_listen_work() local [all...] |
H A D | smc_clc.h | 322 smc_clc_proposal_get_prefix(struct smc_clc_msg_proposal *pclc) in smc_clc_proposal_get_prefix() argument 325 ((u8 *)pclc + sizeof(*pclc) + ntohs(pclc->iparea_offset)); in smc_clc_proposal_get_prefix() 425 int smc_clc_srv_v2x_features_validate(struct smc_clc_msg_proposal *pclc,
|
Completed in 10 milliseconds