• Home
  • Raw
  • Download

Lines Matching full:namespace

11  * to be loaded for tasks within the namespace.
28 /* root profile namespace */
34 * @curr: namespace to treat as the parent (NOT NULL)
35 * @view: namespace to test if visible from @curr (NOT NULL)
58 * @curr: current namespace (NOT NULL)
59 * @view: namespace attempting to view (NOT NULL)
66 /* if view == curr then the namespace name isn't displayed */ in aa_ns_name()
99 * alloc_ns - allocate, initialize and return a new namespace
100 * @prefix: parent namespace name (MAYBE NULL)
103 * Returns: refcounted namespace or NULL on failure.
142 * aa_free_ns - free a profile namespace
143 * @ns: the namespace to free (MAYBE NULL)
145 * Requires: All references to the namespace must have been put, if the
146 * namespace was referenced by a profile confining a task,
163 * aa_findn_ns - look up a profile namespace on the namespace list
164 * @root: namespace to search in (NOT NULL)
165 * @name: name of namespace to find (NOT NULL)
168 * Returns: a refcounted namespace on the list, or NULL if no namespace
185 * aa_find_ns - look up a profile namespace on the namespace list
186 * @root: namespace to search in (NOT NULL)
187 * @name: name of namespace to find (NOT NULL)
189 * Returns: a refcounted namespace on the list, or NULL if no namespace
200 * __aa_lookupn_ns - lookup the namespace matching @hname
201 * @view: namespace to search in (NOT NULL)
232 * aa_lookupn_ns - look up a policy namespace relative to @view
233 * @view: namespace to search in (NOT NULL)
234 * @name: name of namespace to find (NOT NULL)
237 * Returns: a refcounted namespace on the list, or NULL if no namespace
287 * @parent: the parent of the namespace being created
288 * @name: the name of the namespace
313 * aa_prepare_ns - find an existing or create a new namespace of @name
315 * @name: the namespace to find or add (NOT NULL)
317 * Returns: refcounted namespace or PTR_ERR if failed to create one
339 * @ns: namespace to have it contents removed (NOT NULL)
347 /* release all profiles in this namespace */ in destroy_ns()
366 * __aa_remove_ns - remove a namespace and all its children
367 * @ns: namespace to be removed (NOT NULL)
373 /* remove ns from namespace list */ in __aa_remove_ns()
383 * Requires: namespace lock be held
395 * aa_alloc_root_ns - allocate the root profile namespace
422 * aa_free_root_ns - free the root profile namespace