Lines Matching refs:bitmap1
48 bool __bitmap_equal(const unsigned long *bitmap1,
53 if (bitmap1[k] != bitmap2[k])
57 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
64 bool __bitmap_or_equal(const unsigned long *bitmap1,
73 if ((bitmap1[k] | bitmap2[k]) != bitmap3[k])
80 tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k];
240 bool __bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
248 result |= (dst[k] = bitmap1[k] & bitmap2[k]);
250 result |= (dst[k] = bitmap1[k] & bitmap2[k] &
256 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
263 dst[k] = bitmap1[k] | bitmap2[k];
267 void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1,
274 dst[k] = bitmap1[k] ^ bitmap2[k];
278 bool __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1,
286 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]);
288 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] &
306 bool __bitmap_intersects(const unsigned long *bitmap1,
311 if (bitmap1[k] & bitmap2[k])
315 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
321 bool __bitmap_subset(const unsigned long *bitmap1,
326 if (bitmap1[k] & ~bitmap2[k])
330 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
355 unsigned int __bitmap_weight_and(const unsigned long *bitmap1,
358 return BITMAP_WEIGHT(bitmap1[idx] & bitmap2[idx], bits);