Lines Matching refs:ns_name

593 	const char *name, *ns_name;  in aa_fqlookupn_profile()  local
596 name = aa_splitn_fqname(fqname, n, &ns_name, &ns_len); in aa_fqlookupn_profile()
597 if (ns_name) { in aa_fqlookupn_profile()
598 ns = aa_lookupn_ns(labels_ns(base), ns_name, ns_len); in aa_fqlookupn_profile()
770 const char *ns_name, const char *name, in audit_policy() argument
775 ad.iface.ns = ns_name; in audit_policy()
1060 const char *ns_name = NULL, *info = NULL; in aa_replace_profiles() local
1071 error = aa_unpack(udata, &lh, &ns_name); in aa_replace_profiles()
1082 if (ns_name) { in aa_replace_profiles()
1083 if (ent->ns_name && in aa_replace_profiles()
1084 strcmp(ent->ns_name, ns_name) != 0) { in aa_replace_profiles()
1089 } else if (ent->ns_name) { in aa_replace_profiles()
1095 ns_name = ent->ns_name; in aa_replace_profiles()
1099 if (ns_name) { in aa_replace_profiles()
1101 ns_name); in aa_replace_profiles()
1230 audit_policy(label, op, ns_name, ent->new->base.hname, in aa_replace_profiles()
1243 audit_policy(label, op, ns_name, ent->new->base.hname, NULL, in aa_replace_profiles()
1270 kfree(ns_name); in aa_replace_profiles()
1282 audit_policy(label, op, ns_name, ent ? ent->new->base.hname : NULL, in aa_replace_profiles()
1293 audit_policy(label, op, ns_name, tmp->new->base.hname, info, in aa_replace_profiles()
1324 const char *ns_name = NULL; in aa_remove_profiles() local
1336 name = aa_splitn_fqname(fqname, size, &ns_name, &ns_len); in aa_remove_profiles()
1339 ns_name, ns_len); in aa_remove_profiles()
1372 (void) audit_policy(subj, OP_PROF_RM, ns_name, name, info, in aa_remove_profiles()
1383 (void) audit_policy(subj, OP_PROF_RM, ns_name, name, info, in aa_remove_profiles()