Lines Matching refs:state
226 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms() argument
243 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
244 perms.audit = map_old_perms(dfa_user_audit(dfa, state)); in aa_compute_fperms()
245 perms.quiet = map_old_perms(dfa_user_quiet(dfa, state)); in aa_compute_fperms()
246 perms.xindex = dfa_user_xindex(dfa, state); in aa_compute_fperms()
248 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
249 perms.audit = map_old_perms(dfa_other_audit(dfa, state)); in aa_compute_fperms()
250 perms.quiet = map_old_perms(dfa_other_quiet(dfa, state)); in aa_compute_fperms()
251 perms.xindex = dfa_other_xindex(dfa, state); in aa_compute_fperms()
256 if (ACCEPT_TABLE(dfa)[state] & 0x80000000) in aa_compute_fperms()
258 if (ACCEPT_TABLE(dfa)[state] & 0x40000000) in aa_compute_fperms()
278 unsigned int state; in aa_str_perms() local
279 state = aa_dfa_match(dfa, start, name); in aa_str_perms()
280 *perms = aa_compute_fperms(dfa, state, cond); in aa_str_perms()
282 return state; in aa_str_perms()
382 unsigned int state; in profile_path_link() local
398 state = aa_str_perms(profile->file.dfa, profile->file.start, lname, in profile_path_link()
405 state = aa_dfa_null_transition(profile->file.dfa, state); in profile_path_link()
406 aa_str_perms(profile->file.dfa, state, tname, cond, &perms); in profile_path_link()