Back to home page

LXR

 
 

    


0001 #include <linux/interval_tree.h>
0002 #include <linux/interval_tree_generic.h>
0003 #include <linux/compiler.h>
0004 #include <linux/export.h>
0005 
0006 #define START(node) ((node)->start)
0007 #define LAST(node)  ((node)->last)
0008 
0009 INTERVAL_TREE_DEFINE(struct interval_tree_node, rb,
0010              unsigned long, __subtree_last,
0011              START, LAST,, interval_tree)
0012 
0013 EXPORT_SYMBOL_GPL(interval_tree_insert);
0014 EXPORT_SYMBOL_GPL(interval_tree_remove);
0015 EXPORT_SYMBOL_GPL(interval_tree_iter_first);
0016 EXPORT_SYMBOL_GPL(interval_tree_iter_next);