Searched refs:SMC_MAX_PNETID_LEN (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.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() 174 memset(smcd->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid() 256 SMC_MAX_PNETID_LEN); in smc_pnet_apply_ib() 272 memcpy(smcd_dev->pnetid, pnet_name, SMC_MAX_PNETID_LEN); in smc_pnet_apply_smcd() 295 if (end - bf >= SMC_MAX_PNETID_LEN) in smc_pnetid_valid() 350 u8 ndev_pnetid[SMC_MAX_PNETID_LEN]; in smc_pnet_add_eth() 372 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 | 297 char smc_pnet[SMC_MAX_PNETID_LEN + 1]; in smc_nl_handle_smcd_dev() 337 memcpy(smc_pnet, smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_handle_smcd_dev() 338 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 | 341 SMC_MAX_PNETID_LEN)) in smc_ib_gid_check() 501 char smc_pnet[SMC_MAX_PNETID_LEN + 1]; in smc_nl_handle_dev_port() 513 memcpy(smc_pnet, &smcibdev->pnetid[port], SMC_MAX_PNETID_LEN); in smc_nl_handle_dev_port() 514 smc_pnet[SMC_MAX_PNETID_LEN] = 0; in smc_nl_handle_dev_port()
|
D | smc_core.c | 369 char smc_target[SMC_MAX_PNETID_LEN + 1]; in smc_nl_fill_lgr() 391 memcpy(smc_target, lgr->pnet_id, SMC_MAX_PNETID_LEN); in smc_nl_fill_lgr() 392 smc_target[SMC_MAX_PNETID_LEN] = 0; in smc_nl_fill_lgr() 540 char smc_pnet[SMC_MAX_PNETID_LEN + 1]; in smc_nl_fill_smcd_lgr() 581 memcpy(smc_pnet, lgr->smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_fill_smcd_lgr() 582 smc_pnet[SMC_MAX_PNETID_LEN] = 0; in smc_nl_fill_smcd_lgr() 958 SMC_MAX_PNETID_LEN); in smc_lgr_create() 1747 SMC_MAX_PNETID_LEN) || in smcr_port_add() 1832 SMC_MAX_PNETID_LEN)) in smcr_port_err()
|
D | smc_core.h | 323 u8 pnet_id[SMC_MAX_PNETID_LEN + 1];
|
/linux-6.12.1/include/net/ |
D | smc.h | 22 #define SMC_MAX_PNETID_LEN 16 /* Max. length of PNET id */ macro 91 u8 pnetid[SMC_MAX_PNETID_LEN];
|