Lines Matching refs:bitmap2
38 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() argument
42 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal()
46 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
54 const unsigned long *bitmap2, in __bitmap_or_equal() argument
62 if ((bitmap1[k] | bitmap2[k]) != bitmap3[k]) in __bitmap_or_equal()
69 tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k]; in __bitmap_or_equal()
230 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and() argument
237 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
239 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
246 const unsigned long *bitmap2, unsigned int bits) in __bitmap_or() argument
252 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
257 const unsigned long *bitmap2, unsigned int bits) in __bitmap_xor() argument
263 dst[k] = bitmap1[k] ^ bitmap2[k]; in __bitmap_xor()
268 const unsigned long *bitmap2, unsigned int bits) in __bitmap_andnot() argument
275 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot()
277 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] & in __bitmap_andnot()
296 const unsigned long *bitmap2, unsigned int bits) in __bitmap_intersects() argument
300 if (bitmap1[k] & bitmap2[k]) in __bitmap_intersects()
304 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_intersects()
311 const unsigned long *bitmap2, unsigned int bits) in __bitmap_subset() argument
315 if (bitmap1[k] & ~bitmap2[k]) in __bitmap_subset()
319 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_subset()
345 const unsigned long *bitmap2, unsigned int bits) in __bitmap_weight_and() argument
347 return BITMAP_WEIGHT(bitmap1[idx] & bitmap2[idx], bits); in __bitmap_weight_and()
352 const unsigned long *bitmap2, unsigned int bits) in __bitmap_weight_andnot() argument
354 return BITMAP_WEIGHT(bitmap1[idx] & ~bitmap2[idx], bits); in __bitmap_weight_andnot()