Lines Matching refs:k
12 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
14 for (k = 0; k < lim; k++) in __bitmap_weight()
15 w += hweight_long(bitmap[k]); in __bitmap_weight()
18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
26 int k; in __bitmap_or() local
29 for (k = 0; k < nr; k++) in __bitmap_or()
30 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
65 unsigned int k; in __bitmap_and() local
69 for (k = 0; k < lim; k++) in __bitmap_and()
70 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
72 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()