Home
last modified time | relevance | path

Searched refs:bitmap1 (Results 1 – 1 of 1) sorted by relevance

/lib/
Dbitmap.c46 int __bitmap_equal(const unsigned long *bitmap1, in __bitmap_equal() argument
51 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal()
55 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
154 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument
162 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
164 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
170 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_or() argument
177 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
181 void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_xor() argument
188 dst[k] = bitmap1[k] ^ bitmap2[k]; in __bitmap_xor()
[all …]