Home
last modified time | relevance | path

Searched refs:tables (Results 1 – 3 of 3) sorted by relevance

/security/apparmor/
Dmatch.c137 if (!(dfa->tables[YYTD_ID_DEF] && in verify_dfa()
138 dfa->tables[YYTD_ID_BASE] && in verify_dfa()
139 dfa->tables[YYTD_ID_NXT] && dfa->tables[YYTD_ID_CHK])) in verify_dfa()
143 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in verify_dfa()
145 if (!dfa->tables[YYTD_ID_ACCEPT]) in verify_dfa()
147 if (state_count != dfa->tables[YYTD_ID_ACCEPT]->td_lolen) in verify_dfa()
151 if (!dfa->tables[YYTD_ID_ACCEPT2]) in verify_dfa()
153 if (state_count != dfa->tables[YYTD_ID_ACCEPT2]->td_lolen) in verify_dfa()
156 if (state_count != dfa->tables[YYTD_ID_DEF]->td_lolen) in verify_dfa()
160 trans_count = dfa->tables[YYTD_ID_NXT]->td_lolen; in verify_dfa()
[all …]
Dpolicy_unpack.c390 for (i = 0; i < dfa->tables[YYTD_ID_ACCEPT]->td_lolen; i++) { in verify_accept()
896 for (i = 0; i < dfa->tables[YYTD_ID_ACCEPT]->td_lolen; i++) { in verify_dfa_xindex()
/security/apparmor/include/
Dmatch.h89 #define DEFAULT_TABLE(DFA) ((u16 *)((DFA)->tables[YYTD_ID_DEF]->td_data))
90 #define BASE_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_BASE]->td_data))
91 #define NEXT_TABLE(DFA) ((u16 *)((DFA)->tables[YYTD_ID_NXT]->td_data))
92 #define CHECK_TABLE(DFA) ((u16 *)((DFA)->tables[YYTD_ID_CHK]->td_data))
93 #define EQUIV_TABLE(DFA) ((u8 *)((DFA)->tables[YYTD_ID_EC]->td_data))
94 #define ACCEPT_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_ACCEPT]->td_data))
95 #define ACCEPT_TABLE2(DFA) ((u32 *)((DFA)->tables[YYTD_ID_ACCEPT2]->td_data))
100 struct table_header *tables[YYTD_ID_TSIZE]; member