Home
last modified time | relevance | path

Searched refs:aa_dfa (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/security/apparmor/include/
Dmatch.h96 struct aa_dfa { struct
119 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags); argument
120 unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start,
122 unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start,
124 unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state,
135 static inline void aa_put_dfa(struct aa_dfa *dfa) in aa_put_dfa()
Dfile.h164 struct aa_dfa *dfa;
170 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start,
Dpolicy.h149 struct aa_dfa *dfa;
209 struct aa_dfa *xmatch;
Dapparmor.h108 static inline unsigned int aa_dfa_null_transition(struct aa_dfa *dfa, in aa_dfa_null_transition()
/linux-4.4.14/security/apparmor/
Dmatch.c100 static int verify_dfa(struct aa_dfa *dfa, int flags) in verify_dfa()
168 static void dfa_free(struct aa_dfa *dfa) in dfa_free()
187 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count); in aa_dfa_free_kref()
203 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags) in aa_dfa_unpack()
209 struct aa_dfa *dfa = kzalloc(sizeof(struct aa_dfa), GFP_KERNEL); in aa_dfa_unpack()
300 unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match_len()
350 unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match()
398 unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state, in aa_dfa_next()
Dpolicy_unpack.c303 static bool verify_accept(struct aa_dfa *dfa, int flags) in verify_accept()
326 static struct aa_dfa *unpack_dfa(struct aa_ext *e) in unpack_dfa()
330 struct aa_dfa *dfa = NULL; in unpack_dfa()
685 static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size) in verify_dfa_xindex()
Dfile.c194 static struct file_perms compute_perms(struct aa_dfa *dfa, unsigned int state, in compute_perms()
238 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start, in aa_str_perms()