Blame view
lib/interval_tree.c
495 Bytes
fff3fd8a1
|
1 2 |
#include <linux/init.h> #include <linux/interval_tree.h> |
9826a516f
|
3 |
#include <linux/interval_tree_generic.h> |
a88cc108f
|
4 |
#include <linux/module.h> |
fff3fd8a1
|
5 |
|
9826a516f
|
6 7 |
#define START(node) ((node)->start) #define LAST(node) ((node)->last) |
6b2dbba8b
|
8 |
|
9826a516f
|
9 10 11 |
INTERVAL_TREE_DEFINE(struct interval_tree_node, rb, unsigned long, __subtree_last, START, LAST,, interval_tree) |
a88cc108f
|
12 13 14 15 16 |
EXPORT_SYMBOL_GPL(interval_tree_insert); EXPORT_SYMBOL_GPL(interval_tree_remove); EXPORT_SYMBOL_GPL(interval_tree_iter_first); EXPORT_SYMBOL_GPL(interval_tree_iter_next); |