Lines Matching refs:aa_ns
58 struct aa_ns { struct
60 struct aa_ns *parent; argument
77 extern struct aa_ns *root_ns; argument
83 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns);
84 const char *aa_ns_name(struct aa_ns *parent, struct aa_ns *child, bool subns);
85 void aa_free_ns(struct aa_ns *ns);
90 struct aa_ns *aa_find_ns(struct aa_ns *root, const char *name);
91 struct aa_ns *aa_findn_ns(struct aa_ns *root, const char *name, size_t n);
92 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n);
93 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n);
94 struct aa_ns *__aa_find_or_create_ns(struct aa_ns *parent, const char *name,
96 struct aa_ns *aa_prepare_ns(struct aa_ns *root, const char *name);
97 void __aa_remove_ns(struct aa_ns *ns);
112 static inline struct aa_ns *aa_get_ns(struct aa_ns *ns) in aa_get_ns()
126 static inline void aa_put_ns(struct aa_ns *ns) in aa_put_ns()
141 static inline struct aa_ns *__aa_findn_ns(struct list_head *head, in __aa_findn_ns()
144 return (struct aa_ns *)__policy_strn_find(head, name, n); in __aa_findn_ns()
147 static inline struct aa_ns *__aa_find_ns(struct list_head *head, in __aa_find_ns()
153 static inline struct aa_ns *__aa_lookup_ns(struct aa_ns *base, in __aa_lookup_ns()
159 static inline struct aa_ns *aa_lookup_ns(struct aa_ns *view, const char *name) in aa_lookup_ns()