• Home
  • Raw
  • Download

Lines Matching full:tables

127 		/* if table was vmalloced make sure the page tables are synced  in unpack_table()
142 * verify_table_headers - verify that the tables headers are as expected
143 * @tables - array of dfa tables to check (NOT NULL)
151 static int verify_table_headers(struct table_header **tables, int flags) in verify_table_headers() argument
156 /* check that required tables exist */ in verify_table_headers()
157 if (!(tables[YYTD_ID_DEF] && tables[YYTD_ID_BASE] && in verify_table_headers()
158 tables[YYTD_ID_NXT] && tables[YYTD_ID_CHK])) in verify_table_headers()
162 state_count = tables[YYTD_ID_BASE]->td_lolen; in verify_table_headers()
164 if (!tables[YYTD_ID_ACCEPT]) in verify_table_headers()
166 if (state_count != tables[YYTD_ID_ACCEPT]->td_lolen) in verify_table_headers()
170 if (!tables[YYTD_ID_ACCEPT2]) in verify_table_headers()
172 if (state_count != tables[YYTD_ID_ACCEPT2]->td_lolen) in verify_table_headers()
175 if (state_count != tables[YYTD_ID_DEF]->td_lolen) in verify_table_headers()
179 trans_count = tables[YYTD_ID_NXT]->td_lolen; in verify_table_headers()
180 if (trans_count != tables[YYTD_ID_CHK]->td_lolen) in verify_table_headers()
184 if (tables[YYTD_ID_EC] && tables[YYTD_ID_EC]->td_lolen != 256) in verify_table_headers()
193 * verify_dfa - verify that transitions and states in the tables are in bounds.
206 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in verify_dfa()
207 trans_count = dfa->tables[YYTD_ID_NXT]->td_lolen; in verify_dfa()
227 /* Now that all the other tables are verified, verify diffencoding */ in verify_dfa()
260 for (i = 0; i < ARRAY_SIZE(dfa->tables); i++) { in dfa_free()
261 kvfree(dfa->tables[i]); in dfa_free()
262 dfa->tables[i] = NULL; in dfa_free()
279 * aa_dfa_unpack - unpack the binary tables of a serialized dfa
282 * @flags: flags controlling what type of accept tables are acceptable
354 if (dfa->tables[table->td_id]) in aa_dfa_unpack()
356 dfa->tables[table->td_id] = table; in aa_dfa_unpack()
361 error = verify_table_headers(dfa->tables, flags); in aa_dfa_unpack()
422 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_match_len()
462 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_match()
497 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_next()
534 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_match_until()
596 if (dfa->tables[YYTD_ID_EC]) { in aa_dfa_matchn_until()
676 if (dfa->tables[YYTD_ID_EC]) { in leftmatch_fb()