/linux-4.19.296/include/asm-generic/bitops/ |
D | const_hweight.h | 8 #define __const_hweight8(w) \ argument 10 ((!!((w) & (1ULL << 0))) + \ 11 (!!((w) & (1ULL << 1))) + \ 12 (!!((w) & (1ULL << 2))) + \ 13 (!!((w) & (1ULL << 3))) + \ 14 (!!((w) & (1ULL << 4))) + \ 15 (!!((w) & (1ULL << 5))) + \ 16 (!!((w) & (1ULL << 6))) + \ 17 (!!((w) & (1ULL << 7))))) 19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument [all …]
|
D | arch_hweight.h | 7 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument 9 return __sw_hweight32(w); in __arch_hweight32() 12 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument 14 return __sw_hweight16(w); in __arch_hweight16() 17 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument 19 return __sw_hweight8(w); in __arch_hweight8() 22 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument 24 return __sw_hweight64(w); in __arch_hweight64()
|
/linux-4.19.296/lib/ |
D | hweight.c | 14 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument 17 w -= (w >> 1) & 0x55555555; in __sw_hweight32() 18 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32() 19 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32() 20 return (w * 0x01010101) >> 24; in __sw_hweight32() 22 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32() 32 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument 34 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16() 41 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument 43 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8() [all …]
|
D | once.c | 14 static void once_deferred(struct work_struct *w) in once_deferred() argument 18 work = container_of(w, struct once_work, work); in once_deferred() 27 struct once_work *w; in once_disable_jump() local 29 w = kmalloc(sizeof(*w), GFP_ATOMIC); in once_disable_jump() 30 if (!w) in once_disable_jump() 33 INIT_WORK(&w->work, once_deferred); in once_disable_jump() 34 w->key = key; in once_disable_jump() 35 w->module = mod; in once_disable_jump() 37 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 | 23 DWunion uu, w; in __ashldi3() local 33 w.s.low = 0; in __ashldi3() 34 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3() 38 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3() 39 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3() 42 return w.ll; in __ashldi3()
|
D | lshrdi3.c | 24 DWunion uu, w; in __lshrdi3() local 34 w.s.high = 0; in __lshrdi3() 35 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3() 39 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3() 40 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3() 43 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 23 DWunion uu, w; in __ashrdi3() local 34 w.s.high = in __ashrdi3() 36 w.s.low = uu.s.high >> -bm; in __ashrdi3() 40 w.s.high = uu.s.high >> b; in __ashrdi3() 41 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3() 44 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()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_trans_space.h | 28 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument 29 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument 32 XFS_EXTENTADD_SPACE_RES(mp,w)) 35 #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ argument 36 (XFS_NEXTENTADD_SPACE_RES((mp), (b), (w)) + \ 39 #define XFS_DAENTER_1B(mp,w) \ argument 40 ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1) 41 #define XFS_DAENTER_DBS(mp,w) \ argument 42 (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0)) 43 #define XFS_DAENTER_BLOCKS(mp,w) \ argument [all …]
|
D | xfs_inode_fork.h | 42 #define XFS_IFORK_PTR(ip,w) \ argument 43 ((w) == XFS_DATA_FORK ? \ 45 ((w) == XFS_ATTR_FORK ? \ 57 #define XFS_IFORK_SIZE(ip,w) \ argument 58 ((w) == XFS_DATA_FORK ? \ 60 ((w) == XFS_ATTR_FORK ? \ 63 #define XFS_IFORK_FORMAT(ip,w) \ argument 64 ((w) == XFS_DATA_FORK ? \ 66 ((w) == XFS_ATTR_FORK ? \ 69 #define XFS_IFORK_FMT_SET(ip,w,n) \ argument [all …]
|
D | xfs_bit.h | 50 uint32_t w = (uint32_t)v; in xfs_lowbit64() local 53 if (w) { /* lower bits */ in xfs_lowbit64() 54 n = ffs(w); in xfs_lowbit64() 56 w = (uint32_t)(v >> 32); in xfs_lowbit64() 57 if (w) { in xfs_lowbit64() 58 n = ffs(w); in xfs_lowbit64()
|
/linux-4.19.296/include/linux/ceph/ |
D | mdsmap.h | 43 ceph_mdsmap_get_addr(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_addr() argument 45 if (w >= m->m_num_mds) in ceph_mdsmap_get_addr() 47 return &m->m_info[w].addr; in ceph_mdsmap_get_addr() 50 static inline int ceph_mdsmap_get_state(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_state() argument 52 BUG_ON(w < 0); in ceph_mdsmap_get_state() 53 if (w >= m->m_num_mds) in ceph_mdsmap_get_state() 55 return m->m_info[w].state; in ceph_mdsmap_get_state() 58 static inline bool ceph_mdsmap_is_laggy(struct ceph_mdsmap *m, int w) in ceph_mdsmap_is_laggy() argument 60 if (w >= 0 && w < m->m_num_mds) in ceph_mdsmap_is_laggy() 61 return m->m_info[w].laggy; in ceph_mdsmap_is_laggy()
|
/linux-4.19.296/crypto/ |
D | sm3_generic.c | 65 static void sm3_expand(u32 *t, u32 *w, u32 *wt) in sm3_expand() argument 72 w[i] = get_unaligned_be32((__u32 *)t + i); in sm3_expand() 75 tmp = w[i - 16] ^ w[i - 9] ^ rol32(w[i - 3], 15); in sm3_expand() 76 w[i] = p1(tmp) ^ (rol32(w[i - 13], 7)) ^ w[i - 6]; in sm3_expand() 80 wt[i] = w[i] ^ w[i + 4]; in sm3_expand() 83 static void sm3_compress(u32 *w, u32 *wt, u32 *m) in sm3_compress() argument 110 tt2 = gg(i, e, f, g) + h + ss1 + *w; in sm3_compress() 111 w++; in sm3_compress() 137 unsigned int w[68]; in sm3_transform() local 140 sm3_expand((u32 *)src, w, wt); in sm3_transform() [all …]
|
D | lrw.c | 160 struct skcipher_walk w; in post_crypt() local 166 err = skcipher_walk_virt(&w, subreq, false); in post_crypt() 168 while (w.nbytes) { in post_crypt() 169 unsigned int avail = w.nbytes; in post_crypt() 172 wdst = w.dst.virt.addr; in post_crypt() 179 err = skcipher_walk_done(&w, avail); in post_crypt() 189 scatterwalk_done(&w.out, 0, 1); in post_crypt() 190 sg = w.out.sg; in post_crypt() 191 offset = w.out.offset; in post_crypt() 213 struct skcipher_walk w; in pre_crypt() local [all …]
|
/linux-4.19.296/drivers/memory/ |
D | mvebu-devbus.c | 123 struct devbus_write_params *w) in devbus_get_timing_params() argument 180 &w->sync_enable); in devbus_get_timing_params() 190 &w->ale_wr); in devbus_get_timing_params() 195 &w->wr_low); in devbus_get_timing_params() 200 &w->wr_high); in devbus_get_timing_params() 210 struct devbus_write_params *w) in devbus_orion_set_timing_params() argument 224 (w->ale_wr & ORION_ALE_WR_MASK) << ORION_ALE_WR_SHIFT | in devbus_orion_set_timing_params() 225 (w->wr_low & ORION_WR_LOW_MASK) << ORION_WR_LOW_SHIFT | in devbus_orion_set_timing_params() 226 (w->wr_high & ORION_WR_HIGH_MASK) << ORION_WR_HIGH_SHIFT | in devbus_orion_set_timing_params() 231 ((w->ale_wr & ORION_ALE_WR_EXT_MASK) ? ORION_ALE_WR_EXT_BIT : 0) | in devbus_orion_set_timing_params() [all …]
|
/linux-4.19.296/include/linux/mtd/ |
D | cfi_endian.h | 50 #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) argument 51 #define _cfi_to_cpu(w, s, x) (cfi_host(s)?(x):_swap_to_cpu(w, s, x)) argument 52 #define _swap_to_cfi(w, s, x) (cfi_be(s)?cpu_to_be##w(x):cpu_to_le##w(x)) argument 53 #define _swap_to_cpu(w, s, x) (cfi_be(s)?be##w##_to_cpu(x):le##w##_to_cpu(x)) argument
|
/linux-4.19.296/include/video/ |
D | pm3fb.h | 226 #define PM3VideoOverlayWidth_WIDTH(w) (((w) & 0xfff) << 0) argument 555 #define PM3FBDestReadBufferWidth_Width(w) ((w) & 0x0fff) argument 612 #define PM3FBSourceReadBufferWidth_Width(w) ((w) & 0x0fff) argument 626 #define PM3FBSourceReadMode_WrapX(w) (((w) & 0xf) << 16) argument 627 #define PM3FBSourceReadMode_WrapY(w) (((w) & 0xf) << 20) argument 645 #define PM3FBWriteBufferWidth_Width(w) ((w) & 0x0fff) argument 690 #define PM3LBDestReadMode_Width(w) (((w) & 0xfff) << 12) argument 692 #define PM3LBReadFormat_DepthWidth(w) (((w) & 0x3) << 0) argument 693 #define PM3LBReadFormat_StencilWidth(w) (((w) & 0xf) << 2) argument 695 #define PM3LBReadFormat_FCPWidth(w) (((w) & 0xf) << 11) argument [all …]
|
/linux-4.19.296/drivers/xen/events/ |
D | events_fifo.c | 74 #define BM(w) (unsigned long *)((unsigned long)w & ~0x7UL) argument 75 #define EVTCHN_FIFO_BIT(b, w) \ argument 76 (((unsigned long)w & 0x4UL) ? (EVTCHN_FIFO_ ##b + 32) : EVTCHN_FIFO_ ##b) 80 #define BM(w) ((unsigned long *)(w)) argument 81 #define EVTCHN_FIFO_BIT(b, w) EVTCHN_FIFO_ ##b argument 229 event_word_t new, old, w; in clear_masked_cond() local 231 w = *word; in clear_masked_cond() 234 if (w & (1 << EVTCHN_FIFO_PENDING)) in clear_masked_cond() 237 old = w & ~(1 << EVTCHN_FIFO_BUSY); in clear_masked_cond() 239 w = sync_cmpxchg(word, old, new); in clear_masked_cond() [all …]
|
/linux-4.19.296/include/linux/ |
D | rcuwait.h | 27 static inline void rcuwait_init(struct rcuwait *w) in rcuwait_init() argument 29 w->task = NULL; in rcuwait_init() 32 extern void rcuwait_wake_up(struct rcuwait *w); 38 #define rcuwait_wait_event(w, condition) \ argument 47 rcu_assign_pointer((w)->task, current); \ 60 WRITE_ONCE((w)->task, NULL); \
|
D | nfsacl.h | 28 unsigned int w = 16; in nfsacl_size() local 29 w += max(acl_access ? (int)acl_access->a_count : 3, 4) * 12; in nfsacl_size() 31 w += max((int)acl_default->a_count, 4) * 12; in nfsacl_size() 32 return w; in nfsacl_size()
|
/linux-4.19.296/drivers/clk/samsung/ |
D | clk.h | 131 #define __MUX(_id, cname, pnames, o, s, w, f, mf) \ argument 140 .width = w, \ 144 #define MUX(_id, cname, pnames, o, s, w) \ argument 145 __MUX(_id, cname, pnames, o, s, w, 0, 0) 147 #define MUX_F(_id, cname, pnames, o, s, w, f, mf) \ argument 148 __MUX(_id, cname, pnames, o, s, w, f, mf) 172 #define __DIV(_id, cname, pname, o, s, w, f, df, t) \ argument 180 .width = w, \ 185 #define DIV(_id, cname, pname, o, s, w) \ argument 186 __DIV(_id, cname, pname, o, s, w, 0, 0, NULL) [all …]
|
/linux-4.19.296/drivers/parport/ |
D | parport_gsc.c | 142 unsigned char r, w; in parport_SPP_supported() local 153 w = 0xc; in parport_SPP_supported() 154 parport_writeb (w, CONTROL (pb)); in parport_SPP_supported() 162 if ((r & 0xf) == w) { in parport_SPP_supported() 163 w = 0xe; in parport_SPP_supported() 164 parport_writeb (w, CONTROL (pb)); in parport_SPP_supported() 167 if ((r & 0xf) == w) in parport_SPP_supported() 173 w = 0xaa; in parport_SPP_supported() 174 parport_gsc_write_data (pb, w); in parport_SPP_supported() 176 if (r == w) { in parport_SPP_supported() [all …]
|
/linux-4.19.296/include/trace/events/ |
D | asoc.h | 89 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 91 TP_ARGS(w, val), 94 __string( name, w->name ) 99 __assign_str(name, w->name); 109 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 111 TP_ARGS(w, val) 117 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 119 TP_ARGS(w, val) 125 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 127 TP_ARGS(w, val)
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-davinci.c | 167 u16 w; in davinci_i2c_reset_ctrl() local 169 w = davinci_i2c_read_reg(i2c_dev, DAVINCI_I2C_MDR_REG); in davinci_i2c_reset_ctrl() 171 w &= ~DAVINCI_I2C_MDR_IRS; in davinci_i2c_reset_ctrl() 173 w |= DAVINCI_I2C_MDR_IRS; in davinci_i2c_reset_ctrl() 175 davinci_i2c_write_reg(i2c_dev, DAVINCI_I2C_MDR_REG, w); in davinci_i2c_reset_ctrl() 428 u16 w; in i2c_davinci_xfer_msg() local 464 w = davinci_i2c_read_reg(dev, DAVINCI_I2C_IMR_REG); in i2c_davinci_xfer_msg() 466 w |= DAVINCI_I2C_IMR_RRDY; in i2c_davinci_xfer_msg() 468 w |= DAVINCI_I2C_IMR_XRDY; in i2c_davinci_xfer_msg() 469 davinci_i2c_write_reg(dev, DAVINCI_I2C_IMR_REG, w); in i2c_davinci_xfer_msg() [all …]
|