Lines Matching refs:src1
73 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument
77 *dst = *src1 | *src2; in bitmap_or()
79 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
117 static inline bool bitmap_and(unsigned long *dst, const unsigned long *src1, in bitmap_and() argument
121 return (*dst = *src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_and()
122 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and()
132 static inline bool bitmap_equal(const unsigned long *src1, in bitmap_equal() argument
136 return !((*src1 ^ *src2) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_equal()
139 return !memcmp(src1, src2, nbits / 8); in bitmap_equal()
140 return __bitmap_equal(src1, src2, nbits); in bitmap_equal()
143 static inline bool bitmap_intersects(const unsigned long *src1, in bitmap_intersects() argument
148 return ((*src1 & *src2) & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_intersects()
150 return __bitmap_intersects(src1, src2, nbits); in bitmap_intersects()