Lines Matching defs:rc
129 int rc = 0;
172 rc = le32_to_cpu(wait->msg->body[0]) >> 24;
177 rc = -ETIMEDOUT;
182 if (rc != -ETIMEDOUT) {
187 return rc;
214 int rc = 1;
234 rc = 0;
236 rc = -1;
240 if (rc) {
252 return rc;
323 int rc;
325 rc = i2o_event_register(i2o_dev, &i2o_exec_driver, 0, 0xffffffff);
326 if (rc) goto err_out;
328 rc = device_create_file(dev, &dev_attr_vendor_id);
329 if (rc) goto err_evtreg;
330 rc = device_create_file(dev, &dev_attr_product_id);
331 if (rc) goto err_vid;
342 return rc;
541 int rc = -EAGAIN;
558 rc = i2o_msg_post_wait(c, msg, I2O_TIMEOUT_LCT_GET);
559 if (rc < 0)
562 rc = i2o_device_parse_lct(c);
563 if (rc != -EAGAIN)
567 return rc;