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 netdev_put(pnetelem->ndev, in smc_pnet_remove_by_pnetid()124 &pnetelem->dev_tracker); in smc_pnet_remove_by_pnetid()128 pnetelem->eth_name, in smc_pnet_remove_by_pnetid()129 pnetelem->pnet_name); in smc_pnet_remove_by_pnetid()131 kfree(pnetelem); in smc_pnet_remove_by_pnetid()[all …]