Lines Matching refs:rc
76 efx_rc_t rc;
79 rc = EINVAL;
86 rc = ENOENT;
92 rc = EINVAL;
107 rc = EINVAL;
112 rc = EINVAL;
117 rc = E2BIG;
130 rc = E2BIG;
149 EFSYS_PROBE1(fail1, efx_rc_t, rc);
151 return (rc);
160 efx_rc_t rc;
163 rc = EINVAL;
169 rc = ENOTSUP;
172 rc = efx_asn1_parse_header_match_tag(cursor, tag);
173 if (rc != 0) {
189 EFSYS_PROBE1(fail1, efx_rc_t, rc);
191 return (rc);
205 efx_rc_t rc;
208 rc = EINVAL;
211 rc = efx_asn1_parse_header_match_tag(cursor, tag);
212 if (rc != 0) {
218 rc = EINVAL;
223 rc = EINVAL;
238 EFSYS_PROBE1(fail1, efx_rc_t, rc);
240 return (rc);
249 efx_rc_t rc;
252 rc = EINVAL;
256 rc = efx_asn1_parse_header_match_tag(cursor, tag);
257 if (rc != 0) {
269 EFSYS_PROBE1(fail1, efx_rc_t, rc);
271 return (rc);
282 efx_rc_t rc;
285 rc = EINVAL;
289 rc = efx_asn1_parse_header_match_tag(cursor, tag);
290 if (rc != 0) {
302 EFSYS_PROBE1(fail1, efx_rc_t, rc);
304 return (rc);
339 efx_rc_t rc;
342 rc = EINVAL;
349 rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_SEQUENCE);
350 if (rc != 0)
354 rc = efx_asn1_match_tag_value(&cursor, ASN1_TAG_OBJ_ID,
356 if (rc != 0)
360 rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_CONS_CONTEXT(0));
361 if (rc != 0)
365 rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_SEQUENCE);
366 if (rc != 0)
370 rc = efx_asn1_match_tag_value(&cursor, ASN1_TAG_INTEGER,
372 if (rc != 0)
376 rc = efx_asn1_skip_tag(&cursor, ASN1_TAG_SET);
377 if (rc != 0)
381 rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_SEQUENCE);
382 if (rc != 0)
386 rc = efx_asn1_match_tag_value(&cursor, ASN1_TAG_OBJ_ID,
388 if (rc != 0)
392 rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_CONS_CONTEXT(0));
393 if (rc != 0)
402 rc = efx_asn1_get_tag_value(&cursor, ASN1_TAG_OCTET_STRING,
404 if (rc != 0)
408 rc = EINVAL;
412 rc = EINVAL;
416 rc = EINVAL;
452 EFSYS_PROBE1(fail1, efx_rc_t, rc);
454 return (rc);
465 efx_rc_t rc;
473 rc = ENOSPC;
479 rc = EINVAL;
488 rc = EINVAL;
495 rc = ENOSPC;
507 rc = EINVAL;
522 EFSYS_PROBE1(fail1, efx_rc_t, rc);
524 return (rc);
537 efx_rc_t rc;
541 rc = EINVAL;
547 rc = EINVAL;
555 rc = efx_check_signed_image_header(bufferp, buffer_size,
557 if (rc == 0) {
570 rc = E2BIG;
576 rc = efx_check_unsigned_image(imagep, image_size);
577 if (rc != 0)
599 EFSYS_PROBE1(fail1, efx_rc_t, rc);
601 return (rc);
618 efx_rc_t rc;
625 rc = EINVAL;
636 rc = EINVAL;
646 rc = EINVAL;
654 rc = EINVAL;
662 rc = EINVAL;
670 rc = EINVAL;
678 rc = EINVAL;
743 rc = ENOSPC;
758 rc = ENOSPC;
770 rc = ENOSPC;
783 rc = ENOSPC;
797 rc = ENOSPC;
810 rc = ENOSPC;
828 rc = ENOSPC;
836 rc = ENOSPC;
848 rc = ENOSPC;
861 rc = ENOSPC;
903 EFSYS_PROBE1(fail1, efx_rc_t, rc);
905 return (rc);