Lines Matching refs:rc
121 efx_rc_t rc;
166 rc = ENOMEM;
175 EFSYS_PROBE1(fail1, efx_rc_t, rc);
177 return (rc);
205 efx_rc_t rc;
232 rc = EINVAL;
334 rc = EINVAL;
353 rc = EINVAL;
369 rc = req.emr_rc;
374 rc = EMSGSIZE;
392 EFSYS_PROBE1(fail1, efx_rc_t, rc);
394 return (rc);
407 efx_rc_t rc;
426 rc = EINVAL;
436 rc = req.emr_rc;
441 rc = EMSGSIZE;
453 EFSYS_PROBE1(fail1, efx_rc_t, rc);
455 return (rc);
573 efx_rc_t rc;
599 rc = efx_mcdi_filter_op_add(enp, spec,
603 rc = efx_mcdi_filter_op_add(enp, spec,
608 if (rc != 0)
621 EFSYS_PROBE1(fail1, efx_rc_t, rc);
623 return (rc);
639 efx_rc_t rc;
692 rc = EEXIST;
707 rc = EBUSY;
736 rc = ENOMEM;
752 rc = efx_mcdi_filter_op_add(enp, spec,
756 rc = efx_mcdi_filter_op_add(enp, spec,
760 rc = efx_mcdi_filter_op_add(enp, spec,
765 if (rc != 0)
808 EFSYS_PROBE1(fail1, efx_rc_t, rc);
813 return (rc);
822 efx_rc_t rc;
824 rc = ef10_filter_add_internal(enp, spec, may_replace, NULL);
825 if (rc != 0)
831 EFSYS_PROBE1(fail1, efx_rc_t, rc);
833 return (rc);
841 efx_rc_t rc;
866 rc = ENOENT;
875 rc = efx_mcdi_filter_op_delete(enp,
879 rc = efx_mcdi_filter_op_delete(enp,
893 if (rc != 0)
902 EFSYS_PROBE1(fail1, efx_rc_t, rc);
904 return (rc);
912 efx_rc_t rc;
939 rc = ENOENT;
948 rc = ef10_filter_delete_internal(enp, i);
949 if (rc != 0)
958 EFSYS_PROBE1(fail1, efx_rc_t, rc);
963 return (rc);
979 efx_rc_t rc;
994 rc = req.emr_rc;
1003 rc = EMSGSIZE;
1010 rc = ENOSPC;
1036 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1038 return (rc);
1055 efx_rc_t rc;
1079 rc = efx_mcdi_get_parser_disp_info(enp, buffer, buffer_length, B_FALSE,
1081 if (rc != 0) {
1082 if (rc == ENOSPC)
1098 rc = efx_mcdi_get_parser_disp_info(enp, &buffer[next_buf_idx],
1100 if (rc != 0) {
1101 if (rc == ENOSPC)
1116 rc = ENOSPC;
1149 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1151 return (rc);
1162 efx_rc_t rc;
1168 rc = efx_filter_spec_set_eth_local(&spec, EFX_FILTER_SPEC_VID_UNSPEC,
1170 if (rc != 0)
1173 rc = ef10_filter_add_internal(enp, &spec, B_TRUE,
1175 if (rc != 0)
1187 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1188 return (rc);
1198 efx_rc_t rc;
1204 rc = efx_filter_spec_set_uc_def(&spec);
1205 if (rc != 0)
1207 rc = ef10_filter_add_internal(enp, &spec, B_TRUE,
1209 if (rc != 0)
1221 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1222 return (rc);
1241 efx_rc_t rc;
1249 rc = EINVAL;
1261 rc = efx_filter_spec_set_eth_local(&spec,
1264 if (rc != 0) {
1277 rc = ef10_filter_add_internal(enp, &spec, B_TRUE,
1280 if (rc == 0) {
1297 rc = efx_filter_spec_set_eth_local(&spec,
1299 if ((rc != 0) && (rollback == B_TRUE)) {
1304 rc = ef10_filter_add_internal(enp, &spec, B_TRUE,
1307 if (rc == 0) {
1332 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1334 return (rc);
1344 efx_rc_t rc;
1350 rc = efx_filter_spec_set_mc_def(&spec);
1351 if (rc != 0)
1354 rc = ef10_filter_add_internal(enp, &spec, B_TRUE,
1356 if (rc != 0)
1371 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1373 return (rc);
1413 efx_rc_t rc;
1451 rc = efx_filter_spec_set_encap_type(&spec,
1454 if (rc != 0)
1457 rc = ef10_filter_add_internal(enp, &spec, B_TRUE,
1460 if (rc != 0) {
1461 if (rc != EACCES)
1473 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1475 return (rc);
1499 efx_rc_t rc;
1501 rc = efx_mcdi_get_workarounds(enp, &implemented, &enabled);
1502 if (rc == 0) {
1508 } else if (rc == ENOTSUP) {
1521 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1523 return (rc);
1550 efx_rc_t rc;
1617 rc = ef10_filter_insert_unicast(enp, mac_addr, filter_flags);
1618 if (all_unicst || (rc != 0)) {
1621 if ((rc != 0) && (all_unicst_rc != 0))
1651 if ((rc = ef10_filter_get_workarounds(enp)) != 0)
1676 rc = ef10_filter_insert_multicast_list(enp, B_TRUE,
1678 if (rc != 0)
1689 rc = ef10_filter_insert_multicast_list(enp, mulcst, brdcst,
1691 if (rc != 0) {
1703 rc = ef10_filter_insert_all_multicast(enp,
1705 if (rc != 0) {
1706 rc = ef10_filter_insert_multicast_list(enp,
1709 if (rc != 0)
1728 rc = ENOTSUP;
1731 return (rc);
1740 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1749 return (rc);