Searched refs:pnetelem (Results 1 – 1 of 1) sorted by relevance
103 struct smc_pnetentry *pnetelem, *tmp_pe; in smc_pnet_remove_by_pnetid() local117 list_for_each_entry_safe(pnetelem, tmp_pe, &pnettable->pnetlist, in smc_pnet_remove_by_pnetid()120 smc_pnet_match(pnetelem->pnet_name, pnet_name)) { in smc_pnet_remove_by_pnetid()121 list_del(&pnetelem->list); in smc_pnet_remove_by_pnetid()122 if (pnetelem->type == SMC_PNET_ETH && pnetelem->ndev) { in smc_pnet_remove_by_pnetid()123 dev_put_track(pnetelem->ndev, &pnetelem->dev_tracker); in smc_pnet_remove_by_pnetid()127 pnetelem->eth_name, in smc_pnet_remove_by_pnetid()128 pnetelem->pnet_name); in smc_pnet_remove_by_pnetid()130 kfree(pnetelem); in smc_pnet_remove_by_pnetid()185 struct smc_pnetentry *pnetelem, *tmp_pe; in smc_pnet_add_by_ndev() local[all …]