Lines Matching refs:res
12 unsigned int res = w - ((w >> 1) & 0x55555555); in hweight32() local
13 res = (res & 0x33333333) + ((res >> 2) & 0x33333333); in hweight32()
14 res = (res + (res >> 4)) & 0x0F0F0F0F; in hweight32()
15 res = res + (res >> 8); in hweight32()
16 return (res + (res >> 16)) & 0x000000FF; in hweight32()
24 __u64 res = w - ((w >> 1) & 0x5555555555555555ul); in hweight64()
25 res = (res & 0x3333333333333333ul) + ((res >> 2) & 0x3333333333333333ul); in hweight64()
26 res = (res + (res >> 4)) & 0x0F0F0F0F0F0F0F0Ful; in hweight64()
27 res = res + (res >> 8); in hweight64()
28 res = res + (res >> 16); in hweight64()
29 return (res + (res >> 32)) & 0x00000000000000FFul; in hweight64()