Lines Matching refs:base
113 AA_BUG(!a->base.hname); in ns_cmp()
114 AA_BUG(!b->base.hname); in ns_cmp()
123 return strcmp(a->base.hname, b->base.hname); in ns_cmp()
143 AA_BUG(!a->base.hname); in profile_cmp()
144 AA_BUG(!b->base.hname); in profile_cmp()
146 if (a == b || a->base.hname == b->base.hname) in profile_cmp()
152 return strcmp(a->base.hname, b->base.hname); in profile_cmp()
379 on_list_rcu(&label->vec[0]->base.profiles)); in aa_label_kref()
381 on_list_rcu(&label->vec[0]->base.list)); in aa_label_kref()
1276 return aa_dfa_match(profile->policy.dfa, state, tp->base.hname); in match_component()
1283 return aa_dfa_match(profile->policy.dfa, state, tp->base.hname); in match_component()
1542 profile->base.hname, modestr); in aa_profile_snxprint()
1543 return snprintf(str, size, "%s (%s)", profile->base.hname, in aa_profile_snxprint()
1549 profile->base.hname); in aa_profile_snxprint()
1550 return snprintf(str, size, "%s", profile->base.hname); in aa_profile_snxprint()
1861 static struct aa_profile *fqlookupn_profile(struct aa_label *base, in fqlookupn_profile() argument
1868 return aa_fqlookupn_profile(base, str, n); in fqlookupn_profile()
1885 struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str, in aa_label_strn_parse() argument
1890 struct aa_label *label, *currbase = base; in aa_label_strn_parse()
1895 AA_BUG(!base); in aa_label_strn_parse()
1900 base != &root_ns->unconfined->label)) in aa_label_strn_parse()
1906 stack = base->size; in aa_label_strn_parse()
1917 vec[i] = aa_get_profile(base->vec[i]); in aa_label_strn_parse()
1921 vec[i] = fqlookupn_profile(base, currbase, str, split - str); in aa_label_strn_parse()
1935 vec[i] = fqlookupn_profile(base, currbase, str, end - str); in aa_label_strn_parse()
1967 struct aa_label *aa_label_parse(struct aa_label *base, const char *str, in aa_label_parse() argument
1970 return aa_label_strn_parse(base, str, strlen(str), gfp, create, in aa_label_parse()
2157 list_for_each_entry(child, &ns->sub_ns, base.list) { in __aa_labelset_update_subtree()