Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/radix-tree.h
| Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | |||||
| bool radix_tree_iter_find(const struct radix_tree_root *, struct radix_tree_iter *, void ***, int); | bool radix_tree_iter_find(const struct radix_tree_root *, struct radix_tree_iter *, void ***, int); | ||||
| void radix_tree_iter_delete(struct radix_tree_root *, struct radix_tree_iter *, void **); | void radix_tree_iter_delete(struct radix_tree_root *, struct radix_tree_iter *, void **); | ||||
| void *radix_tree_tag_set(struct radix_tree_root *root, unsigned long index, unsigned int tag); | void *radix_tree_tag_set(struct radix_tree_root *root, unsigned long index, unsigned int tag); | ||||
| void *radix_tree_tag_clear(struct radix_tree_root *root, unsigned long index, unsigned int tag); | void *radix_tree_tag_clear(struct radix_tree_root *root, unsigned long index, unsigned int tag); | ||||
| int radix_tree_tagged(const struct radix_tree_root *root, unsigned int tag); | int radix_tree_tagged(const struct radix_tree_root *root, unsigned int tag); | ||||
| unsigned int radix_tree_gang_lookup(const struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items); | unsigned int radix_tree_gang_lookup(const struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items); | ||||
| unsigned int radix_tree_gang_lookup_tag(const struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items, unsigned int tag); | unsigned int radix_tree_gang_lookup_tag(const struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items, unsigned int tag); | ||||
| /* | |||||
| * On Linux, <linux/radix-tress.h> includes <linux/xarray.h>. | |||||
| * | |||||
| * However on FreeBSD, this is the opposite because an xarray is implemented on | |||||
| * top of a radix-tree. Unfortunately, some code relies on the namespace | |||||
| * pollution. | |||||
| * | |||||
| * Therefore we include <linux/xarray.h> here at the end because it depends on | |||||
| * the definitions above. | |||||
| */ | |||||
| #include <linux/xarray.h> | |||||
| #endif /* _LINUXKPI_LINUX_RADIX_TREE_H_ */ | #endif /* _LINUXKPI_LINUX_RADIX_TREE_H_ */ | ||||