Lines Matching refs:rc
49 efx_rc_t rc;
52 rc = ENOTSUP;
56 if ((rc = efx_mcdi_nvram_info(enp, partn, sizep,
66 EFSYS_PROBE1(fail1, efx_rc_t, rc);
68 return (rc);
76 efx_rc_t rc;
78 if ((rc = efx_mcdi_nvram_update_start(enp, partn)) != 0) {
85 EFSYS_PROBE1(fail1, efx_rc_t, rc);
87 return (rc);
99 efx_rc_t rc;
104 if ((rc = efx_mcdi_nvram_read(enp, partn, offset, data, chunk,
117 EFSYS_PROBE1(fail1, efx_rc_t, rc);
119 return (rc);
129 efx_rc_t rc;
131 if ((rc = efx_mcdi_nvram_erase(enp, partn, offset, size)) != 0) {
138 EFSYS_PROBE1(fail1, efx_rc_t, rc);
140 return (rc);
152 efx_rc_t rc;
157 if ((rc = efx_mcdi_nvram_write(enp, partn, offset,
170 EFSYS_PROBE1(fail1, efx_rc_t, rc);
172 return (rc);
182 efx_rc_t rc;
192 rc = efx_mcdi_nvram_update_finish(enp, partn, reboot, verify_resultp);
193 if (rc != 0)
199 EFSYS_PROBE1(fail1, efx_rc_t, rc);
201 return (rc);
273 efx_rc_t rc;
286 if ((rc = efx_mcdi_nvram_test(enp, entry->partn)) != 0) {
294 EFSYS_PROBE1(fail1, efx_rc_t, rc);
296 return (rc);
322 efx_rc_t rc;
331 if ((rc = siena_nvram_partn_size(enp, partn, &size)) != 0)
335 rc = EINVAL;
341 rc = ENOMEM;
345 if ((rc = siena_nvram_partn_read(enp, partn, 0,
379 if ((rc = siena_nvram_partn_read(enp, partn, SIENA_NVRAM_CHUNK,
436 EFSYS_PROBE1(fail1, efx_rc_t, rc);
438 return (rc);
451 efx_rc_t rc;
462 rc = req.emr_rc;
467 rc = EMSGSIZE;
474 rc = ENOENT;
489 EFSYS_PROBE1(fail1, efx_rc_t, rc);
491 return (rc);
505 efx_rc_t rc;
508 rc = ENOTSUP;
512 if ((rc = siena_nvram_get_subtype(enp, partn, subtypep)) != 0)
543 if ((rc = siena_nvram_get_dynamic_cfg(enp, dcfg_partn,
571 EFSYS_PROBE1(fail1, efx_rc_t, rc);
573 return (rc);
582 efx_rc_t rc;
584 if ((rc = siena_nvram_partn_lock(enp, partn)) != 0)
593 EFSYS_PROBE1(fail1, efx_rc_t, rc);
595 return (rc);
604 efx_rc_t rc;
606 if ((rc = siena_nvram_partn_unlock(enp, partn, verify_resultp)) != 0)
612 EFSYS_PROBE1(fail1, efx_rc_t, rc);
614 return (rc);
637 efx_rc_t rc;
643 if ((rc = siena_nvram_partn_size(enp, dcfg_partn, &dcfg_size)) != 0)
646 if ((rc = siena_nvram_partn_lock(enp, dcfg_partn)) != 0)
649 if ((rc = siena_nvram_get_dynamic_cfg(enp, dcfg_partn,
664 rc = ENOSPC;
685 if ((rc = siena_nvram_get_subtype(enp, partn, &subtype)) != 0)
710 if ((rc = siena_nvram_partn_erase(enp, dcfg_partn, 0, dcfg_size)) != 0)
714 if ((rc = siena_nvram_partn_write(enp, dcfg_partn, 0,
739 EFSYS_PROBE1(fail1, efx_rc_t, rc);
741 return (rc);