Lines Matching refs:dfa

403 	struct aa_dfa *dfa = NULL;  in unpack_dfa()  local
417 dfa = aa_dfa_unpack(blob + pad, size - pad, flags); in unpack_dfa()
419 if (IS_ERR(dfa)) in unpack_dfa()
420 return dfa; in unpack_dfa()
424 return dfa; in unpack_dfa()
733 profile->policy.dfa = unpack_dfa(e); in unpack_profile()
734 if (IS_ERR(profile->policy.dfa)) { in unpack_profile()
735 error = PTR_ERR(profile->policy.dfa); in unpack_profile()
736 profile->policy.dfa = NULL; in unpack_profile()
738 } else if (!profile->policy.dfa) { in unpack_profile()
748 aa_dfa_next(profile->policy.dfa, in unpack_profile()
755 profile->policy.dfa = aa_get_dfa(nulldfa); in unpack_profile()
758 profile->file.dfa = unpack_dfa(e); in unpack_profile()
759 if (IS_ERR(profile->file.dfa)) { in unpack_profile()
760 error = PTR_ERR(profile->file.dfa); in unpack_profile()
761 profile->file.dfa = NULL; in unpack_profile()
764 } else if (profile->file.dfa) { in unpack_profile()
768 } else if (profile->policy.dfa && in unpack_profile()
770 profile->file.dfa = aa_get_dfa(profile->policy.dfa); in unpack_profile()
773 profile->file.dfa = aa_get_dfa(nulldfa); in unpack_profile()
903 static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size) in verify_dfa_xindex() argument
906 for (i = 0; i < dfa->tables[YYTD_ID_ACCEPT]->td_lolen; i++) { in verify_dfa_xindex()
907 if (!verify_xindex(dfa_user_xindex(dfa, i), table_size)) in verify_dfa_xindex()
909 if (!verify_xindex(dfa_other_xindex(dfa, i), table_size)) in verify_dfa_xindex()
923 if (profile->file.dfa && in verify_profile()
924 !verify_dfa_xindex(profile->file.dfa, in verify_profile()