Home
last modified time | relevance | path

Searched refs:smcd_dev_list (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/smc/
Dsmc_ism.c19 struct smcd_dev_list smcd_dev_list = { variable
20 .list = LIST_HEAD_INIT(smcd_dev_list.list),
21 .mutex = __MUTEX_INITIALIZER(smcd_dev_list.mutex)
336 mutex_lock(&smcd_dev_list.mutex); in smcd_register_dev()
337 if (list_empty(&smcd_dev_list.list)) { in smcd_register_dev()
346 list_add_tail(&smcd->list, &smcd_dev_list.list); in smcd_register_dev()
348 list_add(&smcd->list, &smcd_dev_list.list); in smcd_register_dev()
349 mutex_unlock(&smcd_dev_list.mutex); in smcd_register_dev()
357 mutex_lock(&smcd_dev_list.mutex); in smcd_register_dev()
359 mutex_unlock(&smcd_dev_list.mutex); in smcd_register_dev()
[all …]
Dsmc_ism.h17 struct smcd_dev_list { /* List of SMCD devices */ struct
22 extern struct smcd_dev_list smcd_dev_list; /* list of smcd devices */ argument
Dsmc_pnet.c162 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_remove_by_pnetid()
163 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_remove_by_pnetid()
176 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_remove_by_pnetid()
267 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_apply_smcd()
273 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_apply_smcd()
329 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_find_smcd()
330 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_find_smcd()
337 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_find_smcd()
1063 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_find_ism_by_pnetid()
1064 list_for_each_entry(ismdev, &smcd_dev_list.list, list) { in smc_pnet_find_ism_by_pnetid()
[all …]
Dsmc_core.c1925 mutex_lock(&smcd_dev_list.mutex); in smc_core_going_away()
1926 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_core_going_away()
1929 mutex_unlock(&smcd_dev_list.mutex); in smc_core_going_away()
1941 mutex_lock(&smcd_dev_list.mutex); in smc_lgrs_shutdown()
1942 list_for_each_entry(smcd, &smcd_dev_list.list, list) in smc_lgrs_shutdown()
1944 mutex_unlock(&smcd_dev_list.mutex); in smc_lgrs_shutdown()
Daf_smc.c636 mutex_lock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_clnt()
637 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_find_ism_v2_device_clnt()
654 mutex_unlock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_clnt()
1482 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_check_ism_v2_match()
1519 mutex_lock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_serv()
1533 mutex_unlock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_serv()