Home
last modified time | relevance | path

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

/linux-5.19.10/net/smc/
Dsmc_pnet.c726 read_lock(&sn->pnetids_ndev.lock); in smc_pnet_is_ndev_pnetid()
727 list_for_each_entry(pe, &sn->pnetids_ndev.list, list) { in smc_pnet_is_ndev_pnetid()
735 read_unlock(&sn->pnetids_ndev.lock); in smc_pnet_is_ndev_pnetid()
748 write_lock(&sn->pnetids_ndev.lock); in smc_pnet_add_pnetid()
749 list_for_each_entry(pi, &sn->pnetids_ndev.list, list) { in smc_pnet_add_pnetid()
758 list_add_tail(&pe->list, &sn->pnetids_ndev.list); in smc_pnet_add_pnetid()
761 write_unlock(&sn->pnetids_ndev.lock); in smc_pnet_add_pnetid()
770 write_lock(&sn->pnetids_ndev.lock); in smc_pnet_remove_pnetid()
771 list_for_each_entry_safe(pe, pe2, &sn->pnetids_ndev.list, list) { in smc_pnet_remove_pnetid()
780 write_unlock(&sn->pnetids_ndev.lock); in smc_pnet_remove_pnetid()
[all …]
Dsmc_netns.h19 struct smc_pnetids_ndev pnetids_ndev; member