Lines Matching refs:rc
116 int rc;
153 rc = gdesc->hdesc->dd.d_dev->dv_strategy(gdesc->hdesc, rw,
155 if (rc != 0)
157 rc = geli_io(gdesc->gdev, GELI_DECRYPT, alnstart, iobuf,
159 if (rc != 0)
175 rc = gdesc->hdesc->dd.d_dev->dv_strategy(gdesc->hdesc,
177 if (rc != 0)
179 rc = geli_io(gdesc->gdev, GELI_DECRYPT, alnstart, iobuf,
181 if (rc != 0)
188 rc = geli_io(gdesc->gdev, GELI_ENCRYPT, alnstart, iobuf,
190 if (rc != 0)
192 rc = gdesc->hdesc->dd.d_dev->dv_strategy(gdesc->hdesc,
199 return (rc);
299 int rc;
316 if ((rc = geli_havekey(gdev)) != 0) {
322 if ((rc = geli_passphrase(gdev, gelipw)) == 0) {
327 if (rc != 0)