Home
last modified time | relevance | path

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

/lib/
Dhweight.c13 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument
16 w -= (w >> 1) & 0x55555555; in __sw_hweight32()
17 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32()
18 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32()
19 return (w * 0x01010101) >> 24; in __sw_hweight32()
21 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32()
31 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument
33 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16()
40 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument
42 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8()
[all …]
Donce.c11 static void once_deferred(struct work_struct *w) in once_deferred() argument
15 work = container_of(w, struct once_work, work); in once_deferred()
23 struct once_work *w; in once_disable_jump() local
25 w = kmalloc(sizeof(*w), GFP_ATOMIC); in once_disable_jump()
26 if (!w) in once_disable_jump()
29 INIT_WORK(&w->work, once_deferred); in once_disable_jump()
30 w->key = key; in once_disable_jump()
31 schedule_work(&w->work); in once_disable_jump()
Dinflate.c170 #define flush_output(w) (wp=(w),flush_window()) argument
347 register int w; /* bits before this table == (l * h) */ in huft_build() local
446 w = -l; /* bits decoded == (l * h) */ in huft_build()
462 while (k > w + l) in huft_build()
466 w += l; /* previous table always l bits */ in huft_build()
469 z = (z = g - w) > (unsigned)l ? l : z; /* upper limit on table size */ in huft_build()
470 if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ in huft_build()
509 j = i >> (w - l); /* (get around Turbo C bug) */ in huft_build()
517 r.b = (uch)(k - w); in huft_build()
534 f = 1 << (k - w); in huft_build()
[all …]
Dbitmap.c241 int w = 0; in __bitmap_weight() local
244 w += hweight_long(bitmap[k]); in __bitmap_weight()
247 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
249 return w; in __bitmap_weight()
713 unsigned int oldbit, w; in bitmap_remap() local
719 w = bitmap_weight(new, nbits); in bitmap_remap()
723 if (n < 0 || w == 0) in bitmap_remap()
726 set_bit(bitmap_ord_to_pos(new, n % w, nbits), dst); in bitmap_remap()
760 int w = bitmap_weight(new, bits); in bitmap_bitremap() local
762 if (n < 0 || w == 0) in bitmap_bitremap()
[all …]
Dchecksum.c77 unsigned int w = *(unsigned int *) buff; in do_csum() local
80 result += w; in do_csum()
81 carry = (w > result); in do_csum()
Dmd5.c10 #define MD5STEP(f, w, x, y, z, in, s) \ argument
11 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x)
Dbch.c190 uint32_t w, r[l+1]; in encode_bch() local
233 w = r[0]^cpu_to_be32(*pdata++); in encode_bch()
234 p0 = tab0 + (l+1)*((w >> 0) & 0xff); in encode_bch()
235 p1 = tab1 + (l+1)*((w >> 8) & 0xff); in encode_bch()
236 p2 = tab2 + (l+1)*((w >> 16) & 0xff); in encode_bch()
237 p3 = tab3 + (l+1)*((w >> 24) & 0xff); in encode_bch()
DKconfig.debug995 This feature enables slowpath testing for w/w mutex users by
998 will test all possible w/w mutex interface abuse with the
/lib/zlib_deflate/
Ddefutil.h290 #define put_short(s, w) { \ argument
291 put_byte(s, (uch)((w) & 0xff)); \
292 put_byte(s, (uch)((ush)(w) >> 8)); \