Lines Matching refs:bitmap2
52 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() argument
56 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal()
60 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
157 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and() argument
164 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
166 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
173 const unsigned long *bitmap2, unsigned int bits) in __bitmap_or() argument
179 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
184 const unsigned long *bitmap2, unsigned int bits) in __bitmap_xor() argument
190 dst[k] = bitmap1[k] ^ bitmap2[k]; in __bitmap_xor()
195 const unsigned long *bitmap2, unsigned int bits) in __bitmap_andnot() argument
202 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot()
204 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] & in __bitmap_andnot()
211 const unsigned long *bitmap2, unsigned int bits) in __bitmap_intersects() argument
215 if (bitmap1[k] & bitmap2[k]) in __bitmap_intersects()
219 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_intersects()
226 const unsigned long *bitmap2, unsigned int bits) in __bitmap_subset() argument
230 if (bitmap1[k] & ~bitmap2[k]) in __bitmap_subset()
234 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_subset()