Lines Matching defs:bitmap1
21 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
28 dst[k] = bitmap1[k] | bitmap2[k];
60 bool __bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
68 result |= (dst[k] = bitmap1[k] & bitmap2[k]);
70 result |= (dst[k] = bitmap1[k] & bitmap2[k] &
75 bool __bitmap_equal(const unsigned long *bitmap1,
80 if (bitmap1[k] != bitmap2[k])
84 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
90 bool __bitmap_intersects(const unsigned long *bitmap1,
95 if (bitmap1[k] & bitmap2[k])
99 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
144 bool __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1,
152 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]);
154 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] &
159 bool __bitmap_subset(const unsigned long *bitmap1,
164 if (bitmap1[k] & ~bitmap2[k])
168 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
173 void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1,
180 dst[k] = bitmap1[k] ^ bitmap2[k];