Lines Matching defs:rc
29 static void verify_done(struct ccw_device *cdev, int rc)
36 if (rc)
41 rc = cio_commit_config(sch);
44 CIO_MSG_EVENT(2, "vrfy: device 0.%x.%04x: rc=%d pgroup=%d mpath=%d "
45 "vpm=%02x\n", id->ssid, id->devno, rc, pgroup, mpath,
47 ccw_device_verify_done(cdev, rc);
100 static void nop_callback(struct ccw_device *cdev, void *data, int rc)
105 if (rc == 0)
107 else if (rc != -EACCES)
114 verify_done(cdev, rc);
168 static void spid_callback(struct ccw_device *cdev, void *data, int rc)
173 switch (rc) {
199 verify_done(cdev, rc);
303 static void snid_done(struct ccw_device *cdev, int rc)
313 if (rc)
317 rc = -EUSERS;
319 rc = -EOPNOTSUPP;
327 CIO_MSG_EVENT(2, "snid: device 0.%x.%04x: rc=%d pvm=%02x vpm=%02x "
329 id->devno, rc, cdev->private->pgid_valid_mask, sch->vpm,
331 switch (rc) {
348 verify_done(cdev, rc);
392 static void snid_callback(struct ccw_device *cdev, void *data, int rc)
396 if (rc == 0)
398 else if (rc != -EACCES)
405 snid_done(cdev, rc);
472 static void disband_callback(struct ccw_device *cdev, void *data, int rc)
477 if (rc)
483 rc = cio_commit_config(sch);
486 CIO_MSG_EVENT(0, "disb: device 0.%x.%04x: rc=%d\n", id->ssid, id->devno,
487 rc);
488 ccw_device_disband_done(cdev, rc);
537 static void stlck_callback(struct ccw_device *cdev, void *data, int rc)
539 ccw_device_stlck_done(cdev, data, rc);