Home
last modified time | relevance | path

Searched defs:dfa (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/security/apparmor/
Dmatch.c197 static int verify_dfa(struct aa_dfa *dfa) in verify_dfa()
237 if (NEXT_TABLE(dfa)[i] >= state_count) in verify_dfa() local
239 if (CHECK_TABLE(dfa)[i] >= state_count) in verify_dfa() local
256 BASE_TABLE(dfa)[j] |= MARK_DIFF_ENCODE; in verify_dfa() local
271 static void dfa_free(struct aa_dfa *dfa) in dfa_free()
290 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count); in aa_dfa_free_kref() local
312 struct aa_dfa *dfa = kzalloc(sizeof(struct aa_dfa), GFP_KERNEL); in aa_dfa_unpack() local
439 unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match_len()
479 unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match()
518 unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state, in aa_dfa_next()
[all …]
Dmount.c193 static unsigned int match_mnt_flags(struct aa_dfa *dfa, unsigned int state, in match_mnt_flags()
213 static struct aa_perms compute_mnt_perms(struct aa_dfa *dfa, in compute_mnt_perms()
239 static int do_match_mnt(struct aa_dfa *dfa, unsigned int start, in do_match_mnt()
Dfile.c213 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms()
255 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start, in aa_str_perms()
Dpolicy_unpack.c446 struct aa_dfa *dfa = NULL; in unpack_dfa() local
1002 static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size) in verify_dfa_xindex()
Dlib.c325 void aa_compute_perms(struct aa_dfa *dfa, unsigned int state, in aa_compute_perms()
Dapparmorfs.c612 struct aa_dfa *dfa; in profile_query_cb() local
/Linux-v5.10/security/apparmor/include/
Dfile.h143 #define dfa_user_allow(dfa, state) (((ACCEPT_TABLE(dfa)[state]) & 0x7f) | \ argument
145 #define dfa_user_audit(dfa, state) ((ACCEPT_TABLE2(dfa)[state]) & 0x7f) argument
146 #define dfa_user_quiet(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 7) & 0x7f) argument
147 #define dfa_user_xindex(dfa, state) \ argument
150 #define dfa_other_allow(dfa, state) ((((ACCEPT_TABLE(dfa)[state]) >> 14) & \ argument
153 #define dfa_other_audit(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 14) & 0x7f) argument
154 #define dfa_other_quiet(dfa, state) \ argument
156 #define dfa_other_xindex(dfa, state) \ argument
177 struct aa_dfa *dfa; member
Dmatch.h169 static inline struct aa_dfa *aa_get_dfa(struct aa_dfa *dfa) in aa_get_dfa()
183 static inline void aa_put_dfa(struct aa_dfa *dfa) in aa_put_dfa()
Dlib.h80 static inline unsigned int aa_dfa_null_transition(struct aa_dfa *dfa, in aa_dfa_null_transition()
Dpolicy.h75 struct aa_dfa *dfa; member
/Linux-v5.10/arch/mips/include/asm/octeon/
Dcvmx-npi-defs.h2240 uint64_t dfa:1; member
2309 uint64_t dfa:1; member
2380 uint64_t dfa:1; member
2447 uint64_t dfa:1; member
Dcvmx-npei-defs.h3732 uint64_t dfa:1; member
/Linux-v5.10/drivers/staging/octeon/
Docteon-stubs.h1031 uint64_t dfa:1; member
1066 uint64_t dfa:1; member
1101 uint64_t dfa:1; member
1132 uint64_t dfa:1; member