Lines Matching refs:tables
147 static int verify_table_headers(struct table_header **tables, int flags) in verify_table_headers() argument
153 if (!(tables[YYTD_ID_DEF] && tables[YYTD_ID_BASE] && in verify_table_headers()
154 tables[YYTD_ID_NXT] && tables[YYTD_ID_CHK])) in verify_table_headers()
158 state_count = tables[YYTD_ID_BASE]->td_lolen; in verify_table_headers()
160 if (!tables[YYTD_ID_ACCEPT]) in verify_table_headers()
162 if (state_count != tables[YYTD_ID_ACCEPT]->td_lolen) in verify_table_headers()
166 if (!tables[YYTD_ID_ACCEPT2]) in verify_table_headers()
168 if (state_count != tables[YYTD_ID_ACCEPT2]->td_lolen) in verify_table_headers()
171 if (state_count != tables[YYTD_ID_DEF]->td_lolen) in verify_table_headers()
175 trans_count = tables[YYTD_ID_NXT]->td_lolen; in verify_table_headers()
176 if (trans_count != tables[YYTD_ID_CHK]->td_lolen) in verify_table_headers()
180 if (tables[YYTD_ID_EC] && tables[YYTD_ID_EC]->td_lolen != 256) in verify_table_headers()
202 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in verify_dfa()
203 trans_count = dfa->tables[YYTD_ID_NXT]->td_lolen; in verify_dfa()
276 for (i = 0; i < ARRAY_SIZE(dfa->tables); i++) { in dfa_free()
277 kvfree(dfa->tables[i]); in dfa_free()
278 dfa->tables[i] = NULL; in dfa_free()
384 if (dfa->tables[table->td_id]) in aa_dfa_unpack()
386 dfa->tables[table->td_id] = table; in aa_dfa_unpack()
391 error = verify_table_headers(dfa->tables, flags); in aa_dfa_unpack()
452 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_match_len()
492 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_match()
527 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_next()
581 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_match_until()
643 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_matchn_until()
723 if (dfa->tables[YYTD_ID_EC]) { in leftmatch_fb()