Searched refs:SMC_MAX_PNETID_LEN (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/net/smc/ |
D | smc_pnet.c | 38 .len = SMC_MAX_PNETID_LEN 61 char pnet_name[SMC_MAX_PNETID_LEN + 1]; 89 for (i = 0; i < SMC_MAX_PNETID_LEN; i++) { in smc_pnet_match() 156 SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid() 173 memset(smcd_dev->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid() 255 SMC_MAX_PNETID_LEN); in smc_pnet_apply_ib() 271 memcpy(smcd_dev->pnetid, pnet_name, SMC_MAX_PNETID_LEN); in smc_pnet_apply_smcd() 294 if (end - bf >= SMC_MAX_PNETID_LEN) in smc_pnetid_valid() 349 u8 ndev_pnetid[SMC_MAX_PNETID_LEN]; in smc_pnet_add_eth() 371 memcpy(new_pe->pnet_name, pnet_name, SMC_MAX_PNETID_LEN); in smc_pnet_add_eth() [all …]
|
D | smc_pnet.h | 43 u8 pnetid[SMC_MAX_PNETID_LEN];
|
D | smc_ism.c | 209 char smc_pnet[SMC_MAX_PNETID_LEN + 1]; in smc_nl_handle_smcd_dev() 247 memcpy(smc_pnet, smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_handle_smcd_dev() 248 smc_pnet[SMC_MAX_PNETID_LEN] = 0; in smc_nl_handle_smcd_dev()
|
D | smc_ib.h | 46 u8 pnetid[SMC_MAX_PORTS][SMC_MAX_PNETID_LEN];
|
D | smc_ib.c | 335 SMC_MAX_PNETID_LEN)) in smc_ib_gid_check() 495 char smc_pnet[SMC_MAX_PNETID_LEN + 1]; in smc_nl_handle_dev_port() 507 memcpy(smc_pnet, &smcibdev->pnetid[port], SMC_MAX_PNETID_LEN); in smc_nl_handle_dev_port() 508 smc_pnet[SMC_MAX_PNETID_LEN] = 0; in smc_nl_handle_dev_port()
|
D | smc_core.c | 335 char smc_target[SMC_MAX_PNETID_LEN + 1]; in smc_nl_fill_lgr() 357 memcpy(smc_target, lgr->pnet_id, SMC_MAX_PNETID_LEN); in smc_nl_fill_lgr() 358 smc_target[SMC_MAX_PNETID_LEN] = 0; in smc_nl_fill_lgr() 502 char smc_pnet[SMC_MAX_PNETID_LEN + 1]; in smc_nl_fill_smcd_lgr() 530 memcpy(smc_pnet, lgr->smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_fill_smcd_lgr() 531 smc_pnet[SMC_MAX_PNETID_LEN] = 0; in smc_nl_fill_smcd_lgr() 898 SMC_MAX_PNETID_LEN); in smc_lgr_create() 1656 SMC_MAX_PNETID_LEN) || in smcr_port_add() 1737 SMC_MAX_PNETID_LEN)) in smcr_port_err()
|
D | smc_core.h | 295 u8 pnet_id[SMC_MAX_PNETID_LEN + 1];
|
/Linux-v6.1/include/net/ |
D | smc.h | 21 #define SMC_MAX_PNETID_LEN 16 /* Max. length of PNET id */ macro 89 u8 pnetid[SMC_MAX_PNETID_LEN];
|