Lines Matching refs:state_count
154 unsigned int state_count; in compute_fperms() local
159 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in compute_fperms()
161 table = kvcalloc(state_count * 2, sizeof(struct aa_perms), GFP_KERNEL); in compute_fperms()
164 *size = state_count * 2; in compute_fperms()
166 for (state = 0; state < state_count; state++) { in compute_fperms()
179 int state_count; in compute_xmatch_perms() local
183 state_count = xmatch->tables[YYTD_ID_BASE]->td_lolen; in compute_xmatch_perms()
185 perms = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL); in compute_xmatch_perms()
188 *size = state_count; in compute_xmatch_perms()
191 for (state = 1; state < state_count; state++) in compute_xmatch_perms()
253 unsigned int state_count; in compute_perms() local
258 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in compute_perms()
260 table = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL); in compute_perms()
263 *size = state_count; in compute_perms()
266 for (state = 1; state < state_count; state++) in compute_perms()
285 unsigned int state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in remap_dfa_accept() local
289 for (state = 0; state < state_count; state++) in remap_dfa_accept()