Lines Matching refs:bitmap
873 static inline void _ocfs2_set_bit(unsigned int bit, unsigned long *bitmap) in _ocfs2_set_bit() argument
875 __set_bit_le(bit, bitmap); in _ocfs2_set_bit()
879 static inline void _ocfs2_clear_bit(unsigned int bit, unsigned long *bitmap) in _ocfs2_clear_bit() argument
881 __clear_bit_le(bit, bitmap); in _ocfs2_clear_bit()
903 static inline void ocfs2_set_bit_unaligned(int bit, void *bitmap) in ocfs2_set_bit_unaligned() argument
905 bitmap = correct_addr_and_bit_unaligned(&bit, bitmap); in ocfs2_set_bit_unaligned()
906 ocfs2_set_bit(bit, bitmap); in ocfs2_set_bit_unaligned()
909 static inline void ocfs2_clear_bit_unaligned(int bit, void *bitmap) in ocfs2_clear_bit_unaligned() argument
911 bitmap = correct_addr_and_bit_unaligned(&bit, bitmap); in ocfs2_clear_bit_unaligned()
912 ocfs2_clear_bit(bit, bitmap); in ocfs2_clear_bit_unaligned()
915 static inline int ocfs2_test_bit_unaligned(int bit, void *bitmap) in ocfs2_test_bit_unaligned() argument
917 bitmap = correct_addr_and_bit_unaligned(&bit, bitmap); in ocfs2_test_bit_unaligned()
918 return ocfs2_test_bit(bit, bitmap); in ocfs2_test_bit_unaligned()
921 static inline int ocfs2_find_next_zero_bit_unaligned(void *bitmap, int max, in ocfs2_find_next_zero_bit_unaligned() argument
925 bitmap = correct_addr_and_bit_unaligned(&fix, bitmap); in ocfs2_find_next_zero_bit_unaligned()
929 ret = ocfs2_find_next_zero_bit(bitmap, tmpmax, start) - fix; in ocfs2_find_next_zero_bit_unaligned()