Lines Matching refs:state
102 bool stack, unsigned int state) in match_component() argument
107 state = aa_dfa_match(profile->file.dfa, state, "&"); in match_component()
109 return aa_dfa_match(profile->file.dfa, state, tp->base.hname); in match_component()
113 state = aa_dfa_match_len(profile->file.dfa, state, ":", 1); in match_component()
114 state = aa_dfa_match(profile->file.dfa, state, ns_name); in match_component()
115 state = aa_dfa_match_len(profile->file.dfa, state, ":", 1); in match_component()
116 return aa_dfa_match(profile->file.dfa, state, tp->base.hname); in match_component()
137 unsigned int state, bool subns, u32 request, in label_compound_match() argument
148 state = match_component(profile, tp, stack, state); in label_compound_match()
149 if (!state) in label_compound_match()
162 state = aa_dfa_match(profile->file.dfa, state, "//&"); in label_compound_match()
163 state = match_component(profile, tp, false, state); in label_compound_match()
164 if (!state) in label_compound_match()
167 *perms = aa_compute_fperms(profile->file.dfa, state, &cond); in label_compound_match()
204 unsigned int state = 0; in label_components_match() local
210 state = match_component(profile, tp, stack, start); in label_components_match()
211 if (!state) in label_components_match()
220 tmp = aa_compute_fperms(profile->file.dfa, state, &cond); in label_components_match()
226 state = match_component(profile, tp, stack, start); in label_components_match()
227 if (!state) in label_components_match()
229 tmp = aa_compute_fperms(profile->file.dfa, state, &cond); in label_components_match()
257 bool stack, unsigned int state, bool subns, u32 request, in label_match() argument
263 error = label_compound_match(profile, label, stack, state, subns, in label_match()
269 return label_components_match(profile, label, stack, state, subns, in label_match()
328 unsigned int state = aa_dfa_match(profile->xmatch, in __attach_match() local
330 u32 perm = dfa_user_allow(profile->xmatch, state); in __attach_match()
495 unsigned int state = profile->file.start; in profile_transition() local
529 state = aa_str_perms(profile->file.dfa, state, name, cond, &perms); in profile_transition()
605 unsigned int state = profile->file.start; in profile_onexec() local
638 state = aa_str_perms(profile->file.dfa, state, xname, cond, &perms); in profile_onexec()
647 state = aa_dfa_null_transition(profile->file.dfa, state); in profile_onexec()
649 state, &perms); in profile_onexec()