Searched refs:smc_ib_devices (Results 1 – 4 of 4) sorted by relevance
/net/smc/ |
D | smc_ib.c | 37 struct smc_ib_devices smc_ib_devices = { /* smc-registered ib devices */ variable 38 .mutex = __MUTEX_INITIALIZER(smc_ib_devices.mutex), 39 .list = LIST_HEAD_INIT(smc_ib_devices.list), 466 static void smc_nl_prep_smcr_dev(struct smc_ib_devices *dev_list, in smc_nl_prep_smcr_dev() 491 smc_nl_prep_smcr_dev(&smc_ib_devices, skb, cb); in smcr_nl_get_device() 748 mutex_lock(&smc_ib_devices.mutex); in smc_ib_ndev_change() 749 list_for_each_entry(smcibdev, &smc_ib_devices.list, list) { in smc_ib_ndev_change() 765 mutex_unlock(&smc_ib_devices.mutex); in smc_ib_ndev_change() 787 mutex_lock(&smc_ib_devices.mutex); in smc_ib_add_dev() 788 list_add_tail(&smcibdev->list, &smc_ib_devices.list); in smc_ib_add_dev() [all …]
|
D | smc_pnet.c | 140 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_remove_by_pnetid() 141 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in smc_pnet_remove_by_pnetid() 160 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_remove_by_pnetid() 250 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_apply_ib() 257 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_apply_ib() 309 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_find_ib() 310 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in smc_pnet_find_ib() 321 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_find_ib() 966 mutex_lock(&smc_ib_devices.mutex); in _smc_pnet_find_roce_by_pnetid() 967 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in _smc_pnet_find_roce_by_pnetid() [all …]
|
D | smc_ib.h | 27 struct smc_ib_devices { /* list of smc ib devices definition */ struct 32 extern struct smc_ib_devices smc_ib_devices; /* list of smc ib devices */ argument
|
D | smc_core.c | 2320 mutex_lock(&smc_ib_devices.mutex); in smc_core_going_away() 2321 list_for_each_entry(smcibdev, &smc_ib_devices.list, list) { in smc_core_going_away() 2327 mutex_unlock(&smc_ib_devices.mutex); in smc_core_going_away()
|