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),624 smc_nl_prep_smcr_dev(&smc_ib_devices, skb, cb); in smcr_nl_get_device()913 mutex_lock(&smc_ib_devices.mutex); in smc_ib_ndev_change()930 mutex_unlock(&smc_ib_devices.mutex); in smc_ib_ndev_change()952 mutex_lock(&smc_ib_devices.mutex); in smc_ib_add_dev()953 list_add_tail(&smcibdev->list, &smc_ib_devices.list); in smc_ib_add_dev()954 mutex_unlock(&smc_ib_devices.mutex); in smc_ib_add_dev()990 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()999 mutex_lock(&smc_ib_devices.mutex); in _smc_pnet_find_roce_by_pnetid()1016 mutex_unlock(&smc_ib_devices.mutex); in _smc_pnet_find_roce_by_pnetid()1038 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_find_rdma_dev()[all …]
2566 mutex_lock(&smc_ib_devices.mutex); in smc_core_going_away()2567 list_for_each_entry(smcibdev, &smc_ib_devices.list, list) { in smc_core_going_away()2573 mutex_unlock(&smc_ib_devices.mutex); in smc_core_going_away()
Completed in 13 milliseconds