Lines Matching refs:rc
215 efx_rc_t rc;
221 rc = EINVAL;
226 rc = EINVAL;
257 rc = ENOTSUP;
261 if ((rc = erxop->erxo_init(enp)) != 0)
275 EFSYS_PROBE1(fail1, efx_rc_t, rc);
279 return (rc);
306 efx_rc_t rc;
311 if ((rc = erxop->erxo_scatter_enable(enp, buf_size)) != 0)
317 EFSYS_PROBE1(fail1, efx_rc_t, rc);
318 return (rc);
333 efx_rc_t rc;
336 rc = EINVAL;
349 rc = E2BIG; \
426 EFSYS_PROBE1(fail1, efx_rc_t, rc);
428 return (rc);
436 efx_rc_t rc;
442 rc = EINVAL;
455 EFSYS_PROBE1(fail1, efx_rc_t, rc);
457 return (rc);
465 efx_rc_t rc;
471 rc = EINVAL;
484 EFSYS_PROBE1(fail1, efx_rc_t, rc);
486 return (rc);
499 efx_rc_t rc;
505 rc = ENOTSUP;
508 if ((rc = erxop->erxo_scale_context_alloc(enp, type,
518 EFSYS_PROBE1(fail1, efx_rc_t, rc);
519 return (rc);
530 efx_rc_t rc;
536 rc = ENOTSUP;
539 if ((rc = erxop->erxo_scale_context_free(enp, rss_context)) != 0)
547 EFSYS_PROBE1(fail1, efx_rc_t, rc);
548 return (rc);
565 efx_rc_t rc;
576 rc = EINVAL;
594 rc = efx_rx_scale_hash_flags_get(enp, alg, type_flags,
596 if (rc != 0)
605 rc = EINVAL;
638 if ((rc = erxop->erxo_scale_mode_set(enp, rss_context, alg,
652 EFSYS_PROBE1(fail1, efx_rc_t, rc);
653 return (rc);
666 efx_rc_t rc;
671 if ((rc = erxop->erxo_scale_key_set(enp, rss_context, key, n)) != 0)
677 EFSYS_PROBE1(fail1, efx_rc_t, rc);
679 return (rc);
692 efx_rc_t rc;
697 if ((rc = erxop->erxo_scale_tbl_set(enp, rss_context, table, n)) != 0)
703 EFSYS_PROBE1(fail1, efx_rc_t, rc);
705 return (rc);
780 efx_rc_t rc;
784 if ((rc = erxop->erxo_qflush(erp)) != 0)
790 EFSYS_PROBE1(fail1, efx_rc_t, rc);
792 return (rc);
823 efx_rc_t rc;
832 rc = ENOMEM;
842 if ((rc = erxop->erxo_qcreate(enp, index, label, type, type_data, esmp,
856 EFSYS_PROBE1(fail1, efx_rc_t, rc);
858 return (rc);
921 efx_rc_t rc;
925 rc = EINVAL;
937 rc = efx_rx_qcreate_internal(enp, index, label,
940 if (rc != 0)
948 EFSYS_PROBE1(fail1, efx_rc_t, rc);
950 return (rc);
1044 efx_rc_t rc;
1050 rc = EINVAL;
1055 rc = EBUSY;
1074 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1076 return (rc);
1149 efx_rc_t rc;
1152 rc = EINVAL;
1169 rc);
1170 if (rc != 0)
1176 rc = EINVAL;
1187 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1191 return (rc);
1206 efx_rc_t rc;
1209 rc = EINVAL;
1232 rc = EFAULT;
1281 rc = EFAULT;
1293 rc = EFAULT;
1305 rc = EFAULT;
1322 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1324 return (rc);
1338 efx_rc_t rc;
1344 rc = EINVAL;
1349 rc = EINVAL;
1380 rc = EFAULT;
1392 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1394 return (rc);
1605 efx_rc_t rc;
1620 rc = EINVAL;
1624 rc = EINVAL;
1632 rc = EINVAL;
1641 rc = EINVAL;
1649 rc = EINVAL;
1680 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1682 return (rc);