Lines Matching refs:rc
88 efx_rc_t rc;
121 rc = ENOTSUP;
133 EFSYS_PROBE1(fail1, efx_rc_t, rc);
135 return (rc);
145 efx_rc_t rc;
150 if ((rc = envop->envo_test(enp)) != 0)
156 EFSYS_PROBE1(fail1, efx_rc_t, rc);
158 return (rc);
171 efx_rc_t rc;
176 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
179 if ((rc = envop->envo_partn_size(enp, partn, sizep)) != 0)
187 EFSYS_PROBE1(fail1, efx_rc_t, rc);
190 return (rc);
202 efx_rc_t rc;
208 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
211 if ((rc = envop->envo_partn_get_version(enp, partn,
220 EFSYS_PROBE1(fail1, efx_rc_t, rc);
222 return (rc);
233 efx_rc_t rc;
238 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
243 if ((rc = envop->envo_partn_rw_start(enp, partn, chunk_sizep)) != 0)
253 EFSYS_PROBE1(fail1, efx_rc_t, rc);
255 return (rc);
268 efx_rc_t rc;
273 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
278 if ((rc = envop->envo_partn_read(enp, partn, offset, data, size)) != 0)
286 EFSYS_PROBE1(fail1, efx_rc_t, rc);
288 return (rc);
306 efx_rc_t rc;
311 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
316 if ((rc = envop->envo_partn_read_backup(enp, partn, offset,
325 EFSYS_PROBE1(fail1, efx_rc_t, rc);
327 return (rc);
339 efx_rc_t rc;
344 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
349 if ((rc = envop->envo_partn_size(enp, partn, &size)) != 0)
352 if ((rc = envop->envo_partn_erase(enp, partn, offset, size)) != 0)
362 EFSYS_PROBE1(fail1, efx_rc_t, rc);
364 return (rc);
377 efx_rc_t rc;
382 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
387 if ((rc = envop->envo_partn_write(enp, partn, offset, data, size)) != 0)
395 EFSYS_PROBE1(fail1, efx_rc_t, rc);
397 return (rc);
409 efx_rc_t rc;
414 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
419 if ((rc = envop->envo_partn_rw_finish(enp, partn, &verify_result)) != 0)
434 EFSYS_PROBE1(fail1, efx_rc_t, rc);
440 return (rc);
451 efx_rc_t rc;
457 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
467 if ((rc = envop->envo_partn_set_version(enp, partn, version)) != 0)
475 EFSYS_PROBE1(fail1, efx_rc_t, rc);
477 return (rc);
490 efx_rc_t rc;
496 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)
500 if ((rc = envop->envo_buffer_validate(partn,
510 EFSYS_PROBE1(fail1, efx_rc_t, rc);
512 return (rc);
548 efx_rc_t rc;
559 rc = req.emr_rc;
564 rc = EMSGSIZE;
570 rc = ENOENT;
575 rc = ENOSPC;
592 EFSYS_PROBE1(fail1, efx_rc_t, rc);
594 return (rc);
609 efx_rc_t rc;
622 rc = req.emr_rc;
627 rc = EMSGSIZE;
662 rc = ENOSPC;
682 EFSYS_PROBE1(fail1, efx_rc_t, rc);
684 return (rc);
699 efx_rc_t rc;
712 rc = req.emr_rc;
717 rc = EMSGSIZE;
742 EFSYS_PROBE1(fail1, efx_rc_t, rc);
744 return (rc);
759 efx_rc_t rc;
775 rc = req.emr_rc;
782 EFSYS_PROBE1(fail1, efx_rc_t, rc);
784 return (rc);
799 efx_rc_t rc;
802 rc = EINVAL;
820 rc = req.emr_rc;
825 rc = EMSGSIZE;
838 EFSYS_PROBE1(fail1, efx_rc_t, rc);
840 return (rc);
853 efx_rc_t rc;
868 rc = req.emr_rc;
875 EFSYS_PROBE1(fail1, efx_rc_t, rc);
877 return (rc);
895 efx_rc_t rc;
904 rc = EINVAL;
910 rc = ENOMEM;
931 rc = req.emr_rc;
945 EFSYS_PROBE1(fail1, efx_rc_t, rc);
947 return (rc);
966 efx_rc_t rc;
983 rc = req.emr_rc;
991 rc = EMSGSIZE;
1002 rc = EINVAL;
1016 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1022 return (rc);
1036 efx_rc_t rc;
1049 rc = req.emr_rc;
1054 rc = EMSGSIZE;
1062 rc = (EINVAL);
1073 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1075 return (rc);