ns_tree
struct ns_tree;
void __ns_tree_add_raw(struct ns_common *ns, struct ns_tree_root *ns_tree);
void __ns_tree_remove(struct ns_common *ns, struct ns_tree_root *ns_tree);
struct ns_tree_root *ns_tree,
static inline void __ns_tree_add(struct ns_common *ns, struct ns_tree_root *ns_tree, u64 id)
__ns_tree_add_raw(ns, ns_tree);
void __ns_tree_add_raw(struct ns_common *ns, struct ns_tree_root *ns_tree)
node = ns_tree_node_add(&ns->ns_tree_node, ns_tree, ns_cmp);
void __ns_tree_remove(struct ns_common *ns, struct ns_tree_root *ns_tree)
ns_tree_node_del(&ns->ns_tree_node, ns_tree);
struct ns_tree_root *ns_tree;
ns_tree = ns_tree_from_type(ns_type);
if (!ns_tree)
node = rb_find_rcu(&ns_id, &ns_tree->ns_rb, ns_find);
struct ns_tree_root *ns_tree, bool previous)
if (list_is_head(list, &ns_tree->ns_list_head))
struct ns_tree_root *ns_tree = NULL;
ns_tree = ns_tree_from_type(ns_type);
if (!ns_tree)
if (ns_tree)
node = ns_tree->ns_rb.rb_node;
struct ns_tree_root *ns_tree)
if (ns_tree)
struct ns_tree_root *ns_tree)
if (ns_tree)
struct ns_tree_root *ns_tree)
if (ns_tree)
struct ns_tree_root *ns_tree = NULL;
ns_tree = ns_tree_from_type(ns_type);
if (!ns_tree)
if (ns_tree)
head = &ns_tree->ns_list_head;
first_ns = first_ns_common(head, ns_tree);
for (ns = first_ns; !ns_common_is_head(ns, head, ns_tree) && nr_ns_ids;
ns = next_ns_common(ns, ns_tree)) {