Lines Matching refs:rc
98 efx_rc_t rc;
131 rc = ENOTSUP;
136 if ((rc = evpdop->evpdo_init(enp)) != 0)
148 EFSYS_PROBE1(fail1, efx_rc_t, rc);
150 return (rc);
159 efx_rc_t rc;
164 if ((rc = evpdop->evpdo_size(enp, sizep)) != 0)
170 EFSYS_PROBE1(fail1, efx_rc_t, rc);
172 return (rc);
182 efx_rc_t rc;
187 if ((rc = evpdop->evpdo_read(enp, data, size)) != 0)
193 EFSYS_PROBE1(fail1, efx_rc_t, rc);
195 return (rc);
205 efx_rc_t rc;
210 if ((rc = evpdop->evpdo_verify(enp, data, size)) != 0)
216 EFSYS_PROBE1(fail1, efx_rc_t, rc);
218 return (rc);
228 efx_rc_t rc;
234 rc = ENOTSUP;
238 if ((rc = evpdop->evpdo_reinit(enp, data, size)) != 0)
246 EFSYS_PROBE1(fail1, efx_rc_t, rc);
248 return (rc);
259 efx_rc_t rc;
264 if ((rc = evpdop->evpdo_get(enp, data, size, evvp)) != 0) {
265 if (rc == ENOENT)
266 return (rc);
274 EFSYS_PROBE1(fail1, efx_rc_t, rc);
276 return (rc);
287 efx_rc_t rc;
292 if ((rc = evpdop->evpdo_set(enp, data, size, evvp)) != 0)
298 EFSYS_PROBE1(fail1, efx_rc_t, rc);
300 return (rc);
312 efx_rc_t rc;
317 if ((rc = evpdop->evpdo_next(enp, data, size, evvp, contp)) != 0)
323 EFSYS_PROBE1(fail1, efx_rc_t, rc);
325 return (rc);
335 efx_rc_t rc;
340 if ((rc = evpdop->evpdo_write(enp, data, size)) != 0)
346 EFSYS_PROBE1(fail1, efx_rc_t, rc);
348 return (rc);
364 efx_rc_t rc;
367 rc = EFAULT;
386 rc = EFAULT;
399 rc = EFAULT;
404 rc = EFAULT;
414 rc = EFAULT;
431 EFSYS_PROBE1(fail1, efx_rc_t, rc);
433 return (rc);
446 efx_rc_t rc;
449 rc = EFAULT;
457 rc = EFAULT;
469 EFSYS_PROBE1(fail1, efx_rc_t, rc);
471 return (rc);
483 efx_rc_t rc;
488 if ((rc = efx_vpd_next_tag(data, size, &offset,
501 EFSYS_PROBE1(fail1, efx_rc_t, rc);
503 return (rc);
521 efx_rc_t rc;
530 if ((rc = efx_vpd_next_tag(data, size, &offset,
541 rc = EFAULT;
545 if ((rc = efx_vpd_next_keyword(data + offset,
555 rc = EFAULT;
568 rc = EFAULT;
586 EFSYS_PROBE1(fail1, efx_rc_t, rc);
588 return (rc);
617 efx_rc_t rc;
620 rc = ENOSPC;
650 EFSYS_PROBE1(fail1, efx_rc_t, rc);
652 return (rc);
673 efx_rc_t rc;
678 if ((rc = efx_vpd_next_tag(data, size, &offset,
699 if ((rc = efx_vpd_next_keyword(data + offset,
729 EFSYS_PROBE1(fail1, efx_rc_t, rc);
731 return (rc);
749 efx_rc_t rc;
754 if ((rc = efx_vpd_next_tag(data, size, &offset,
770 if ((rc = efx_vpd_next_keyword(data + offset,
791 EFSYS_PROBE1(fail1, efx_rc_t, rc);
793 return (rc);
815 efx_rc_t rc;
820 rc = EINVAL;
826 rc = EINVAL;
833 rc = EINVAL;
839 rc = EINVAL;
844 if ((rc = efx_vpd_hunk_length(data, size, &used)) != 0)
851 if ((rc = efx_vpd_next_tag(data, size, &offset,
863 rc = EINVAL;
881 if ((rc = efx_vpd_next_keyword(data + offset,
919 rc = ENOSPC;
951 rc = ENOENT;
959 if ((rc = efx_vpd_next_tag(data, size, &offset,
966 if ((rc = efx_vpd_next_keyword(data + offset,
1005 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1007 return (rc);