Lines Matching refs:bitmap1
73 int __bitmap_equal(const unsigned long *bitmap1, in __bitmap_equal() argument
78 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal()
82 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
184 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument
192 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
197 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_or() argument
204 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
208 void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_xor() argument
215 dst[k] = bitmap1[k] ^ bitmap2[k]; in __bitmap_xor()
219 int __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_andnot() argument
227 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot()
232 int __bitmap_intersects(const unsigned long *bitmap1, in __bitmap_intersects() argument
237 if (bitmap1[k] & bitmap2[k]) in __bitmap_intersects()
241 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_intersects()
247 int __bitmap_subset(const unsigned long *bitmap1, in __bitmap_subset() argument
252 if (bitmap1[k] & ~bitmap2[k]) in __bitmap_subset()
256 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_subset()