Lines Matching defs:state_count
153 unsigned int state_count;
158 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen;
159 /* DFAs are restricted from having a state_count of less than 2 */
160 table = kvcalloc(state_count * 2, sizeof(struct aa_perms), GFP_KERNEL);
163 *size = state_count * 2;
165 for (state = 0; state < state_count; state++) {
178 int state_count;
182 state_count = xmatch->tables[YYTD_ID_BASE]->td_lolen;
183 /* DFAs are restricted from having a state_count of less than 2 */
184 perms = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL);
187 *size = state_count;
190 for (state = 1; state < state_count; state++)
252 unsigned int state_count;
257 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen;
258 /* DFAs are restricted from having a state_count of less than 2 */
259 table = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL);
262 *size = state_count;
265 for (state = 1; state < state_count; state++)
284 unsigned int state_count = dfa->tables[YYTD_ID_BASE]->td_lolen;
288 for (state = 0; state < state_count; state++)