Home
last modified time | relevance | path

Searched refs:bitmap1 (Results 1 – 1 of 1) sorted by relevance

/lib/
Dbitmap.c46 int __bitmap_equal(const unsigned long *bitmap1, in __bitmap_equal() argument
51 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal()
55 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
62 bool __bitmap_or_equal(const unsigned long *bitmap1, in __bitmap_or_equal() argument
71 if ((bitmap1[k] | bitmap2[k]) != bitmap3[k]) in __bitmap_or_equal()
78 tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k]; in __bitmap_or_equal()
171 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument
179 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
181 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
187 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_or() argument
[all …]