Lines Matching refs:smcd_dev
106 struct smcd_dev *smcd; in smc_pnet_remove_by_pnetid()
266 static bool smc_pnet_apply_smcd(struct smcd_dev *smcd_dev, char *pnet_name) in smc_pnet_apply_smcd() argument
271 if (!smc_pnet_is_pnetid_set(smcd_dev->pnetid)) { in smc_pnet_apply_smcd()
272 memcpy(smcd_dev->pnetid, pnet_name, SMC_MAX_PNETID_LEN); in smc_pnet_apply_smcd()
273 smcd_dev->pnetid_by_user = true; in smc_pnet_apply_smcd()
329 static struct smcd_dev *smc_pnet_find_smcd(char *smcd_name) in smc_pnet_find_smcd()
331 struct smcd_dev *smcd_dev; in smc_pnet_find_smcd() local
334 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_find_smcd()
335 if (!strncmp(dev_name(smcd_dev->ops->get_dev(smcd_dev)), in smc_pnet_find_smcd()
339 smcd_dev = NULL; in smc_pnet_find_smcd()
342 return smcd_dev; in smc_pnet_find_smcd()
415 struct smcd_dev *smcd; in smc_pnet_add_ib()
1099 struct smcd_dev *ismdev; in smc_pnet_find_ism_by_pnetid()
1191 int smc_pnetid_by_table_smcd(struct smcd_dev *smcddev) in smc_pnetid_by_table_smcd()