#include <linux/module.h>
#include <linux/rbtree_latch.h>
#include "internal.h"
static __always_inline unsigned long __mod_tree_val(struct latch_tree_node *n)
{ … }
static __always_inline unsigned long __mod_tree_size(struct latch_tree_node *n)
{ … }
static __always_inline bool
mod_tree_less(struct latch_tree_node *a, struct latch_tree_node *b)
{ … }
static __always_inline int
mod_tree_comp(void *key, struct latch_tree_node *n)
{ … }
static const struct latch_tree_ops mod_tree_ops = …;
static noinline void __mod_tree_insert(struct mod_tree_node *node, struct mod_tree_root *tree)
{ … }
static void __mod_tree_remove(struct mod_tree_node *node, struct mod_tree_root *tree)
{ … }
void mod_tree_insert(struct module *mod)
{ … }
void mod_tree_remove_init(struct module *mod)
{ … }
void mod_tree_remove(struct module *mod)
{ … }
struct module *mod_find(unsigned long addr, struct mod_tree_root *tree)
{ … }