Lines Matching defs:smcd_dev
106 struct smcd_dev *smcd;
266 static bool smc_pnet_apply_smcd(struct smcd_dev *smcd_dev, char *pnet_name)
271 if (!smc_pnet_is_pnetid_set(smcd_dev->pnetid)) {
272 memcpy(smcd_dev->pnetid, pnet_name, SMC_MAX_PNETID_LEN);
273 smcd_dev->pnetid_by_user = true;
329 static struct smcd_dev *smc_pnet_find_smcd(char *smcd_name)
331 struct smcd_dev *smcd_dev;
334 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) {
335 if (!strncmp(dev_name(&smcd_dev->dibs->dev), smcd_name,
337 (smcd_dev->dibs->dev.parent &&
338 !strncmp(dev_name(smcd_dev->dibs->dev.parent), smcd_name,
342 smcd_dev = NULL;
345 return smcd_dev;
418 struct smcd_dev *smcd;
1101 struct smcd_dev *ismdev;
1194 int smc_pnetid_by_table_smcd(struct smcd_dev *smcddev)