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()
239 static int do_match_mnt(struct aa_dfa *dfa, unsigned int start, in do_match_mnt() argument
246 AA_BUG(!dfa); in do_match_mnt()
249 state = aa_dfa_match(dfa, start, mntpnt); in do_match_mnt()
250 state = aa_dfa_null_transition(dfa, state); in do_match_mnt()
255 state = aa_dfa_match(dfa, state, devname); in do_match_mnt()
256 state = aa_dfa_null_transition(dfa, state); in do_match_mnt()
261 state = aa_dfa_match(dfa, state, type); in do_match_mnt()
262 state = aa_dfa_null_transition(dfa, state); in do_match_mnt()
266 state = match_mnt_flags(dfa, state, flags); in do_match_mnt()
269 *perms = compute_mnt_perms(dfa, state); in do_match_mnt()
275 state = aa_dfa_null_transition(dfa, state); in do_match_mnt()
279 state = aa_dfa_match(dfa, state, data); in do_match_mnt()
282 *perms = compute_mnt_perms(dfa, state); in do_match_mnt()
344 pos = do_match_mnt(profile->policy.dfa, in match_mnt_path_str()
572 state = aa_dfa_match(profile->policy.dfa, in profile_umount()
575 perms = compute_mnt_perms(profile->policy.dfa, state); in profile_umount()
638 state = aa_dfa_match(profile->policy.dfa, in build_pivotroot()
641 state = aa_dfa_null_transition(profile->policy.dfa, state); in build_pivotroot()
642 state = aa_dfa_match(profile->policy.dfa, state, old_name); in build_pivotroot()
643 perms = compute_mnt_perms(profile->policy.dfa, state); in build_pivotroot()