Lines Matching refs:tmp_pe

103 	struct smc_pnetentry *pnetelem, *tmp_pe;  in smc_pnet_remove_by_pnetid()  local
117 list_for_each_entry_safe(pnetelem, tmp_pe, &pnettable->pnetlist, in smc_pnet_remove_by_pnetid()
187 struct smc_pnetentry *pnetelem, *tmp_pe; in smc_pnet_add_by_ndev() local
198 list_for_each_entry_safe(pnetelem, tmp_pe, &pnettable->pnetlist, list) { in smc_pnet_add_by_ndev()
219 struct smc_pnetentry *pnetelem, *tmp_pe; in smc_pnet_remove_by_ndev() local
230 list_for_each_entry_safe(pnetelem, tmp_pe, &pnettable->pnetlist, list) { in smc_pnet_remove_by_ndev()
348 struct smc_pnetentry *tmp_pe, *new_pe; in smc_pnet_add_eth() local
377 list_for_each_entry(tmp_pe, &pnettable->pnetlist, list) { in smc_pnet_add_eth()
378 if (tmp_pe->type == SMC_PNET_ETH && in smc_pnet_add_eth()
379 !strncmp(tmp_pe->eth_name, eth_name, IFNAMSIZ)) { in smc_pnet_add_eth()
411 struct smc_pnetentry *tmp_pe, *new_pe; in smc_pnet_add_ib() local
458 list_for_each_entry(tmp_pe, &pnettable->pnetlist, list) { in smc_pnet_add_ib()
459 if (tmp_pe->type == SMC_PNET_IB && in smc_pnet_add_ib()
460 !strncmp(tmp_pe->ib_name, ib_name, IB_DEVICE_NAME_MAX)) { in smc_pnet_add_ib()
1166 struct smc_pnetentry *tmp_pe; in smc_pnetid_by_table_ib() local
1175 list_for_each_entry(tmp_pe, &pnettable->pnetlist, list) { in smc_pnetid_by_table_ib()
1176 if (tmp_pe->type == SMC_PNET_IB && in smc_pnetid_by_table_ib()
1177 !strncmp(tmp_pe->ib_name, ib_name, IB_DEVICE_NAME_MAX) && in smc_pnetid_by_table_ib()
1178 tmp_pe->ib_port == ib_port) { in smc_pnetid_by_table_ib()
1179 smc_pnet_apply_ib(smcibdev, ib_port, tmp_pe->pnet_name); in smc_pnetid_by_table_ib()
1195 struct smc_pnetentry *tmp_pe; in smc_pnetid_by_table_smcd() local
1204 list_for_each_entry(tmp_pe, &pnettable->pnetlist, list) { in smc_pnetid_by_table_smcd()
1205 if (tmp_pe->type == SMC_PNET_IB && in smc_pnetid_by_table_smcd()
1206 !strncmp(tmp_pe->ib_name, ib_name, IB_DEVICE_NAME_MAX)) { in smc_pnetid_by_table_smcd()
1207 smc_pnet_apply_smcd(smcddev, tmp_pe->pnet_name); in smc_pnetid_by_table_smcd()