Lines Matching defs:smcd
106 struct smcd_dev *smcd;
163 /* remove smcd devices */
165 list_for_each_entry(smcd, &smcd_dev_list.list, list) {
166 if (smcd->pnetid_by_user &&
168 smc_pnet_match(pnet_name, smcd->pnetid))) {
169 pr_warn_ratelimited("smc: smcd device %s "
172 dev_name(&smcd->dibs->dev),
173 smcd->pnetid);
174 memset(smcd->pnetid, 0, SMC_MAX_PNETID_LEN);
175 smcd->pnetid_by_user = false;
264 /* Apply pnetid to smcd device when no pnetid is set.
328 /* Find an smcd device by a given name. The device might not exist. */
418 struct smcd_dev *smcd;
432 smcd = smc_pnet_find_smcd(ib_name);
433 if (smcd) {
434 smcddev_applied = smc_pnet_apply_smcd(smcd, pnet_name);
436 pr_warn_ratelimited("smc: smcd device %s applied user defined pnetid %.16s\n",
437 dev_name(&smcd->dibs->dev),
438 smcd->pnetid);
1192 /* Lookup and apply a pnet table entry to the given smcd device.