Lines Matching refs:aa_perms
100 static void compute_fperms_allow(struct aa_perms *perms, struct aa_dfa *dfa, in compute_fperms_allow()
112 static struct aa_perms compute_fperms_user(struct aa_dfa *dfa, in compute_fperms_user()
115 struct aa_perms perms = { }; in compute_fperms_user()
127 static struct aa_perms compute_fperms_other(struct aa_dfa *dfa, in compute_fperms_other()
130 struct aa_perms perms = { }; in compute_fperms_other()
149 static struct aa_perms *compute_fperms(struct aa_dfa *dfa, in compute_fperms()
154 struct aa_perms *table; in compute_fperms()
160 table = kvcalloc(state_count * 2, sizeof(struct aa_perms), GFP_KERNEL); in compute_fperms()
173 static struct aa_perms *compute_xmatch_perms(struct aa_dfa *xmatch, in compute_xmatch_perms()
176 struct aa_perms *perms; in compute_xmatch_perms()
184 perms = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL); in compute_xmatch_perms()
209 static struct aa_perms compute_perms_entry(struct aa_dfa *dfa, in compute_perms_entry()
213 struct aa_perms perms = { }; in compute_perms_entry()
248 static struct aa_perms *compute_perms(struct aa_dfa *dfa, u32 version, in compute_perms()
253 struct aa_perms *table; in compute_perms()
259 table = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL); in compute_perms()