Searched refs:smc_ib_devices (Results 1 – 4 of 4) sorted by relevance
27 struct smc_ib_devices { /* list of smc ib devices definition */ struct32 extern struct smc_ib_devices smc_ib_devices; /* list of smc ib devices */ argument
40 struct smc_ib_devices smc_ib_devices = { /* smc-registered ib devices */ variable41 .mutex = __MUTEX_INITIALIZER(smc_ib_devices.mutex),42 .list = LIST_HEAD_INIT(smc_ib_devices.list),630 smc_nl_prep_smcr_dev(&smc_ib_devices, skb, cb); in smcr_nl_get_device()919 mutex_lock(&smc_ib_devices.mutex); in smc_ib_ndev_change()936 mutex_unlock(&smc_ib_devices.mutex); in smc_ib_ndev_change()958 mutex_lock(&smc_ib_devices.mutex); in smc_ib_add_dev()959 list_add_tail(&smcibdev->list, &smc_ib_devices.list); in smc_ib_add_dev()960 mutex_unlock(&smc_ib_devices.mutex); in smc_ib_add_dev()996 mutex_lock(&smc_ib_devices.mutex); in smc_ib_remove_dev()[all …]
142 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_remove_by_pnetid()143 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in smc_pnet_remove_by_pnetid()162 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_remove_by_pnetid()253 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_apply_ib()260 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_apply_ib()312 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_find_ib()324 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_find_ib()1009 mutex_lock(&smc_ib_devices.mutex); in _smc_pnet_find_roce_by_pnetid()1026 mutex_unlock(&smc_ib_devices.mutex); in _smc_pnet_find_roce_by_pnetid()1048 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_find_rdma_dev()[all …]
2580 mutex_lock(&smc_ib_devices.mutex); in smc_core_going_away()2581 list_for_each_entry(smcibdev, &smc_ib_devices.list, list) { in smc_core_going_away()2587 mutex_unlock(&smc_ib_devices.mutex); in smc_core_going_away()