Home
last modified time | relevance | path

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

/Linux-v4.19/security/apparmor/
Dmatch.c198 static int verify_dfa(struct aa_dfa *dfa) in verify_dfa()
216 if (NEXT_TABLE(dfa)[i] >= state_count) in verify_dfa() local
218 if (CHECK_TABLE(dfa)[i] >= state_count) in verify_dfa() local
235 BASE_TABLE(dfa)[j] |= MARK_DIFF_ENCODE; in verify_dfa() local
250 static void dfa_free(struct aa_dfa *dfa) in dfa_free()
269 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count); in aa_dfa_free_kref() local
291 struct aa_dfa *dfa = kzalloc(sizeof(struct aa_dfa), GFP_KERNEL); in aa_dfa_unpack() local
404 unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match_len()
444 unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match()
483 unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state, in aa_dfa_next()
[all …]
Dmount.c196 static unsigned int match_mnt_flags(struct aa_dfa *dfa, unsigned int state, in match_mnt_flags()
216 static struct aa_perms compute_mnt_perms(struct aa_dfa *dfa, in compute_mnt_perms()
242 static int do_match_mnt(struct aa_dfa *dfa, unsigned int start, in do_match_mnt()
Dfile.c228 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms()
270 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start, in aa_str_perms()
Dpolicy_unpack.c403 struct aa_dfa *dfa = NULL; in unpack_dfa() local
903 static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size) in verify_dfa_xindex()
Dlib.c327 void aa_compute_perms(struct aa_dfa *dfa, unsigned int state, in aa_compute_perms()
Dapparmorfs.c607 struct aa_dfa *dfa; in profile_query_cb() local
/Linux-v4.19/security/apparmor/include/
Dfile.h144 #define dfa_user_allow(dfa, state) (((ACCEPT_TABLE(dfa)[state]) & 0x7f) | \ argument
146 #define dfa_user_audit(dfa, state) ((ACCEPT_TABLE2(dfa)[state]) & 0x7f) argument
147 #define dfa_user_quiet(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 7) & 0x7f) argument
148 #define dfa_user_xindex(dfa, state) \ argument
151 #define dfa_other_allow(dfa, state) ((((ACCEPT_TABLE(dfa)[state]) >> 14) & \ argument
154 #define dfa_other_audit(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 14) & 0x7f) argument
155 #define dfa_other_quiet(dfa, state) \ argument
157 #define dfa_other_xindex(dfa, state) \ argument
178 struct aa_dfa *dfa; member
Dmatch.h167 static inline struct aa_dfa *aa_get_dfa(struct aa_dfa *dfa) in aa_get_dfa()
181 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.h79 struct aa_dfa *dfa; member
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-ciu2-defs.h852 uint64_t dfa:1; member
910 uint64_t dfa:1; member
967 uint64_t dfa:1; member
1025 uint64_t dfa:1; member
1082 uint64_t dfa:1; member
1140 uint64_t dfa:1; member
1839 uint64_t dfa:1; member
1897 uint64_t dfa:1; member
1954 uint64_t dfa:1; member
2012 uint64_t dfa:1; member
[all …]
Dcvmx-npi-defs.h2457 uint64_t dfa:1; member
2526 uint64_t dfa:1; member
2598 uint64_t dfa:1; member
2666 uint64_t dfa:1; member
Dcvmx-npei-defs.h3983 uint64_t dfa:1; member