interval_tree.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | interval_tree.c (457c89965399115e5cd8bf38f9c597293405703d) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only |
|
1#include <linux/interval_tree.h> 2#include <linux/interval_tree_generic.h> 3#include <linux/compiler.h> 4#include <linux/export.h> 5 6#define START(node) ((node)->start) 7#define LAST(node) ((node)->last) 8 9INTERVAL_TREE_DEFINE(struct interval_tree_node, rb, 10 unsigned long, __subtree_last, 11 START, LAST,, interval_tree) 12 13EXPORT_SYMBOL_GPL(interval_tree_insert); 14EXPORT_SYMBOL_GPL(interval_tree_remove); 15EXPORT_SYMBOL_GPL(interval_tree_iter_first); 16EXPORT_SYMBOL_GPL(interval_tree_iter_next); | 2#include <linux/interval_tree.h> 3#include <linux/interval_tree_generic.h> 4#include <linux/compiler.h> 5#include <linux/export.h> 6 7#define START(node) ((node)->start) 8#define LAST(node) ((node)->last) 9 10INTERVAL_TREE_DEFINE(struct interval_tree_node, rb, 11 unsigned long, __subtree_last, 12 START, LAST,, interval_tree) 13 14EXPORT_SYMBOL_GPL(interval_tree_insert); 15EXPORT_SYMBOL_GPL(interval_tree_remove); 16EXPORT_SYMBOL_GPL(interval_tree_iter_first); 17EXPORT_SYMBOL_GPL(interval_tree_iter_next); |