Lines Matching refs:hname
117 AA_BUG(!a->base.hname); in ns_cmp()
118 AA_BUG(!b->base.hname); in ns_cmp()
127 return strcmp(a->base.hname, b->base.hname); in ns_cmp()
147 AA_BUG(!a->base.hname); in profile_cmp()
148 AA_BUG(!b->base.hname); in profile_cmp()
150 if (a == b || a->base.hname == b->base.hname) in profile_cmp()
156 return strcmp(a->base.hname, b->base.hname); in profile_cmp()
326 aa_put_str(label->hname); in label_destroy()
1252 return aa_dfa_match(profile->policy.dfa, state, tp->base.hname); in match_component()
1259 return aa_dfa_match(profile->policy.dfa, state, tp->base.hname); in match_component()
1430 if (label->hname || labels_ns(label) != ns) in aa_update_label_name()
1438 if (!label->hname && label->flags & FLAG_IN_TREE) { in aa_update_label_name()
1439 label->hname = name; in aa_update_label_name()
1455 if (label->hname && (!ns || labels_ns(label) == ns) && in use_label_hname()
1516 profile->base.hname, modestr); in aa_profile_snxprint()
1517 return snprintf(str, size, "%s (%s)", profile->base.hname, in aa_profile_snxprint()
1523 profile->base.hname); in aa_profile_snxprint()
1524 return snprintf(str, size, "%s", profile->base.hname); in aa_profile_snxprint()
1728 str = (char *) label->hname; in aa_label_xaudit()
1757 seq_printf(f, "%s (%s)", label->hname, in aa_label_seq_xprint()
1760 seq_printf(f, "%s", label->hname); in aa_label_seq_xprint()
1780 pr_info("%s (%s)", label->hname, in aa_label_xprintk()
1783 pr_info("%s", label->hname); in aa_label_xprintk()