Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | __WORDSIZE (__SIZEOF_LONG__ * 8) |
#define | BITS_PER_LONG __WORDSIZE |
#define | BITS_PER_BYTE 8 |
#define | BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) |
#define | BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u64)) |
#define | BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32)) |
#define | for_each_set_bit(bit, addr, size) |
#define | for_each_set_bit_from(bit, addr, size) |
#define | BITOP_WORD(nr) ((nr) / BITS_PER_LONG) |
#define BITOP_WORD | ( | nr | ) | ((nr) / BITS_PER_LONG) |
#define BITS_PER_LONG __WORDSIZE |
#define BITS_TO_LONGS | ( | nr | ) | DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) |
#define BITS_TO_U32 | ( | nr | ) | DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32)) |
#define BITS_TO_U64 | ( | nr | ) | DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u64)) |