Searched refs:smcd_dev_list (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/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) 267 static void smc_nl_prep_smcd_dev(struct smcd_dev_list *dev_list, in smc_nl_prep_smcd_dev() 292 smc_nl_prep_smcd_dev(&smcd_dev_list, skb, cb); in smcd_nl_get_device() 428 mutex_lock(&smcd_dev_list.mutex); in smcd_register_dev() 429 if (list_empty(&smcd_dev_list.list)) { in smcd_register_dev() 441 list_add_tail(&smcd->list, &smcd_dev_list.list); in smcd_register_dev() 443 list_add(&smcd->list, &smcd_dev_list.list); in smcd_register_dev() 444 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 | 164 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_remove_by_pnetid() 165 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_remove_by_pnetid() 178 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_remove_by_pnetid() 269 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_apply_smcd() 275 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_apply_smcd() 332 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_find_smcd() 333 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_find_smcd() 340 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_find_smcd() 1098 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_find_ism_by_pnetid() 1099 list_for_each_entry(ismdev, &smcd_dev_list.list, list) { in smc_pnet_find_ism_by_pnetid() [all …]
|
D | smc_core.c | 582 static int smc_nl_fill_smcd_dev(struct smcd_dev_list *dev_list, in smc_nl_fill_smcd_dev() 627 smc_nl_fill_smcd_dev(&smcd_dev_list, skb, cb); in smcd_nl_get_lgr() 2571 mutex_lock(&smcd_dev_list.mutex); in smc_core_going_away() 2572 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_core_going_away() 2575 mutex_unlock(&smcd_dev_list.mutex); in smc_core_going_away() 2587 mutex_lock(&smcd_dev_list.mutex); in smc_lgrs_shutdown() 2588 list_for_each_entry(smcd, &smcd_dev_list.list, list) in smc_lgrs_shutdown() 2590 mutex_unlock(&smcd_dev_list.mutex); in smc_lgrs_shutdown()
|
D | af_smc.c | 1006 mutex_lock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_clnt() 1007 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_find_ism_v2_device_clnt() 1024 mutex_unlock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_clnt() 2035 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_check_ism_v2_match() 2075 mutex_lock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_serv() 2089 mutex_unlock(&smcd_dev_list.mutex); in smc_find_ism_v2_device_serv()
|