mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
e37c9e6921
Signed-off-by: Chris Mason <chris.mason@oracle.com>
16 lines
511 B
C
16 lines
511 B
C
#ifndef __BIT_RADIX__
|
|
#define __BIT_RADIX__
|
|
#include <linux/radix-tree.h>
|
|
|
|
int set_radix_bit(struct radix_tree_root *radix, unsigned long bit);
|
|
int test_radix_bit(struct radix_tree_root *radix, unsigned long bit);
|
|
int clear_radix_bit(struct radix_tree_root *radix, unsigned long bit);
|
|
int find_first_radix_bit(struct radix_tree_root *radix, unsigned long *retbits,
|
|
unsigned long start, int nr);
|
|
|
|
static inline void init_bit_radix(struct radix_tree_root *radix)
|
|
{
|
|
INIT_RADIX_TREE(radix, GFP_NOFS);
|
|
}
|
|
#endif
|