Lines Matching refs:bitmap1
46 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()
192 int __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_andnot() argument
200 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot()
202 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] & in __bitmap_andnot()
208 int __bitmap_intersects(const unsigned long *bitmap1, in __bitmap_intersects() argument
213 if (bitmap1[k] & bitmap2[k]) in __bitmap_intersects()
217 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_intersects()
223 int __bitmap_subset(const unsigned long *bitmap1, in __bitmap_subset() argument
228 if (bitmap1[k] & ~bitmap2[k]) in __bitmap_subset()
232 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_subset()