Root/lib/interval_tree.c

1#include <linux/init.h>
2#include <linux/interval_tree.h>
3#include <linux/interval_tree_generic.h>
4
5#define START(node) ((node)->start)
6#define LAST(node) ((node)->last)
7
8INTERVAL_TREE_DEFINE(struct interval_tree_node, rb,
9             unsigned long, __subtree_last,
10             START, LAST,, interval_tree)
11

Archive Download this file



interactive