Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/smc/
Dsmc_pnet.c103 struct smc_pnettable *pnettable; in smc_pnet_remove_by_pnetid() local
112 pnettable = &sn->pnettable; in smc_pnet_remove_by_pnetid()
115 write_lock(&pnettable->lock); in smc_pnet_remove_by_pnetid()
116 list_for_each_entry_safe(pnetelem, tmp_pe, &pnettable->pnetlist, in smc_pnet_remove_by_pnetid()
133 write_unlock(&pnettable->lock); in smc_pnet_remove_by_pnetid()
185 struct smc_pnettable *pnettable; in smc_pnet_add_by_ndev() local
192 pnettable = &sn->pnettable; in smc_pnet_add_by_ndev()
194 write_lock(&pnettable->lock); in smc_pnet_add_by_ndev()
195 list_for_each_entry_safe(pnetelem, tmp_pe, &pnettable->pnetlist, list) { in smc_pnet_add_by_ndev()
208 write_unlock(&pnettable->lock); in smc_pnet_add_by_ndev()
[all …]
Dsmc_netns.h18 struct smc_pnettable pnettable; member