Home
last modified time | relevance | path

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

/linux-3.4.99/security/apparmor/
Dmatch.c98 static int verify_dfa(struct aa_dfa *dfa, int flags) in verify_dfa()
138 if (DEFAULT_TABLE(dfa)[i] >= state_count) in verify_dfa() local
141 if (BASE_TABLE(dfa)[i] + 255 >= trans_count) { in verify_dfa() local
149 if (NEXT_TABLE(dfa)[i] >= state_count) in verify_dfa() local
151 if (CHECK_TABLE(dfa)[i] >= state_count) in verify_dfa() local
167 static void dfa_free(struct aa_dfa *dfa) in dfa_free()
186 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count); in aa_dfa_free_kref() local
208 struct aa_dfa *dfa = kzalloc(sizeof(struct aa_dfa), GFP_KERNEL); in aa_dfa_unpack() local
299 unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match_len()
349 unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match()
[all …]
Dfile.c192 static struct file_perms compute_perms(struct aa_dfa *dfa, unsigned int state, in compute_perms()
236 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start, in aa_str_perms()
Dpolicy_unpack.c300 static bool verify_accept(struct aa_dfa *dfa, int flags) in verify_accept()
327 struct aa_dfa *dfa = NULL; in unpack_dfa() local
661 static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size) in verify_dfa_xindex()
/linux-3.4.99/security/apparmor/include/
Dfile.h131 #define dfa_user_allow(dfa, state) (((ACCEPT_TABLE(dfa)[state]) & 0x7f) | \ argument
133 #define dfa_user_audit(dfa, state) ((ACCEPT_TABLE2(dfa)[state]) & 0x7f) argument
134 #define dfa_user_quiet(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 7) & 0x7f) argument
135 #define dfa_user_xindex(dfa, state) \ argument
138 #define dfa_other_allow(dfa, state) ((((ACCEPT_TABLE(dfa)[state]) >> 14) & \ argument
141 #define dfa_other_audit(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 14) & 0x7f) argument
142 #define dfa_other_quiet(dfa, state) \ argument
144 #define dfa_other_xindex(dfa, state) \ argument
164 struct aa_dfa *dfa; member
Dapparmor.h93 static inline unsigned int aa_dfa_null_transition(struct aa_dfa *dfa, in aa_dfa_null_transition()
Dmatch.h130 static inline void aa_put_dfa(struct aa_dfa *dfa) in aa_put_dfa()
Dpolicy.h138 struct aa_dfa *dfa; member
/linux-3.4.99/arch/mips/include/asm/octeon/
Dcvmx-ciu-defs.h136 uint64_t dfa:1; member
544 uint64_t dfa:1; member
618 uint64_t dfa:1; member
658 uint64_t dfa:1; member
711 uint64_t dfa:1; member
751 uint64_t dfa:1; member
804 uint64_t dfa:1; member
1104 uint64_t dfa:1; member
1171 uint64_t dfa:1; member
1211 uint64_t dfa:1; member
[all …]
Dcvmx-npi-defs.h1470 uint64_t dfa:1; member
1505 uint64_t dfa:1; member
1541 uint64_t dfa:1; member
1573 uint64_t dfa:1; member
Dcvmx-npei-defs.h2334 uint64_t dfa:1; member