Home
last modified time | relevance | path

Searched refs:tmp_pnetelem (Results 1 – 1 of 1) sorted by relevance

/net/smc/
Dsmc_pnet.c193 struct smc_pnetentry *tmp_pnetelem; in smc_pnet_enter() local
238 tmp_pnetelem = kzalloc(sizeof(*pnetelem), GFP_KERNEL); in smc_pnet_enter()
239 if (!tmp_pnetelem) in smc_pnet_enter()
241 memcpy(tmp_pnetelem->pnet_name, new_pnetelem->pnet_name, in smc_pnet_enter()
243 tmp_pnetelem->ndev = new_pnetelem->ndev; in smc_pnet_enter()
251 dev_hold(tmp_pnetelem->ndev); in smc_pnet_enter()
252 list_add_tail(&tmp_pnetelem->list, &pnettable->pnetlist); in smc_pnet_enter()
256 kfree(tmp_pnetelem); in smc_pnet_enter()