Lines Matching refs:hname
449 char *hname; in aa_policy_init() local
453 hname = aa_str_alloc(strlen(prefix) + strlen(name) + 3, gfp); in aa_policy_init()
454 if (hname) in aa_policy_init()
455 sprintf(hname, "%s//%s", prefix, name); in aa_policy_init()
457 hname = aa_str_alloc(strlen(name) + 1, gfp); in aa_policy_init()
458 if (hname) in aa_policy_init()
459 strcpy(hname, name); in aa_policy_init()
461 if (!hname) in aa_policy_init()
463 policy->hname = hname; in aa_policy_init()
465 policy->name = basename(policy->hname); in aa_policy_init()
482 aa_put_str(policy->hname); in aa_policy_destroy()