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()
150 static struct aa_perms *compute_fperms(struct aa_dfa *dfa, in compute_fperms()
155 struct aa_perms *table; in compute_fperms()
161 table = kvcalloc(state_count * 2, sizeof(struct aa_perms), GFP_KERNEL); in compute_fperms()
174 static struct aa_perms *compute_xmatch_perms(struct aa_dfa *xmatch, in compute_xmatch_perms()
177 struct aa_perms *perms; in compute_xmatch_perms()
185 perms = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL); in compute_xmatch_perms()
210 static struct aa_perms compute_perms_entry(struct aa_dfa *dfa, in compute_perms_entry()
214 struct aa_perms perms = { }; in compute_perms_entry()
249 static struct aa_perms *compute_perms(struct aa_dfa *dfa, u32 version, in compute_perms()
254 struct aa_perms *table; in compute_perms()
260 table = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL); in compute_perms()