endian fixes, makefile fixes
[btrfs-progs-unstable.git] / bit-radix.h
blob153d0bf7f8299aa3fda80a1549684dadca59154b
1 #ifndef __BIT_RADIX__
2 #define __BIT_RADIX__
3 #include "radix-tree.h"
5 int set_radix_bit(struct radix_tree_root *radix, unsigned long bit);
6 int test_radix_bit(struct radix_tree_root *radix, unsigned long bit);
7 int clear_radix_bit(struct radix_tree_root *radix, unsigned long bit);
8 int find_first_radix_bit(struct radix_tree_root *radix, unsigned long *retbits,
9 unsigned long start, int nr);
11 static inline void init_bit_radix(struct radix_tree_root *radix)
13 INIT_RADIX_TREE(radix, GFP_NOFS);
15 #endif