Home
last modified time | relevance | path

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

/xen/xen/include/xen/
A Dbitmap.h95 #define BITMAP_LAST_WORD_MASK(nbits) \ macro
131 dst[nlongs - 1] = BITMAP_LAST_WORD_MASK(nbits); in bitmap_fill()
180 *dst = ~*src & BITMAP_LAST_WORD_MASK(nbits), in bitmap_complement()
189 return !((*src1 ^ *src2) & BITMAP_LAST_WORD_MASK(nbits)), in bitmap_equal()
198 return ((*src1 & *src2) & BITMAP_LAST_WORD_MASK(nbits)) != 0, in bitmap_intersects()
207 return !((*src1 & ~*src2) & BITMAP_LAST_WORD_MASK(nbits)), in bitmap_subset()
215 return !(*src & BITMAP_LAST_WORD_MASK(nbits)), in bitmap_empty()
223 return !(~*src & BITMAP_LAST_WORD_MASK(nbits)), in bitmap_full()
A Dnodemask.h238 #define NODE_MASK_LAST_WORD BITMAP_LAST_WORD_MASK(MAX_NUMNODES)
/xen/xen/common/
A Dbitmap.c63 if (bitmap[k] & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_empty()
78 if (~bitmap[k] & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_full()
94 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
108 dst[k] = ~src[k] & BITMAP_LAST_WORD_MASK(bits); in __bitmap_complement()
165 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_intersects()
180 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_subset()
195 w += hweight32(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
208 w += hweight64(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
230 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in __bitmap_set()
250 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in __bitmap_clear()
/xen/xen/arch/x86/
A Ddomain_page.c134 if ( accum | (prev & BITMAP_LAST_WORD_MASK(dcache->entries)) ) in map_domain_page()

Completed in 6 milliseconds