Searched refs:pnetids_ndev (Results 1 – 2 of 2) sorted by relevance
728 read_lock(&sn->pnetids_ndev.lock); in smc_pnet_is_ndev_pnetid()729 list_for_each_entry(pe, &sn->pnetids_ndev.list, list) { in smc_pnet_is_ndev_pnetid()737 read_unlock(&sn->pnetids_ndev.lock); in smc_pnet_is_ndev_pnetid()750 write_lock(&sn->pnetids_ndev.lock); in smc_pnet_add_pnetid()751 list_for_each_entry(pi, &sn->pnetids_ndev.list, list) { in smc_pnet_add_pnetid()760 list_add_tail(&pe->list, &sn->pnetids_ndev.list); in smc_pnet_add_pnetid()763 write_unlock(&sn->pnetids_ndev.lock); in smc_pnet_add_pnetid()772 write_lock(&sn->pnetids_ndev.lock); in smc_pnet_remove_pnetid()773 list_for_each_entry_safe(pe, pe2, &sn->pnetids_ndev.list, list) { in smc_pnet_remove_pnetid()782 write_unlock(&sn->pnetids_ndev.lock); in smc_pnet_remove_pnetid()[all …]
19 struct smc_pnetids_ndev pnetids_ndev; member