Lines Matching defs:rc
62 int rc = 0;
66 rc = i2o_device_issue_claim(dev, I2O_CMD_UTIL_CLAIM, I2O_CLAIM_PRIMARY);
67 if (!rc)
72 dev->lct_data.tid, rc);
76 return rc;
95 int rc = 0;
104 rc = i2o_device_issue_claim(dev, I2O_CMD_UTIL_RELEASE,
106 if (!rc)
112 if (!rc)
117 dev->lct_data.tid, rc);
121 return rc;
220 int rc;
236 rc = device_register(&i2o_dev->device);
237 if (rc)
245 rc = sysfs_create_link(&i2o_dev->device.kobj,
247 if (rc)
255 rc = sysfs_create_link(&tmp->device.kobj,
257 if (rc)
264 rc = sysfs_create_link(&i2o_dev->device.kobj,
266 if (rc)
274 rc = sysfs_create_link(&tmp->device.kobj,
276 if (rc)
306 return rc;
461 int rc;
491 rc = i2o_msg_post_wait_mem(c, msg, 10, &res);
494 if (rc == -ETIMEDOUT)
495 return rc;
500 return rc;
514 int rc;
520 rc = i2o_parm_issue(i2o_dev, I2O_CMD_UTIL_PARAMS_GET, opblk,
527 return rc;