Lines Matching defs:gfp
221 struct aa_ruleset *aa_alloc_ruleset(gfp_t gfp)
225 rules = kzalloc(sizeof(*rules), gfp);
290 * @gfp: allocation type
295 gfp_t gfp)
301 profile = kzalloc(struct_size(profile, label.vec, 2), gfp);
305 if (!aa_policy_init(&profile->base, NULL, hname, gfp))
307 if (!aa_label_init(&profile->label, 1, gfp))
313 rules = aa_alloc_ruleset(gfp);
320 proxy = aa_alloc_proxy(&profile->label, gfp);
433 * @gfp: type of allocation.
442 gfp_t gfp)
459 gfp);
462 profile = aa_alloc_null(parent, name, gfp);
581 gfp_t gfp)
586 profile = aa_alloc_profile(name, NULL, gfp);
625 * @gfp: type of allocation
639 const char *base, gfp_t gfp)
649 gfp);
657 name = kmalloc(strlen(parent->base.hname) + 2 + 7 + 8, gfp);
670 profile = aa_alloc_null(parent, name, gfp);