Searched refs:smcd_dev_list (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/net/smc/ |
D | smc_ism.c | 19 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 …]
|
D | smc_ism.h | 17 struct smcd_dev_list { /* List of SMCD devices */ struct 22 extern struct smcd_dev_list smcd_dev_list; /* list of smcd devices */ argument
|
D | smc_pnet.c | 162 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 …]
|
D | smc_core.c | 1925 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()
|
D | af_smc.c | 636 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()
|