Lines Matching refs:state
1256 aa_state_t state) in match_component() argument
1261 return aa_dfa_match(rules->policy->dfa, state, tp->base.hname); in match_component()
1265 state = aa_dfa_match_len(rules->policy->dfa, state, ":", 1); in match_component()
1266 state = aa_dfa_match(rules->policy->dfa, state, ns_name); in match_component()
1267 state = aa_dfa_match_len(rules->policy->dfa, state, ":", 1); in match_component()
1268 return aa_dfa_match(rules->policy->dfa, state, tp->base.hname); in match_component()
1290 aa_state_t state, bool subns, u32 request, in label_compound_match() argument
1300 state = match_component(profile, rules, tp, state); in label_compound_match()
1301 if (!state) in label_compound_match()
1314 state = aa_dfa_match(rules->policy->dfa, state, "//&"); in label_compound_match()
1315 state = match_component(profile, rules, tp, state); in label_compound_match()
1316 if (!state) in label_compound_match()
1319 *perms = *aa_lookup_perms(rules->policy, state); in label_compound_match()
1328 return state; in label_compound_match()
1356 aa_state_t state = 0; in label_components_match() local
1362 state = match_component(profile, rules, tp, start); in label_components_match()
1363 if (!state) in label_components_match()
1372 tmp = *aa_lookup_perms(rules->policy, state); in label_components_match()
1378 state = match_component(profile, rules, tp, start); in label_components_match()
1379 if (!state) in label_components_match()
1381 tmp = *aa_lookup_perms(rules->policy, state); in label_components_match()
1409 struct aa_label *label, aa_state_t state, bool subns, in aa_label_match() argument
1412 int error = label_compound_match(profile, rules, label, state, subns, in aa_label_match()
1418 return label_components_match(profile, rules, label, state, subns, in aa_label_match()