Searched refs:smcd_dev_list (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/net/smc/ |
D | smc_ism.c | 21 struct smcd_dev_list smcd_dev_list = { variable 22 .list = LIST_HEAD_INIT(smcd_dev_list.list), 23 .mutex = __MUTEX_INITIALIZER(smcd_dev_list.mutex) 278 static void smc_nl_prep_smcd_dev(struct smcd_dev_list *dev_list, in smc_nl_prep_smcd_dev() 303 smc_nl_prep_smcd_dev(&smcd_dev_list, skb, cb); in smcd_nl_get_device() 439 mutex_lock(&smcd_dev_list.mutex); in smcd_register_dev() 440 if (list_empty(&smcd_dev_list.list)) { in smcd_register_dev() 452 list_add_tail(&smcd->list, &smcd_dev_list.list); in smcd_register_dev() 454 list_add(&smcd->list, &smcd_dev_list.list); in smcd_register_dev() 455 mutex_unlock(&smcd_dev_list.mutex); in smcd_register_dev() [all …]
|
D | smc_ism.h | 18 struct smcd_dev_list { /* List of SMCD devices */ struct 23 extern struct smcd_dev_list smcd_dev_list; /* list of smcd devices */ argument
|
D | smc_pnet.c | 163 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_remove_by_pnetid() 164 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_remove_by_pnetid() 177 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_remove_by_pnetid() 268 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_apply_smcd() 274 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_apply_smcd() 331 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_find_smcd() 332 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_find_smcd() 339 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_find_smcd() 1096 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_find_ism_by_pnetid() 1097 list_for_each_entry(ismdev, &smcd_dev_list.list, list) { in smc_pnet_find_ism_by_pnetid() [all …]
|
D | smc_core.c | 580 static int smc_nl_fill_smcd_dev(struct smcd_dev_list *dev_list, in smc_nl_fill_smcd_dev() 625 smc_nl_fill_smcd_dev(&smcd_dev_list, skb, cb); in smcd_nl_get_lgr() 2493 mutex_lock(&smcd_dev_list.mutex); in smc_core_going_away() 2494 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_core_going_away() 2497 mutex_unlock(&smcd_dev_list.mutex); in smc_core_going_away() 2509 mutex_lock(&smcd_dev_list.mutex); in smc_lgrs_shutdown() 2510 list_for_each_entry(smcd, &smcd_dev_list.list, list) in smc_lgrs_shutdown() 2512 mutex_unlock(&smcd_dev_list.mutex); in smc_lgrs_shutdown()
|
D | af_smc.c | 973 mutex_lock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_clnt() 974 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_find_ism_v2_device_clnt() 991 mutex_unlock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_clnt() 1989 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_check_ism_v2_match() 2029 mutex_lock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_serv() 2043 mutex_unlock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_serv()
|