Displaying 2 results from an estimated 2 matches for "ocfs2_find_next_bit".
2011 Mar 07
4
[PATCH 0/3] ocfs2: Add batched discard support
Hi all,
This patch set adds batched discard support to ocfs2. Please check. Thanks.
Regards,
Tao
2010 Nov 23
0
[PATCH v3 13/22] ocfs2: use little-endian bitops
...nt 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_le_bit((unsigned long *)(add...