Lines Matching refs:err
93 sbd_error_t *err;
96 err = drmach_configure(cp->sbdev_id, 0);
99 if (!err)
100 err = drmach_io_post_attach(cp->sbdev_id);
102 if (err)
103 DRERR_SET_C(&cp->sbdev_error, &err);
113 sbd_error_t *err;
115 err = drmach_unconfigure(cp->sbdev_id, 0);
117 if (!err)
118 err = drmach_unconfigure(cp->sbdev_id, DEVI_BRANCH_DESTROY);
120 if (!err)
121 err = drmach_io_post_release(cp->sbdev_id);
123 if (err) {
125 DRERR_SET_C(&cp->sbdev_error, &err);
171 sbd_error_t *err;
173 err = drmach_get_dip(ip->sbi_cm.sbdev_id, &dip);
174 if (err)
175 DRERR_SET_C(&ip->sbi_cm.sbdev_error, &err);
229 sbd_error_t *err;
231 err = drmach_release(ip->sbi_cm.sbdev_id);
232 if (err) {
234 &err);
246 sbd_error_t *err;
247 err = drmach_io_unrelease(ip->sbi_cm.sbdev_id);
248 if (err) {
249 DRERR_SET_C(&ip->sbi_cm.sbdev_error, &err);
334 sbd_error_t *err;
351 err = drmach_status(ip->sbi_cm.sbdev_id, &pstat);
352 if (err) {
353 DRERR_SET_C(&ip->sbi_cm.sbdev_error, &err);
358 err = drmach_get_dip(id, &dip);
359 if (err) {
363 sbd_err_clear(&err);