Home
last modified time | relevance | path

Searched defs:w (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/linux-3.3/include/asm-generic/bitops/
Dconst_hweight.h7 #define __const_hweight8(w) \ argument
17 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
18 #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16)) argument
19 #define __const_hweight64(w) (__const_hweight32(w) + __const_hweight32((w) >> 32)) argument
24 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) argument
25 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) argument
26 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) argument
27 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) argument
32 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w)) argument
33 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w)) argument
[all …]
Darch_hweight.h6 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
11 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
16 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
21 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/linux-3.3/arch/cris/include/arch-v32/arch/
Dbitops.h12 cris_swapnwbrlz(unsigned long w) in cris_swapnwbrlz()
24 cris_swapwbrlz(unsigned long w) in cris_swapwbrlz()
40 ffz(unsigned long w) in ffz()
50 __ffs(unsigned long w) in __ffs()
59 kernel_ffs(unsigned long w) in kernel_ffs()
/linux-3.3/arch/mips/include/asm/
Darch_hweight.h14 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
19 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
24 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
29 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/linux-3.3/arch/tile/include/asm/
Dbitops.h96 static inline int fls64(__u64 w) in fls64()
101 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
106 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
111 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
116 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/linux-3.3/lib/
Dhweight.c12 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32()
29 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16()
38 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8()
46 unsigned long __sw_hweight64(__u64 w) in __sw_hweight64()
/linux-3.3/net/ipv4/
Dtcp_westwood.c63 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_init() local
86 static void westwood_filter(struct westwood *w, u32 delta) in westwood_filter()
105 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_pkts_acked() local
118 struct westwood *w = inet_csk_ca(sk); in westwood_update_window() local
147 static inline void update_rtt_min(struct westwood *w) in update_rtt_min()
166 struct westwood *w = inet_csk_ca(sk); in westwood_fast_bw() local
183 struct westwood *w = inet_csk_ca(sk); in westwood_acked_count() local
221 const struct westwood *w = inet_csk_ca(sk); in tcp_westwood_bw_rttmin() local
228 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_event() local
/linux-3.3/arch/cris/include/arch-v10/arch/
Dbitops.h13 static inline unsigned long cris_swapnwbrlz(unsigned long w) in cris_swapnwbrlz()
29 static inline unsigned long cris_swapwbrlz(unsigned long w) in cris_swapwbrlz()
43 static inline unsigned long ffz(unsigned long w) in ffz()
68 static inline unsigned long kernel_ffs(unsigned long w) in kernel_ffs()
/linux-3.3/fs/xfs/
Dxfs_trans_space.h26 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
27 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
31 #define XFS_DAENTER_1B(mp,w) ((w) == XFS_DATA_FORK ? (mp)->m_dirblkfsbs : 1) argument
32 #define XFS_DAENTER_DBS(mp,w) \ argument
34 #define XFS_DAENTER_BLOCKS(mp,w) \ argument
36 #define XFS_DAENTER_BMAP1B(mp,w) \ argument
38 #define XFS_DAENTER_BMAPS(mp,w) \ argument
40 #define XFS_DAENTER_SPACE_RES(mp,w) \ argument
42 #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) argument
/linux-3.3/sound/soc/
Dsoc-dapm.c123 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget()
128 void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty()
175 static int soc_widget_read(struct snd_soc_dapm_widget *w, int reg) in soc_widget_read()
186 static int soc_widget_write(struct snd_soc_dapm_widget *w, int reg, int val) in soc_widget_write()
197 static int soc_widget_update_bits(struct snd_soc_dapm_widget *w, in soc_widget_update_bits()
261 static void dapm_set_path_status(struct snd_soc_dapm_widget *w, in dapm_set_path_status()
413 struct snd_soc_dapm_widget *w; in dapm_is_shared_kcontrol() local
434 static int dapm_new_mixer(struct snd_soc_dapm_widget *w) in dapm_new_mixer()
539 static int dapm_new_mux(struct snd_soc_dapm_widget *w) in dapm_new_mux()
624 static int dapm_new_pga(struct snd_soc_dapm_widget *w) in dapm_new_pga()
[all …]
/linux-3.3/arch/x86/include/asm/
Darch_hweight.h24 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
35 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
40 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
45 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/linux-3.3/kernel/
Drtmutex.h16 #define debug_rt_mutex_init_waiter(w) do { } while (0) argument
17 #define debug_rt_mutex_free_waiter(w) do { } while (0) argument
24 #define debug_rt_mutex_print_deadlock(w) do { } while (0) argument
25 #define debug_rt_mutex_detect_deadlock(w,d) (d) argument
26 #define debug_rt_mutex_reset_waiter(w) do { } while (0) argument
Daudit.h111 #define audit_put_watch(w) {} argument
112 #define audit_get_watch(w) {} argument
116 #define audit_watch_path(w) "" argument
117 #define audit_watch_compare(w, i, d) 0 argument
/linux-3.3/arch/m68k/include/asm/
Dmcfne.h29 #define BSWAP(w) (((w) << 8) | ((w) >> 8)) argument
30 #define RSWAP(w) (w) argument
75 #define BSWAP(w) (w) argument
78 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
88 #define BSWAP(w) (w) argument
91 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
99 #define BSWAP(w) (w) argument
102 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
202 unsigned short w, *buf; in ne2000_insw() local
228 unsigned short w, *buf; in ne2000_outsw() local
/linux-3.3/drivers/block/drbd/
Ddrbd_worker.c234 int w_read_retry_remote(struct drbd_conf *mdev, struct drbd_work *w, int cancel) in w_read_retry_remote()
301 int w_e_send_csum(struct drbd_conf *mdev, struct drbd_work *w, int cancel) in w_e_send_csum()
389 int w_resync_timer(struct drbd_conf *mdev, struct drbd_work *w, int cancel) in w_resync_timer()
511 struct drbd_work *w, int cancel) in w_make_resync_request()
670 static int w_make_ov_request(struct drbd_conf *mdev, struct drbd_work *w, int cancel) in w_make_ov_request()
721 int w_start_resync(struct drbd_conf *mdev, struct drbd_work *w, int cancel) in w_start_resync()
735 int w_ov_finished(struct drbd_conf *mdev, struct drbd_work *w, int cancel) in w_ov_finished()
744 static int w_resync_finished(struct drbd_conf *mdev, struct drbd_work *w, int cancel) in w_resync_finished()
766 struct drbd_work *w; in drbd_resync_finished() local
929 int w_e_end_data_req(struct drbd_conf *mdev, struct drbd_work *w, int cancel) in w_e_end_data_req()
[all …]
/linux-3.3/lib/mpi/
Dmpi-add.c36 int mpi_add_ui(MPI w, const MPI u, unsigned long v) in mpi_add_ui()
82 int mpi_add(MPI w, MPI u, MPI v) in mpi_add()
155 int mpi_sub_ui(MPI w, MPI u, unsigned long v) in mpi_sub_ui()
202 int mpi_sub(MPI w, MPI u, MPI v) in mpi_sub()
222 int mpi_addm(MPI w, MPI u, MPI v, MPI m) in mpi_addm()
229 int mpi_subm(MPI w, MPI u, MPI v, MPI m) in mpi_subm()
Dmpi-mul.c62 int mpi_mul_2exp(MPI w, MPI u, unsigned long cnt) in mpi_mul_2exp()
107 int mpi_mul(MPI w, MPI u, MPI v) in mpi_mul()
189 int mpi_mulm(MPI w, MPI u, MPI v, MPI m) in mpi_mulm()
Dmpiutil.c162 int mpi_set(MPI w, const MPI u) in mpi_set()
181 int mpi_set_ui(MPI w, unsigned long u) in mpi_set_ui()
195 MPI w = mpi_alloc(1); in mpi_alloc_set_ui() local
/linux-3.3/drivers/input/joystick/
Dwalkera0701.c66 static inline void walkera0701_parse_frame(struct walkera_dev *w) in walkera0701_parse_frame()
134 struct walkera_dev *w = handler_data; in walkera0701_irq_handler() local
178 struct walkera_dev *w; in timer_handler() local
188 struct walkera_dev *w = input_get_drvdata(dev); in walkera0701_open() local
196 struct walkera_dev *w = input_get_drvdata(dev); in walkera0701_close() local
201 static int walkera0701_connect(struct walkera_dev *w, int parport) in walkera0701_connect()
272 static void walkera0701_disconnect(struct walkera_dev *w) in walkera0701_disconnect()
/linux-3.3/arch/tile/lib/
Dchecksum.c57 unsigned int w = *(const unsigned int *)buff; in do_csum() local
73 unsigned long w = *(const unsigned long *)buff; in do_csum() local
84 unsigned int w = *(const unsigned int *)buff; in do_csum() local
/linux-3.3/arch/blackfin/include/asm/
Dbitops.h123 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
133 static inline unsigned int __arch_hweight64(__u64 w) in __arch_hweight64()
139 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
144 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
/linux-3.3/tools/perf/util/
Dhweight.c10 unsigned int hweight32(unsigned int w) in hweight32()
19 unsigned long hweight64(__u64 w) in hweight64()
/linux-3.3/include/linux/mtd/
Dcfi_endian.h50 #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-3.3/arch/arm/mach-omap1/
Dlcd_dma.c143 u16 w; in set_b1_regs() local
292 u16 w; in lcd_dma_irq_handler() local
356 u16 w; in omap_enable_lcd_dma() local
389 u16 w; in omap_setup_lcd_dma() local
407 u16 w; in omap_stop_lcd_dma() local
431 u16 w; in omap_init_lcd_dma() local
/linux-3.3/net/ipv6/
Dip6_fib.c61 struct fib6_walker_t w; member
94 #define FOR_WALKERS(w) list_for_each_entry(w, &fib6_walkers, lh) argument
96 static inline void fib6_walker_link(struct fib6_walker_t *w) in fib6_walker_link()
103 static inline void fib6_walker_unlink(struct fib6_walker_t *w) in fib6_walker_unlink()
272 static int fib6_dump_node(struct fib6_walker_t *w) in fib6_dump_node()
292 struct fib6_walker_t *w = (void*)cb->args[2]; in fib6_dump_end() local
315 struct fib6_walker_t *w; in fib6_dump_table() local
360 struct fib6_walker_t *w; in inet6_dump_fib() local
1086 struct fib6_walker_t *w; in fib6_repair_tree() local
1184 struct fib6_walker_t *w; in fib6_del_route() local
[all …]

12345678910>>...23