Lines Matching refs:state_count
153 unsigned int state_count; in compute_fperms() local
158 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in compute_fperms()
160 table = kvcalloc(state_count * 2, sizeof(struct aa_perms), GFP_KERNEL); in compute_fperms()
163 *size = state_count * 2; in compute_fperms()
165 for (state = 0; state < state_count; state++) { in compute_fperms()
178 int state_count; in compute_xmatch_perms() local
182 state_count = xmatch->tables[YYTD_ID_BASE]->td_lolen; in compute_xmatch_perms()
184 perms = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL); in compute_xmatch_perms()
187 *size = state_count; in compute_xmatch_perms()
190 for (state = 1; state < state_count; state++) in compute_xmatch_perms()
252 unsigned int state_count; in compute_perms() local
257 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in compute_perms()
259 table = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL); in compute_perms()
262 *size = state_count; in compute_perms()
265 for (state = 1; state < state_count; state++) in compute_perms()
284 unsigned int state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in remap_dfa_accept() local
288 for (state = 0; state < state_count; state++) in remap_dfa_accept()