Lines Matching refs:dfa
193 static unsigned int match_mnt_flags(struct aa_dfa *dfa, unsigned int state, in match_mnt_flags() argument
200 state = aa_dfa_next(dfa, state, i + 1); in match_mnt_flags()
213 static struct aa_perms compute_mnt_perms(struct aa_dfa *dfa, in compute_mnt_perms() argument
217 .allow = dfa_user_allow(dfa, state), in compute_mnt_perms()
218 .audit = dfa_user_audit(dfa, state), in compute_mnt_perms()
219 .quiet = dfa_user_quiet(dfa, state), in compute_mnt_perms()
220 .xindex = dfa_user_xindex(dfa, state), in compute_mnt_perms()
240 static int do_match_mnt(struct aa_dfa *dfa, unsigned int start, in do_match_mnt() argument
247 AA_BUG(!dfa); in do_match_mnt()
250 state = aa_dfa_match(dfa, start, mntpnt); in do_match_mnt()
251 state = aa_dfa_null_transition(dfa, state); in do_match_mnt()
256 state = aa_dfa_match(dfa, state, devname); in do_match_mnt()
257 state = aa_dfa_null_transition(dfa, state); in do_match_mnt()
262 state = aa_dfa_match(dfa, state, type); in do_match_mnt()
263 state = aa_dfa_null_transition(dfa, state); in do_match_mnt()
267 state = match_mnt_flags(dfa, state, flags); in do_match_mnt()
270 *perms = compute_mnt_perms(dfa, state); in do_match_mnt()
276 state = aa_dfa_null_transition(dfa, state); in do_match_mnt()
280 state = aa_dfa_match(dfa, state, data); in do_match_mnt()
283 *perms = compute_mnt_perms(dfa, state); in do_match_mnt()
345 pos = do_match_mnt(profile->policy.dfa, in match_mnt_path_str()
602 state = aa_dfa_match(profile->policy.dfa, in profile_umount()
605 perms = compute_mnt_perms(profile->policy.dfa, state); in profile_umount()
671 state = aa_dfa_match(profile->policy.dfa, in build_pivotroot()
674 state = aa_dfa_null_transition(profile->policy.dfa, state); in build_pivotroot()
675 state = aa_dfa_match(profile->policy.dfa, state, old_name); in build_pivotroot()
676 perms = compute_mnt_perms(profile->policy.dfa, state); in build_pivotroot()