Lines Matching refs:gfp
125 struct aa_policydb *aa_alloc_pdb(gfp_t gfp)
127 struct aa_policydb *pdb = kzalloc(sizeof(struct aa_policydb), gfp);
258 struct aa_ruleset *aa_alloc_ruleset(gfp_t gfp)
262 rules = kzalloc(sizeof(*rules), gfp);
327 * @gfp: allocation type
332 gfp_t gfp)
338 profile = kzalloc(struct_size(profile, label.vec, 2), gfp);
342 if (!aa_policy_init(&profile->base, NULL, hname, gfp))
344 if (!aa_label_init(&profile->label, 1, gfp))
350 rules = aa_alloc_ruleset(gfp);
357 proxy = aa_alloc_proxy(&profile->label, gfp);
470 * @gfp: type of allocation.
479 gfp_t gfp)
496 gfp);
499 profile = aa_alloc_null(parent, name, gfp);
618 gfp_t gfp)
623 profile = aa_alloc_profile(name, NULL, gfp);
649 * @gfp: type of allocation
663 const char *base, gfp_t gfp)
673 gfp);
681 name = kmalloc(strlen(parent->base.hname) + 2 + 7 + 8, gfp);
694 profile = aa_alloc_null(parent, name, gfp);