Lines Matching full:src1
71 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument
75 *dst = *src1 | *src2; in bitmap_or()
77 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
145 * @src1: operand 1
149 static inline bool bitmap_and(unsigned long *dst, const unsigned long *src1, in bitmap_and() argument
153 return (*dst = *src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_and()
154 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and()
165 static inline bool bitmap_equal(const unsigned long *src1, in bitmap_equal() argument
169 return !((*src1 ^ *src2) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_equal()
172 return !memcmp(src1, src2, nbits / 8); in bitmap_equal()
173 return __bitmap_equal(src1, src2, nbits); in bitmap_equal()
176 static inline bool bitmap_intersects(const unsigned long *src1, in bitmap_intersects() argument
181 return ((*src1 & *src2) & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_intersects()
183 return __bitmap_intersects(src1, src2, nbits); in bitmap_intersects()