/lib/ |
D | hweight.c | 13 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() 30 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument 32 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16() 39 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument 41 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8() [all …]
|
D | once.c | 12 static void once_deferred(struct work_struct *w) in once_deferred() argument 16 work = container_of(w, struct once_work, work); in once_deferred() 24 struct once_work *w; in once_disable_jump() local 26 w = kmalloc(sizeof(*w), GFP_ATOMIC); in once_disable_jump() 27 if (!w) in once_disable_jump() 30 INIT_WORK(&w->work, once_deferred); in once_disable_jump() 31 w->key = key; in once_disable_jump() 32 schedule_work(&w->work); in once_disable_jump()
|
D | inflate.c | 171 #define flush_output(w) (wp=(w),flush_window()) argument 348 register int w; /* bits before this table == (l * h) */ in huft_build() local 447 w = -l; /* bits decoded == (l * h) */ in huft_build() 463 while (k > w + l) in huft_build() 467 w += l; /* previous table always l bits */ in huft_build() 470 z = (z = g - w) > (unsigned)l ? l : z; /* upper limit on table size */ in huft_build() 471 if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ in huft_build() 510 j = i >> (w - l); /* (get around Turbo C bug) */ in huft_build() 518 r.b = (uch)(k - w); in huft_build() 535 f = 1 << (k - w); in huft_build() [all …]
|
D | ashldi3.c | 11 DWunion uu, w; in __ashldi3() local 21 w.s.low = 0; in __ashldi3() 22 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3() 26 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3() 27 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3() 30 return w.ll; in __ashldi3()
|
D | lshrdi3.c | 11 DWunion uu, w; in __lshrdi3() local 21 w.s.high = 0; in __lshrdi3() 22 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3() 26 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3() 27 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3() 30 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 11 DWunion uu, w; in __ashrdi3() local 22 w.s.high = in __ashrdi3() 24 w.s.low = uu.s.high >> -bm; in __ashrdi3() 28 w.s.high = uu.s.high >> b; in __ashrdi3() 29 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3() 32 return w.ll; in __ashrdi3()
|
D | nodemask.c | 23 int w, bit = NUMA_NO_NODE; in node_random() local 25 w = nodes_weight(*maskp); in node_random() 26 if (w) in node_random() 28 get_random_int() % w, MAX_NUMNODES); in node_random()
|
D | muldi3.c | 53 DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; in __muldi3() local 55 w.s.high += ((unsigned long) uu.s.low * (unsigned long) vv.s.high in __muldi3() 58 return w.ll; in __muldi3()
|
D | bitmap.c | 258 int w = 0; in __bitmap_weight() local 261 w += hweight_long(bitmap[k]); in __bitmap_weight() 264 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight() 266 return w; in __bitmap_weight() 795 unsigned int oldbit, w; in bitmap_remap() local 801 w = bitmap_weight(new, nbits); in bitmap_remap() 805 if (n < 0 || w == 0) in bitmap_remap() 808 set_bit(bitmap_ord_to_pos(new, n % w, nbits), dst); in bitmap_remap() 841 int w = bitmap_weight(new, bits); in bitmap_bitremap() local 843 if (n < 0 || w == 0) in bitmap_bitremap() [all …]
|
D | checksum.c | 73 unsigned int w = *(unsigned int *) buff; in do_csum() local 76 result += w; in do_csum() 77 carry = (w > result); in do_csum()
|
D | bch.c | 196 uint32_t w, r[BCH_ECC_MAX_WORDS]; in encode_bch() local 243 w = r[0]^cpu_to_be32(*pdata++); in encode_bch() 244 p0 = tab0 + (l+1)*((w >> 0) & 0xff); in encode_bch() 245 p1 = tab1 + (l+1)*((w >> 8) & 0xff); in encode_bch() 246 p2 = tab2 + (l+1)*((w >> 16) & 0xff); in encode_bch() 247 p3 = tab3 + (l+1)*((w >> 24) & 0xff); in encode_bch()
|
D | logic_pio.c | 303 BUILD_LOGIC_IO(w, u16)
|
D | iov_iter.c | 1702 struct kvec w; in iov_iter_for_each_range() local 1708 w.iov_base = kmap(v.bv_page) + v.bv_offset; in iov_iter_for_each_range() 1709 w.iov_len = v.bv_len; in iov_iter_for_each_range() 1710 err = f(&w, context); in iov_iter_for_each_range() 1713 w = v; in iov_iter_for_each_range() 1714 err = f(&w, context);}) in iov_iter_for_each_range()
|
D | Kconfig.debug | 1170 This feature enables slowpath testing for w/w mutex users by 1173 will test all possible w/w mutex interface abuse with the
|
/lib/zstd/ |
D | huf_decompress.c | 143 U32 const w = huffWeight[n]; in HUF_readDTableX2_wksp() local 144 U32 const length = (1 << w) >> 1; in HUF_readDTableX2_wksp() 148 D.nbBits = (BYTE)(tableLog + 1 - w); in HUF_readDTableX2_wksp() 149 for (u = rankVal[w]; u < rankVal[w] + length; u++) in HUF_readDTableX2_wksp() 151 rankVal[w] += length; in HUF_readDTableX2_wksp() 539 U32 w, nextRankStart = 0; in HUF_readDTableX4_wksp() local 540 for (w = 1; w < maxW + 1; w++) { in HUF_readDTableX4_wksp() 542 nextRankStart += rankStats[w]; in HUF_readDTableX4_wksp() 543 rankStart[w] = curr; in HUF_readDTableX4_wksp() 553 U32 const w = weightList[s]; in HUF_readDTableX4_wksp() local [all …]
|
D | huf_compress.c | 247 const U32 w = huffWeight[n]; in HUF_readCTable_wksp() local 248 CTable[n].nbBits = (BYTE)(tableLog + 1 - w); in HUF_readCTable_wksp()
|
/lib/crypto/ |
D | aes.c | 91 static u32 mul_by_x(u32 w) in mul_by_x() argument 93 u32 x = w & 0x7f7f7f7f; in mul_by_x() 94 u32 y = w & 0x80808080; in mul_by_x() 100 static u32 mul_by_x2(u32 w) in mul_by_x2() argument 102 u32 x = w & 0x3f3f3f3f; in mul_by_x2() 103 u32 y = w & 0x80808080; in mul_by_x2() 104 u32 z = w & 0x40404040; in mul_by_x2()
|
D | des.c | 626 unsigned long a, b, c, d, w; in des_ekey() local 652 w = (a ^ c) | (b ^ d) | (rs[a] ^ c) | (b ^ rs[d]); in des_ekey() 663 w |= (a ^ c) | (b ^ d) | (rs[a] ^ c) | (b ^ rs[d]); in des_ekey() 696 return w; in des_ekey()
|
/lib/zlib_deflate/ |
D | defutil.h | 290 #define put_short(s, w) { \ argument 291 put_byte(s, (uch)((w) & 0xff)); \ 292 put_byte(s, (uch)((ush)(w) >> 8)); \
|