Home
last modified time | relevance | path

Searched refs:state_count (Results 1 – 2 of 2) sorted by relevance

/security/apparmor/
A Dpolicy_compat.c154 unsigned int state_count; in compute_fperms() local
159 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; 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
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
263 *size = state_count; in compute_perms()
266 for (state = 1; state < state_count; state++) in compute_perms()
[all …]
A Dmatch.c105 size_t state_count, trans_count; in verify_table_headers() local
114 state_count = tables[YYTD_ID_BASE]->td_lolen; in verify_table_headers()
127 if (state_count != tables[YYTD_ID_DEF]->td_lolen) in verify_table_headers()
155 size_t i, state_count, trans_count; in verify_dfa() local
158 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in verify_dfa()
160 if (state_count == 0) in verify_dfa()
162 for (i = 0; i < state_count; i++) { in verify_dfa()
164 (DEFAULT_TABLE(dfa)[i] >= state_count)) in verify_dfa()
193 if (NEXT_TABLE(dfa)[i] >= state_count) in verify_dfa()
195 if (CHECK_TABLE(dfa)[i] >= state_count) in verify_dfa()
[all …]

Completed in 8 milliseconds