Lines Matching refs:outlen
25 size_t outlen; in efx_mae_allocate_mport() local
38 outbuf, sizeof(outbuf), &outlen); in efx_mae_allocate_mport()
41 if (outlen < sizeof(outbuf)) in efx_mae_allocate_mport()
95 size_t outlen; in efx_mae_fw_lookup_mport() local
100 outbuf, sizeof(outbuf), &outlen); in efx_mae_fw_lookup_mport()
103 if (outlen < sizeof(outbuf)) in efx_mae_fw_lookup_mport()
114 size_t outlen; in efx_mae_start_counters() local
125 inbuf, sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mae_start_counters()
128 if (outlen < sizeof(outbuf)) in efx_mae_start_counters()
163 size_t outlen; in efx_mae_stop_counters() local
169 inbuf, sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mae_stop_counters()
176 for (i = 0; (i < (outlen / 4)) && (i < EFX_TC_COUNTER_TYPE_MAX); i++) { in efx_mae_stop_counters()
227 size_t outlen; in efx_mae_table_get_desc() local
236 outbuf, sizeof(outbuf), &outlen); in efx_mae_table_get_desc()
239 if (outlen < MC_CMD_TABLE_DESCRIPTOR_OUT_LEN(1)) { in efx_mae_table_get_desc()
272 outlen = min(outlen, sizeof(outbuf)); in efx_mae_table_get_desc()
277 if (outlen < MC_CMD_TABLE_DESCRIPTOR_OUT_LEN(i + 1)) { in efx_mae_table_get_desc()
400 size_t outlen, msg_max; in efx_mae_check_table_exists() local
410 msg_max, &outlen); in efx_mae_check_table_exists()
414 if (outlen < MC_CMD_TABLE_LIST_OUT_LEN(1)) in efx_mae_check_table_exists()
418 tbl_cnt = MC_CMD_TABLE_LIST_OUT_TABLE_ID_NUM(min(outlen, msg_max)); in efx_mae_check_table_exists()
473 size_t outlen; in efx_mae_get_basic_caps() local
479 sizeof(outbuf), &outlen); in efx_mae_get_basic_caps()
482 if (outlen < sizeof(outbuf)) in efx_mae_get_basic_caps()
496 size_t outlen; in efx_mae_get_rule_fields() local
507 rc = efx_mcdi_rpc(efx, cmd, NULL, 0, outbuf, sizeof(outbuf), &outlen); in efx_mae_get_rule_fields()
521 if (i * sizeof(*outbuf) + MC_CMD_MAE_GET_AR_CAPS_OUT_FIELD_FLAGS_OFST < outlen) in efx_mae_get_rule_fields()
882 size_t outlen; in efx_mae_allocate_counter() local
891 outbuf, sizeof(outbuf), &outlen); in efx_mae_allocate_counter()
895 if (outlen < sizeof(outbuf)) in efx_mae_allocate_counter()
906 size_t outlen; in efx_mae_free_counter() local
913 outbuf, sizeof(outbuf), &outlen); in efx_mae_free_counter()
917 if (outlen < sizeof(outbuf)) in efx_mae_free_counter()
948 size_t inlen, outlen; in efx_mae_allocate_encap_md() local
962 inlen, outbuf, sizeof(outbuf), &outlen); in efx_mae_allocate_encap_md()
965 if (outlen < sizeof(outbuf)) in efx_mae_allocate_encap_md()
1001 size_t outlen; in efx_mae_free_encap_md() local
1006 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mae_free_encap_md()
1009 if (outlen < sizeof(outbuf)) in efx_mae_free_encap_md()
1128 size_t outlen, stride, count; in efx_mae_enumerate_mports() local
1136 MCDI_MPORT_JOURNAL_LEN, &outlen); in efx_mae_enumerate_mports()
1139 if (outlen < MC_CMD_MAE_MPORT_READ_JOURNAL_OUT_MPORT_DESC_DATA_OFST) { in efx_mae_enumerate_mports()
1151 if (outlen < MC_CMD_MAE_MPORT_READ_JOURNAL_OUT_LEN(count * stride)) { in efx_mae_enumerate_mports()
1226 size_t outlen; in efx_mae_allocate_pedit_mac() local
1234 outbuf, sizeof(outbuf), &outlen); in efx_mae_allocate_pedit_mac()
1237 if (outlen < sizeof(outbuf)) in efx_mae_allocate_pedit_mac()
1256 size_t outlen; in efx_mae_free_pedit_mac() local
1261 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mae_free_pedit_mac()
1262 if (rc || outlen < sizeof(outbuf)) in efx_mae_free_pedit_mac()
1280 size_t outlen; in efx_mae_alloc_action_set() local
1336 outbuf, sizeof(outbuf), &outlen); in efx_mae_alloc_action_set()
1339 if (outlen < sizeof(outbuf)) in efx_mae_alloc_action_set()
1356 size_t outlen; in efx_mae_free_action_set() local
1361 outbuf, sizeof(outbuf), &outlen); in efx_mae_free_action_set()
1364 if (outlen < sizeof(outbuf)) in efx_mae_free_action_set()
1380 size_t inlen, outlen, i = 0; in efx_mae_alloc_action_set_list() local
1410 outbuf, sizeof(outbuf), &outlen); in efx_mae_alloc_action_set_list()
1413 if (outlen < sizeof(outbuf)) { in efx_mae_alloc_action_set_list()
1435 size_t outlen; in efx_mae_free_action_set_list() local
1445 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mae_free_action_set_list()
1448 if (outlen < sizeof(outbuf)) in efx_mae_free_action_set_list()
1470 size_t outlen; in efx_mae_register_encap_match() local
1526 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mae_register_encap_match()
1529 if (outlen < sizeof(outbuf)) in efx_mae_register_encap_match()
1540 size_t outlen; in efx_mae_unregister_encap_match() local
1545 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mae_unregister_encap_match()
1548 if (outlen < sizeof(outbuf)) in efx_mae_unregister_encap_match()
1686 size_t outlen; in efx_mae_insert_lhs_outer_rule() local
1720 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mae_insert_lhs_outer_rule()
1723 if (outlen < sizeof(outbuf)) in efx_mae_insert_lhs_outer_rule()
1741 size_t outlen; in efx_mae_insert_lhs_action_rule() local
1769 outbuf, sizeof(outbuf), &outlen); in efx_mae_insert_lhs_action_rule()
1772 if (outlen < sizeof(outbuf)) in efx_mae_insert_lhs_action_rule()
1791 size_t outlen; in efx_mae_remove_lhs_outer_rule() local
1796 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mae_remove_lhs_outer_rule()
1799 if (outlen < sizeof(outbuf)) in efx_mae_remove_lhs_outer_rule()
2226 size_t outlen; in efx_mae_insert_rule() local
2250 outbuf, sizeof(outbuf), &outlen); in efx_mae_insert_rule()
2253 if (outlen < sizeof(outbuf)) in efx_mae_insert_rule()
2286 size_t outlen; in efx_mae_delete_rule() local
2291 outbuf, sizeof(outbuf), &outlen); in efx_mae_delete_rule()
2294 if (outlen < sizeof(outbuf)) in efx_mae_delete_rule()