MAX_ALT
static const unsigned int generic_event_alternatives[][MAX_ALT] = {
static int find_alternative(u64 event, const unsigned int ev_alt[][MAX_ALT], int size)
for (j = 0; j < MAX_ALT && ev_alt[i][j]; ++j)
const unsigned int ev_alt[][MAX_ALT])
for (j = 0; j < MAX_ALT; ++j) {
const unsigned int ev_alt[][MAX_ALT]);
static const unsigned int event_alternatives[][MAX_ALT] = {
for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j)
for (j = 0; j < MAX_ALT; ++j) {
.max_alternatives = MAX_ALT,
static const unsigned int power10_event_alternatives[][MAX_ALT] = {
static const unsigned int event_alternatives[][MAX_ALT] = {
for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j)
for (j = 0; j < MAX_ALT; ++j) {
.max_alternatives = MAX_ALT,
static const unsigned int event_alternatives[][MAX_ALT] = {
for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j)
for (j = 0; j < MAX_ALT; ++j) {
.max_alternatives = MAX_ALT,
static const unsigned int event_alternatives[][MAX_ALT] = {
for (j = 0; j < MAX_ALT; ++j) {
.max_alternatives = MAX_ALT,
static const unsigned int event_alternatives[][MAX_ALT] = {
for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j)
for (j = 0; j < MAX_ALT; ++j) {
.max_alternatives = MAX_ALT + 1,
.max_alternatives = MAX_ALT + 1,
static const unsigned int event_alternatives[][MAX_ALT] = {
static const unsigned int power9_event_alternatives[][MAX_ALT] = {
if (nbalt > MAX_ALT)
nbalt = MAX_ALT; /* fixme: should warn */
struct ep_tb_s ep_tb[MAX_ALT];