search for: ext2_find_next_zero_bit

Displaying 1 result from an estimated 1 matches for "ext2_find_next_zero_bit".

2010 Nov 23
0
[PATCH v3 13/22] ocfs2: use little-endian bitops
...void _ocfs2_clear_bit(unsigned int bit, unsigned long *bitmap) { - ext2_clear_bit(bit, bitmap); + __test_and_clear_le_bit(bit, bitmap); } #define ocfs2_clear_bit(bit, addr) _ocfs2_clear_bit((bit), (unsigned long *)(addr)) -#define ocfs2_test_bit ext2_test_bit -#define ocfs2_find_next_zero_bit ext2_find_next_zero_bit -#define ocfs2_find_next_bit ext2_find_next_bit +#define ocfs2_test_bit(nr, addr) \ + test_le_bit(nr, (unsigned long *)(addr)) +#define ocfs2_find_next_zero_bit(addr, size, off) \ + find_next_zero_le_bit((unsigned long *)(addr), size, off) +#define ocfs2_find_next_bit(addr, size, off) \ + find_next...