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->ops->get_dev(smcd)),
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. */
415 struct smcd_dev *smcd;
430 smcd = smc_pnet_find_smcd(ib_name);
431 if (smcd) {
432 smcddev_applied = smc_pnet_apply_smcd(smcd, pnet_name);
434 dev = smcd->ops->get_dev(smcd);
435 pr_warn_ratelimited("smc: smcd device %s "
438 smcd->pnetid);
1194 /* Lookup and apply a pnet table entry to the given smcd device.