Home
last modified time | relevance | path

Searched refs:smc_ib_devices (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/net/smc/ !
Dsmc_ib.c40 struct smc_ib_devices smc_ib_devices = { /* smc-registered ib devices */ variable
41 .mutex = __MUTEX_INITIALIZER(smc_ib_devices.mutex),
42 .list = LIST_HEAD_INIT(smc_ib_devices.list),
599 static void smc_nl_prep_smcr_dev(struct smc_ib_devices *dev_list, in smc_nl_prep_smcr_dev()
624 smc_nl_prep_smcr_dev(&smc_ib_devices, skb, cb); in smcr_nl_get_device()
883 mutex_lock(&smc_ib_devices.mutex); in smc_ib_ndev_change()
884 list_for_each_entry(smcibdev, &smc_ib_devices.list, list) { in smc_ib_ndev_change()
900 mutex_unlock(&smc_ib_devices.mutex); in smc_ib_ndev_change()
922 mutex_lock(&smc_ib_devices.mutex); in smc_ib_add_dev()
923 list_add_tail(&smcibdev->list, &smc_ib_devices.list); in smc_ib_add_dev()
[all …]
Dsmc_ib.h27 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
Dsmc_pnet.c141 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_remove_by_pnetid()
142 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in smc_pnet_remove_by_pnetid()
161 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_remove_by_pnetid()
251 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_apply_ib()
258 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_apply_ib()
310 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_find_ib()
311 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in smc_pnet_find_ib()
322 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_find_ib()
993 mutex_lock(&smc_ib_devices.mutex); in _smc_pnet_find_roce_by_pnetid()
994 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in _smc_pnet_find_roce_by_pnetid()
[all …]
Dsmc_core.c2484 mutex_lock(&smc_ib_devices.mutex); in smc_core_going_away()
2485 list_for_each_entry(smcibdev, &smc_ib_devices.list, list) { in smc_core_going_away()
2491 mutex_unlock(&smc_ib_devices.mutex); in smc_core_going_away()