• Home
  • Raw
  • Download

Lines Matching full:namespace

11  * to be loaded for tasks within the namespace.
25 /* root profile namespace */
31 * @curr: namespace to treat as the parent (NOT NULL)
32 * @view: namespace to test if visible from @curr (NOT NULL)
55 * @curr - current namespace (NOT NULL)
56 * @view - namespace attempting to view (NOT NULL)
63 /* if view == curr then the namespace name isn't displayed */ in aa_ns_name()
81 * alloc_ns - allocate, initialize and return a new namespace
82 * @prefix: parent namespace name (MAYBE NULL)
85 * Returns: refcounted namespace or NULL on failure.
131 * aa_free_ns - free a profile namespace
132 * @ns: the namespace to free (MAYBE NULL)
134 * Requires: All references to the namespace must have been put, if the
135 * namespace was referenced by a profile confining a task,
152 * aa_findn_ns - look up a profile namespace on the namespace list
153 * @root: namespace to search in (NOT NULL)
154 * @name: name of namespace to find (NOT NULL)
157 * Returns: a refcounted namespace on the list, or NULL if no namespace
174 * aa_find_ns - look up a profile namespace on the namespace list
175 * @root: namespace to search in (NOT NULL)
176 * @name: name of namespace to find (NOT NULL)
178 * Returns: a refcounted namespace on the list, or NULL if no namespace
189 * __aa_lookupn_ns - lookup the namespace matching @hname
221 * aa_lookupn_ns - look up a policy namespace relative to @view
222 * @view: namespace to search in (NOT NULL)
223 * @name: name of namespace to find (NOT NULL)
226 * Returns: a refcounted namespace on the list, or NULL if no namespace
276 * @parent: the parent of the namespace being created
277 * @name: the name of the namespace
302 * aa_prepare_ns - find an existing or create a new namespace of @name
304 * @name: the namespace to find or add (NOT NULL)
306 * Returns: refcounted namespace or PTR_ERR if failed to create one
328 * @ns: namespace to have it contents removed (NOT NULL)
336 /* release all profiles in this namespace */ in destroy_ns()
355 * __aa_remove_ns - remove a namespace and all its children
356 * @ns: namespace to be removed (NOT NULL)
362 /* remove ns from namespace list */ in __aa_remove_ns()
372 * Requires: namespace lock be held
384 * aa_alloc_root_ns - allocate the root profile namespace
400 * aa_free_root_ns - free the root profile namespace