Searched refs:ARRAY_LEN (Results 1 – 1 of 1) sorted by relevance
449 #define ARRAY_LEN(arr) ((int)((int)sizeof(arr) / (int)sizeof(arr[0]))) macro613 for (j = 0; j < ARRAY_LEN(hinic_tx_queue_stats); j++, i++) { in get_drv_queue_stats()626 for (j = 0; j < ARRAY_LEN(hinic_rx_queue_stats); j++, i++) { in get_drv_queue_stats()650 for (j = 0; j < ARRAY_LEN(hinic_function_stats); j++, i++) { in hinic_get_ethtool_stats()659 ARRAY_LEN(hinic_port_stats) * sizeof(*data)); in hinic_get_ethtool_stats()660 i += ARRAY_LEN(hinic_port_stats); in hinic_get_ethtool_stats()669 for (j = 0; j < ARRAY_LEN(hinic_port_stats); j++, i++) { in hinic_get_ethtool_stats()689 count = ARRAY_LEN(hinic_function_stats) + in hinic_get_sset_count()690 (ARRAY_LEN(hinic_tx_queue_stats) + in hinic_get_sset_count()691 ARRAY_LEN(hinic_rx_queue_stats)) * q_num; in hinic_get_sset_count()[all …]