Home
last modified time | relevance | path

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

/lib/
Dbitmap.c48 int __bitmap_equal(const unsigned long *bitmap1, in __bitmap_equal() argument
53 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal()
57 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
64 bool __bitmap_or_equal(const unsigned long *bitmap1, in __bitmap_or_equal() argument
73 if ((bitmap1[k] | bitmap2[k]) != bitmap3[k]) in __bitmap_or_equal()
80 tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k]; in __bitmap_or_equal()
240 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument
248 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
250 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
256 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_or() argument
[all …]