Lines Matching refs:smcd
106 struct smcd_dev *smcd; in smc_pnet_remove_by_pnetid() local
165 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_pnet_remove_by_pnetid()
166 if (smcd->pnetid_by_user && in smc_pnet_remove_by_pnetid()
168 smc_pnet_match(pnet_name, smcd->pnetid))) { in smc_pnet_remove_by_pnetid()
172 dev_name(smcd->ops->get_dev(smcd)), in smc_pnet_remove_by_pnetid()
173 smcd->pnetid); in smc_pnet_remove_by_pnetid()
174 memset(smcd->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid()
175 smcd->pnetid_by_user = false; in smc_pnet_remove_by_pnetid()
415 struct smcd_dev *smcd; in smc_pnet_add_ib() local
430 smcd = smc_pnet_find_smcd(ib_name); in smc_pnet_add_ib()
431 if (smcd) { in smc_pnet_add_ib()
432 smcddev_applied = smc_pnet_apply_smcd(smcd, pnet_name); in smc_pnet_add_ib()
434 dev = smcd->ops->get_dev(smcd); in smc_pnet_add_ib()
438 smcd->pnetid); in smc_pnet_add_ib()