Searched refs:smc_ib_devices (Results 1 – 3 of 3) sorted by relevance
128 spin_lock(&smc_ib_devices.lock); in smc_pnet_remove_by_pnetid()129 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in smc_pnet_remove_by_pnetid()142 spin_unlock(&smc_ib_devices.lock); in smc_pnet_remove_by_pnetid()204 spin_lock(&smc_ib_devices.lock); in smc_pnet_enter()211 spin_unlock(&smc_ib_devices.lock); in smc_pnet_enter()294 spin_lock(&smc_ib_devices.lock); in smc_pnet_find_ib()295 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in smc_pnet_find_ib()305 spin_unlock(&smc_ib_devices.lock); in smc_pnet_find_ib()509 spin_lock(&smc_ib_devices.lock); in _smc_pnet_dump()510 list_for_each_entry(ibdev, &smc_ib_devices.list, list) { in _smc_pnet_dump()[all …]
34 struct smc_ib_devices smc_ib_devices = { /* smc-registered ib devices */ variable35 .lock = __SPIN_LOCK_UNLOCKED(smc_ib_devices.lock),36 .list = LIST_HEAD_INIT(smc_ib_devices.list),536 spin_lock(&smc_ib_devices.lock); in smc_ib_add_dev()537 list_add_tail(&smcibdev->list, &smc_ib_devices.list); in smc_ib_add_dev()538 spin_unlock(&smc_ib_devices.lock); in smc_ib_add_dev()564 spin_lock(&smc_ib_devices.lock); in smc_ib_remove_dev()566 spin_unlock(&smc_ib_devices.lock); in smc_ib_remove_dev()
25 struct smc_ib_devices { /* list of smc ib devices definition */ struct30 extern struct smc_ib_devices smc_ib_devices; /* list of smc ib devices */ argument