Lines Matching defs:rc
129 int rc;
132 rc = sclp_register(&sclp_cpi_event);
133 if (rc)
136 rc = -EOPNOTSUPP;
142 rc = PTR_ERR(req);
150 rc = sclp_add_request(req);
151 if (rc)
159 rc = -EIO;
167 rc = -EIO;
177 return rc;
224 int rc;
227 rc = snprintf(page, PAGE_SIZE, "%s\n", system_name);
229 return rc;
237 int rc;
239 rc = check_string("system_name", buf);
240 if (rc)
241 return rc;
256 int rc;
259 rc = snprintf(page, PAGE_SIZE, "%s\n", sysplex_name);
261 return rc;
269 int rc;
271 rc = check_string("sysplex_name", buf);
272 if (rc)
273 return rc;
288 int rc;
291 rc = snprintf(page, PAGE_SIZE, "%s\n", system_type);
293 return rc;
301 int rc;
303 rc = check_string("system_type", buf);
304 if (rc)
305 return rc;
358 int rc;
361 rc = cpi_req();
363 if (rc)
364 return rc;
389 int rc;
391 rc = check_string("system_name", system);
392 if (rc)
393 return rc;
394 rc = check_string("sysplex_name", sysplex);
395 if (rc)
396 return rc;
397 rc = check_string("system_type", type);
398 if (rc)
399 return rc;
407 rc = cpi_req();
410 return rc;
416 int rc;
422 rc = sysfs_create_group(&cpi_kset->kobj, &cpi_attr_group);
423 if (rc)
426 return rc;