Lines Matching refs:rc
51 efx_rc_t rc;
72 rc = ef10_nvram_partn_read_tlv(enp,
75 if (rc != 0) {
76 if (rc == EACCES) {
84 if ((rc = efx_vpd_hunk_verify(svpd, svpd_size, NULL)) != 0)
99 EFSYS_PROBE1(fail1, efx_rc_t, rc);
101 return (rc);
109 efx_rc_t rc;
121 if ((rc = efx_mcdi_nvram_info(enp, NVRAM_PARTITION_TYPE_DYNAMIC_CONFIG,
128 EFSYS_PROBE1(fail1, efx_rc_t, rc);
130 return (rc);
143 efx_rc_t rc;
156 if ((rc = ef10_nvram_partn_read_tlv(enp,
162 rc = ENOSPC;
182 EFSYS_PROBE1(fail1, efx_rc_t, rc);
184 return (rc);
199 efx_rc_t rc;
211 if ((rc = efx_vpd_hunk_verify(data, size, NULL)) != 0)
224 if ((rc = efx_vpd_hunk_next(data, size, &dtag,
240 if ((rc = efx_vpd_hunk_next(
249 rc = EEXIST;
265 EFSYS_PROBE1(fail1, efx_rc_t, rc);
267 return (rc);
277 efx_rc_t rc;
288 rc = efx_vpd_hunk_get(enp->en_arch.ef10.ena_svpd,
291 if (rc == 0)
293 else if (rc == ENOENT)
299 if ((rc = efx_vpd_hunk_reinit(data, size, wantpid)) != 0)
307 EFSYS_PROBE1(fail1, efx_rc_t, rc);
309 return (rc);
321 efx_rc_t rc;
329 if ((rc = efx_vpd_hunk_get(enp->en_arch.ef10.ena_svpd,
336 } else if (rc != ENOENT)
341 if ((rc = efx_vpd_hunk_get(data, size, evvp->evv_tag,
343 if (rc == ENOENT)
344 return (rc);
356 EFSYS_PROBE1(fail1, efx_rc_t, rc);
358 return (rc);
368 efx_rc_t rc;
379 if ((rc = efx_vpd_hunk_get(enp->en_arch.ef10.ena_svpd,
382 rc = EACCES;
387 if ((rc = efx_vpd_hunk_set(data, size, evvp)) != 0)
395 EFSYS_PROBE1(fail1, efx_rc_t, rc);
397 return (rc);
422 efx_rc_t rc;
436 if ((rc = efx_vpd_hunk_length(data, size, &vpd_length)) != 0)
440 if ((rc = ef10_nvram_partn_write_segment_tlv(enp,
452 EFSYS_PROBE1(fail1, efx_rc_t, rc);
454 return (rc);